联系:手机/微信(+86 17813235971) QQ(107644445)
标题:ORA-00470: LGWR process terminated with error
作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]
有客户win 10.2.0.1数据库由于断电之后无法正常启动,报ORA-00470错误
SQL> startup mount; ORACLE 例程已经启动。 Total System Global Area 293601280 bytes Fixed Size 1248600 bytes Variable Size 92275368 bytes Database Buffers 192937984 bytes Redo Buffers 7139328 bytes 数据库装载完毕。 SQL> recoer database; SQL> recover database; 完成介质恢复。 SQL> alter database open; alter database open * 第 1 行出现错误: ORA-00470: LGWR 进程因错误而终止
查看alert日志发现报ORA-600 kcrfwfl_nab错误,导致后台进程异常
Mon May 13 10:38:52 2019 alter database open Mon May 13 10:38:52 2019 Thread 1 opened at log sequence 1699 Current log# 3 seq# 1699 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACLE\REDO03.LOG Successful open of redo thread 1 Mon May 13 10:38:52 2019 MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set Mon May 13 10:38:52 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_lgwr_2308.trc: ORA-00600: internal error code, arguments: [kcrfwfl_nab], [4294967295], [102401], [], [], [], [], [] Mon May 13 10:38:53 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_lgwr_2308.trc: ORA-00600: internal error code, arguments: [kcrfwfl_nab], [4294967295], [102401], [], [], [], [], [] Mon May 13 10:38:53 2019 LGWR: terminating instance due to error 470 Mon May 13 10:38:53 2019 ORA-470 signalled during: alter database open... Mon May 13 10:38:53 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_pmon_2928.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_reco_3224.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_smon_3064.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_ckpt_3640.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_dbw0_1976.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_mman_2356.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\bdump\oracle_psp0_3876.trc: ORA-00470: LGWR process terminated with error Mon May 13 10:38:54 2019 Instance terminated by LGWR, pid = 2308
尝试启动数据库到upgrade模式,报ORA-600 2758错误
SQL> alter database open upgrade; alter database open upgrade * 第 1 行出现错误: ORA-00600: 内部错误代码, 参数: [2758], [3], [4294967295], [102400], [10], [],[], []
对应alert日志报错
Mon May 13 10:45:50 2019 Completed redo application Mon May 13 10:45:50 2019 Completed crash recovery at Thread 1: logseq 1699, block 4294967295, scn 56807170 0 data blocks read, 0 data blocks written, 0 redo blocks read Mon May 13 10:45:50 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\udump\oracle_ora_3220.trc: ORA-00600: 内部错误代码, 参数: [2758], [3], [4294967295], [102400], [10], [], [], [] Mon May 13 10:45:51 2019 Aborting crash recovery due to error 600 Mon May 13 10:45:51 2019 Errors in file d:\oracle\product\10.2.0\db_1\admin\oracle\udump\oracle_ora_3220.trc: ORA-00600: 内部错误代码, 参数: [2758], [3], [4294967295], [102400], [10], [], [], [] ORA-600 signalled during: alter database open upgrade...
通过上述相关报错分析,以及ORA-600 kcrfwfl_nab和ORA-600 2758报错的相关资料查询,确定是由于redo和ctl损坏导致,通过强制拉库,恢复成功
SQL> recover database; 完成介质恢复。 SQL> alter database open resetlogs; 数据库已更改。