解決數據庫實例啟動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中配置的控制文件內容一致。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM