重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 91|回复: 0
打印 上一主题 下一主题

[Oracle] Database Crashe with ORA-16038/ORA-742 Errors

[复制链接]
跳转到指定楼层
楼主
发表于 7 天前 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
Database down with below errors ....

Thu Sep 17 08:58:18 2015
Errors in file ...trace\xxxx_ora_4376.trc:
ORA-16038: log 3 sequence# 534 cannot be archived
ORA-00742: Log read detects lost write in thread sequence block
ORA-00312: online log 3 thread 1: 'E:\ARCHIVELOGS\xxx\REDO03.LOG'
USER (ospid: 4376): terminating the instance due to error 16038
Thu Sep 17 08:58:18 2015
ARC0: STARTING ARCH PROCESSES
Thu Sep 17 08:58:19 2015
System state dump requested by (instance=1, osid=4376), summary=[abnormal instance termination].
System State dumped to trace file ...trace\xxxx_diag_3208.trc
Dumping diagnostic data in directory=[cdmp_20150917085819], requested by (instance=1, osid=4376), summary=[abnormal instance termination].
Thu Sep 17 08:58:21 2015
Instance terminated by USER, pid = 4376



原因:
REDO03.LOG was lost .

The ora-742 says there was a lost write to REDO03.LOG .


处理方法:
SQL> alter system dump logfile 'E:\ARCHIVELOGS\xxx\REDO03.LOG' validate;


Clear the log in order to enable the archival again


SQL> select group#,member from v$logfile;
SQL> alter database clear unarchived logfile group <group number>;

Should be group# 3 , if yes

After this ,  take a full backup, because the old one would not be useful anymore because of the lost of archive log sequence .

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-12-22 11:57 , Processed in 0.092834 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表