Oracle归档日志损坏处理

1、前台启动数据库报错

SQL> alter database open;

alter database open

*

ERROR at line 1:

ORA-03113: end-of-file on communication channel

Process ID: 18809

Session ID: 1 Serial number: 50801

2、后台alter$ORACLE_SID.log 报错

alter database open

2017-09-16T21:38:38.117453+08:00

Ping without log force is disabled:

  instance mounted in exclusive mode.

Endian type of dictionary set to little

2017-09-16T21:38:38.136378+08:00

Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lgwr_18769.trc:

ORA-00313: open failed for members of log group 7 of thread 1

ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/ORCL/onlinelog/redolog12.log'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 7

ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/ORCL/onlinelog/redolog8.log'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 7

2017-09-16T21:38:38.136457+08:00

Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_lgwr_18769.trc:

ORA-00313: open failed for members of log group 7 of thread 1

ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/ORCL/onlinelog/redolog12.log'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 7

ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/ORCL/onlinelog/redolog8.log'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 7

2017-09-16T21:38:38.137207+08:00

Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_18809.trc:

ORA-00313: open failed for members of log group 1 of thread

ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/ORCL/onlinelog/redolog8.log'

ORA-00312: online log 7 thread 1: '/u01/app/oracle/oradata/ORCL/onlinelog/redolog12.log'

2017-09-16T21:38:38.152526+08:00

TT00: Gap Manager starting (PID:19017)

2017-09-16T21:38:38.168038+08:00

USER (ospid: 18809): terminating the instance due to error 313

2017-09-16T21:38:38.253720+08:00

System state dump requested by (instance=1, osid=18809), summary=[abnormal instance termination].

System State dumped to trace file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_diag_18751_20170916213838.trc

2017-09-16T21:38:38.393632+08:00

Dumping diagnostic data in directory=[cdmp_20170916213838], requested by (instance=1, osid=18809), summary=[abnormal instance termination].

2017-09-16T21:38:39.702685+08:00

Instance terminated by USER, pid = 18809

处理办法:

清除归档日志

alter database clear unarchived logfile group 7;

--alter database clear unarchived logfile group 2;

--alter database clear unarchived logfile group 3;

alter database open;

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容