ORA-00366: log string of thread string, checksum error in the file header ORACLE 报错 故障修复 远程处理

文档解释

ORA-00366: log string of thread string, checksum error in the file header

Cause: The file header for the redo log contains a checksum that does not match the value calculated from the file header as read from disk. This means the file header is corrupted

Action: Find and install correct version of log or reset logs.

这是一个Oracle数据库的报错,意思是在线程和日志字符串中,文件头的校验和错误。

官方解释

这是由于Redo Log记录中存在错误记录,引起重做日志文件头校验出错,而导致的ORA-00366错误。

常见案例

1. 我们经常在运行完使用shutdown immediate命令关闭数据库后,重启数据库时会发生ORA-00366错误。

2. 如果Redo Log记录受到损坏,也会出现这个错误。

正常处理方法及步骤

1. 使用shutdown abort

2. 重启数据库,并将REDO读取模式 “ARCHIVELOG”设置;

3. 备份当前的重做日志文件,以便以后恢复;

4. 用RMAN执行命令catalog start with xx_redoXX_log尝试将日志文件加入备份列表并将其应用到数据库;

5. 再次重新启动数据库;

6. 可以使用ALTER SYSTEM SWITCH LOGFILE命令更换系统重做日志文件。

香港美国云服务器首选后浪云,2H2G首月10元开通。
后浪云(www.IDC.Net)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。

THE END