故障如下:
Mon Oct 22 19:49:27 2012
Trace dumping is performing id=[cdmp_20121022194927]
Errors in file /u01/oracle/diag/rdbms/tj/tj/trace/tj_cjq0_4048.trc (incident=120235):
ORA-00600: internal error code, arguments: [600], [ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/oracle/diag/rdbms/tj/tj/incident/incdir_120235/tj_cjq0_4048_i120235.trc
Errors in file /u01/oracle/diag/rdbms/tj/tj/trace/tj_m003_4038.trc (incident=120223):
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYS.PRVT_ADVISOR", line 6007
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-06512: at line 1
Flush retried for xcb 0xbed31658, pmd 0xbb0f4380
Doing block recovery for file 3 block 550
Resuming block recovery (PMON) for file 3 block 550
Block recovery from logseq 96, block 63 to scn 3945468
Recovery of Online Redo Log: Thread 1 Group 3 Seq 96 Reading mem 0
Mem# 0: /u01/oracle/oradata/tj/redo03.log
Block recovery completed at rba 96.68.16, scn 0.3945474
Errors in file /u01/oracle/diag/rdbms/tj/tj/trace/tj_m003_4038.trc (incident=120224):
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYS.PRVT_ADVISOR", line 6007
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
ORA-06512: at line 1
opidrv aborting process M003 ospid (4038_46936976460992) due to error ORA-600
Flush retried for xcb 0xbed31658, pmd 0xbb0f4380
Doing block recovery for file 3 block 550
Resuming block recovery (PMON) for file 3 block 550
Block recovery from logseq 96, block 63 to scn 3945468
Recovery of Online Redo Log: Thread 1 Group 3 Seq 96 Reading mem 0
Mem# 0: /u01/oracle/oradata/tj/redo03.log
Block recovery completed at rba 96.68.16, scn 0.3945474
Errors in file /u01/oracle/diag/rdbms/tj/tj/trace/tj_cjq0_4048.trc (incident=120236):
ORA-00600: internal error code, arguments: [4194], [31], [26], [], [], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [600], [ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
], [], [], [], [], [], [], [], [], [], []
Errors in file /u01/oracle/diag/rdbms/tj/tj/trace/tj_pmon_3950.trc (incident=120050):
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
Errors in file /u01/oracle/diag/rdbms/tj/tj/trace/tj_pmon_3950.trc:
ORA-00600: internal error code, arguments: [4194], [30], [24], [], [], [], [], [], [], [], [], []
PMON (ospid: 3950): terminating the instance due to error 472
Instance terminated by PMON, pid = 3950
处理方法如下:
因为ORA-600[4194]错误导致数据库无法打开,设置以下事件:
select FILE#,name from v$datafile; --查出是那个文件出问题了,日志得出是undo datafile 出问题。
SQL> alter system set event='10513 trace name context forever,level 2 : 10512 trace name context forever,level 1: 10511 trace name context forever,level 2: 10510 trace name context forever,level 1' scope=spfile;
S
System altered.
/
/* 10513事件用以阻止SMON在启动数据库后执行事务恢复(transaction recovery) */
/
/* 10512事件用以阻止SMON shrink rollback segment */
/
/* 10511事件用以阻止SMON check to cleanup undo dictionary */
/
/* 10500事件用以阻止SMON check to offline pending offline rollback segment */
S
SQL> alter system set undo_management=MANUAL scope=spfile;
S
System altered.
S
SQL> shutdown immediate;
O
ORA-03113: end-of-file on communication channel
S
SQL> startup mount;
O
ORACLE instance started.
T
Total System Global Area 2634022912 bytes
F
Fixed Size 2086288 bytes
V
Variable Size 2382367344 bytes
D
Database Buffers 234881024 bytes
R
Redo Buffers 14688256 bytes
D
Database mounted.
S
SQL> alter database open;
D
Database altered.
S
SQL>alter tablespace undotbs02 add datafile
'/u01/oracle/oradata/tj/undotbs02_1.dbf' size 1G;
SQL> alter system set undo_management=AUTO scope=spfile;
S
System altered.
S
SQL> alter system set undo_tablespace=undotbs02 scope=spfile;
S
System altered.
SQL> shutdown immediate;
D
Database closed.
D
Database dismounted.
O
ORACLE instance shut down.
S
SQL> startup mount;
O
ORACLE instance started.
Total System Global Area 2634022912 bytes
F
Fixed Size 2086288 bytes
V
Variable Size 2382367344 bytes
D
Database Buffers 234881024 bytes
R
Redo Buffers 14688256 bytes
D
Database mounted.
SQL> alter database open;
Database altered.