解決數據庫實例啓動ORA-00205或控制文件損壞錯誤

 ORA-00205: error in identifying control file, check alert log for more info

翻譯爲:控制文件錯誤,請檢查警報日誌中獲得更多信息

 

通過:/opt/oracle/diag/rdbms/ora11g/ora11g/alert/log.xml文件中找出實例啓動日誌

裏面會有如下信息:

<msg time='2011-11-10T09:55:51.643+08:00' org_id='oracle' comp_id='rdbms'
 client_id='' type='UNKNOWN' level='16'
 module='MMON_SLAVE' pid='13970'>
 <txt>Errors in file /opt/oracle/diag/rdbms/ora11g/ora11g/trace/ora11g_m000_13970.trc:
ORA-00210: cannot open the specified control file
ORA-00202: control file: &apos;/opt/oracle/oradata/ora11g/control03.ctl&apos;
ORA-27048: skgfifi: file header information is invalid
ORA-00210: cannot open the specified control file
ORA-00202: control file: &apos;/opt/oracle/oradata/ora11g/control02.ctl&apos;
ORA-27048: skgfifi: file header information is invalid
 </txt>
</msg>

裏面有提示control02.ctl與control03.ctl兩個控制文件錯誤

再找到/opt/oracle/diag/rdbms/ora11g/ora11g/trace/ora11g_m000_13970.trc跟蹤文件

裏面有如下信息:

kcidr_process_controlfile_error:
 IO Check was called but no error was found
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/opt/oracle/oradata/ora11g/control03.ctl'
ORA-27048: skgfifi: file header information is invalid
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/opt/oracle/oradata/ora11g/control02.ctl'
ORA-27048: skgfifi: file header information is invalid

裏面提示無法正常打開兩個控制文件。

 

針對如上信息,可能是由於數據庫的非正常關閉而導致控制文件被損壞。

可選擇如下兩種修改方式:

1、直接拷貝control01.ctl文件進行覆蓋control02.ctl與control03.ctl文件

2、從其它正常的oracle環境中拷貝控制文件進行覆蓋。

 

實例裝載之後可通過“show parameter spfile;”查詢出oracle加載的參數文件,我這裏是spfileora11g.ora。

實例正常啓動後,可通過“select * from v$controlfile;”查詢這個視圖,這裏面的控制文件均與spfileora11g.ora中配置的控制文件內容一致。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章