笔记:一次ORA-00600 [kccfhb_3]问题的处理

报错信息

Fri Aug 11 11:36:58 2023
alter database mount
*************************************************************************
ATTENTION: The controlfile sequence# has now reached 4294967295 (0xffffffff),
           which is the architectural limit. Further controlfile updates
           are no longer possible. To resume normal database operation
           it is necessary to shutdown abort all instances and perform
           the steps described in Doc ID 20324049.8 at My Oracle Support
           to reset the controlfile sequence# to 1.
*************************************************************************
*************************************************************************
ATTENTION: The controlfile sequence# has now reached 4294967295 (0xffffffff),
           which is the architectural limit. Further controlfile updates
           are no longer possible. To resume normal database operation
           it is necessary to shutdown abort all instances and perform
           the steps described in Doc ID 20324049.8 at My Oracle Support
           to reset the controlfile sequence# to 1.
*************************************************************************
Errors in file /home/oracle/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_65967.trc  (incident=40166):
ORA-00600: internal error code, arguments: [kccfhb_3], [4294967295], [], [], [], [], [], [], [], [], [], []
Incident details in: /home/oracle/app/oracle/diag/rdbms/orcl/orcl/incident/incdir_40166/orcl_ora_65967_i40166.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
ORA-600 signalled during: alter database mount

根据mos文档20324049.8说明,触发的bug已修复(根据不同数据库版本打补丁即可),需要重建控制文件。因无备份,故手动新建控制文件。

重建控制文件示例:

CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 8192
    MAXINSTANCES 8
    MAXLOGHISTORY 292
LOGFILE
  GROUP 4 '/home/oracle/app/oracle/oradata/orcl/redo01.log'  SIZE 100M BLOCKSIZE 512,
  GROUP 5 '/home/oracle/app/oracle/oradata/orcl/redo02.log'  SIZE 100M BLOCKSIZE 512,
  GROUP 6 '/home/oracle/app/oracle/oradata/orcl/redo03.log'  SIZE 100M BLOCKSIZE 512,
  GROUP 7 '/home/oracle/app/oracle/oradata/orcl/redo04.log'  SIZE 100M BLOCKSIZE 512
DATAFILE
  '/home/oracle/app/oracle/oradata/orcl/MES_DATA.dbf',
  '/home/oracle/app/oracle/oradata/orcl/sysaux01.dbf',
  '/home/oracle/app/oracle/oradata/orcl/system01.dbf',
  '/home/oracle/app/oracle/oradata/orcl/undotbs01.dbf',
  '/home/oracle/app/oracle/oradata/orcl/users01.dbf',
  '/home/oracle/app/oracle/oradata/orcl/WMS_DATA.dbf'
CHARACTER SET ZHS16GBK
;

启动数据库以后,若报错:

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/home/oracle/app/oracle/oradata/orcl/system01.dbf'

进行恢复,然后继续启动,直至可以正常启动。(仅适用于只有控制文件损坏的情况,日志等皆没问题)

SQL> recover datafile 1 recovery;
ORA-00905: missing keyword


SQL> recover datafile 1;
Media recovery complete.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 2 needs media recovery
ORA-01110: data file 2: '/home/oracle/app/oracle/oradata/orcl/sysaux01.dbf'

你可能感兴趣的:(笔记,oracle,重建控制文件,kccfhb_3,ORA-00600)