Alter database open fails with ORA-00600 kcratr_nab_less_than_odr

今天将灾备数据库拉起来的时候爆了一个ora-600的错误
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],
[48977], [415398], [415926], [], [], [], [], [], [], []


通过查mos知道有如下几种原因导致出现这个错误
There was a power failure causing logical corruption in controlfile

This Problem is caused by Storage Problem of the Database Files. 
The Subsystem (eg. SAN) crashed while the Database was open. 
The Database then crashed because the Database Files were not accessible anymore. 
This caused a lost Write into the Online RedoLogs and/or causing logical corruption in controlfile so Instance Recovery is not possible and raising the ORA-600

解决方法:
 Do cancel based reocvery, and apply 'current online redolog' manually
------------

SQL>startup mount ;

SQL>Show parameter control_files

Query 1
------------

SQL> select a.member, a.group#, b.status from v$logfile a ,v$log b where a.group#=b.group# and b.status='CURRENT' ;

Note down the name of the redo log

SQL> shutdown abort ;

Take a OS Level backup of the controlfile (This is to ensure we have a backup of current state of controlfile)

SQL> startup mount ;
SQL> recover database using backup controlfile until cancel ;

Enter location of redo log shown as current in Query 1 when prompted for recovery

Hit Enter

SQL> alter database open resetlogs ;



SQL> recover database  until cancel using backup controlfile;
ORA-00279: change 104591374629 generated at 09/28/2017 16:34:42 needed for
thread 1
ORA-00289: suggestion : /archive1/fxps_1_48977_902413745.dbf
ORA-00280: change 104591374629 for thread 1 is in sequence #48977




Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/oradata_d1/fxps/redo02.log
Log applied.
Media recovery complete.



SQL> alter database open RESETLOGS;


Database altered.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30338315/viewspace-2145580/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30338315/viewspace-2145580/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值