久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

霍鐵明的dba生活 | ORA-00205 error in identifying co...

 Delly2001 2010-12-29
ORA-00205 error in identifying control file 問題解決一例
===========================================================

在啟動數(shù)據(jù)庫的時候,報ORA-000205錯誤,詳細(xì)錯誤信息如下:

idle> startup
ORACLE instance started.

Total System Global Area 209715200 bytes
Fixed Size 1218532 bytes
Variable Size 109053980 bytes
Database Buffers 92274688 bytes
Redo Buffers 7168000 bytes
ORA-00205: error in identifying control file, check alert log for more info

經(jīng)過檢查alert.log,,發(fā)現(xiàn)如下內(nèi)容:


ALTER DATABASE MOUNT
Fri Feb 12 19:03:53 2010
Starting background process ASMB
ASMB started with pid=17, OS id=23258
Fri Feb 12 19:03:53 2010
ORA-00202: control file: '+DATA/cnhtm/controlfile/control01.dbf'
ORA-17503: ksfdopn:2 Failed to open file +DATA/cnhtm/controlfile/control01.dbf
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15055: unable to connect to ASM instance
ORA-15055: unable to connect to ASM instance
Fri Feb 12 19:03:57 2010

確認(rèn)是因?yàn)锳SM實(shí)例錯誤導(dǎo)致數(shù)據(jù)庫實(shí)例無法啟動,下面著手解決ASM實(shí)例問題:

啟動ASM實(shí)例:

ora_test@oracle[/oracle/app/10.1/dbs]> export ORACLE_SID=+ASM

ora_test@oracle[/oracle/app/10.1/dbs]> sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 12 19:14:12 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
idle> startup
ASM instance started

Total System Global Area 79691776 bytes
Fixed Size 1217812 bytes
Variable Size 53308140 bytes
ASM Cache 25165824 bytes
ORA-15110: no diskgroups mounted

經(jīng)過檢查,發(fā)現(xiàn)ASM的參數(shù)中沒有了asm_diskgroups參數(shù),,增加

asm_diskgroups=DATA

修改后的asm的參數(shù)文件為:

ora_test@oracle[/oracle/app/10.1/dbs]> cat $ORACLE_HOME/dbs/init+ASM.ora
instance_type=asm
instance_name=+ASM
asm_diskgroups=DATA

然后再重啟asm實(shí)例,,能夠正常啟動

ora_test@oracle[/oracle/app/10.1/dbs]> sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 12 19:16:38 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
idle> startup pfile='?/dbs/init+ASM.ora'
ASM instance started

Total System Global Area 79691776 bytes
Fixed Size 1217812 bytes
Variable Size 53308140 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted

用pfile生成spfile

idle> create spfile from pfile;

File created.

idle>

在asm實(shí)例正常啟動之后,,數(shù)據(jù)庫實(shí)例也能夠正常啟動了

ora_test@oracle[/oracle/app/10.1/dbs]> export ORACLE_SID=cnhtm

ora_test@oracle[/oracle/app/10.1/dbs]> sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 12 19:17:20 2010

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

idle> shutdown immediate
ORA-01507: database not mounted


ORACLE instance shut down.
idle> startup
ORACLE instance started.

Total System Global Area 209715200 bytes
Fixed Size 1218532 bytes
Variable Size 109053980 bytes
Database Buffers 92274688 bytes
Redo Buffers 7168000 bytes
Database mounted.
Database opened.

--end--

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,,所有內(nèi)容均由用戶發(fā)布,,不代表本站觀點(diǎn),。請注意甄別內(nèi)容中的聯(lián)系方式,、誘導(dǎo)購買等信息,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,,請點(diǎn)擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多