ORA-00320 cannot read file header from log string of thread string
Cause The file is not available.
Action Restore the log file.
ORA-00320 无法从thread1的log1中读取文件头
原因:文件已丢失
解决方案:重新提取日志文件。
ORA-00321 log string of thread string, cannot update log file header
Cause Cannot write to the log file.
Action Restore access to the file.
ORA-00321: 无法更新日志的文件头
原因:无法写入该日志文件
解决方案:重新读取该日志文件
ORA-00312 online log string thread string: 'string'
Cause This message reports the file name for details of another message.
Action Other messages will accompany this message. See the associated messages for the appropriate action to take.
ORA-00312:联机日志错误
原因:消息内容错乱,为其他消息的相关描述。
解决方案:日志消息冲突。察看与相关动作匹配的消息。
ORA-00313 open failed for members of log group string of thread string
Cause The online log cannot be opened. The file may not be in the expected location.
Action Specify the correct redo log file or make the log available, if necessary. Also, see the accompanying messages.
ORA-00313: 日志组中数据文件丢失或出错
原因:日志组中的日志文件无法被打开。
解决方案:确保读取日志文件路径的正确性或重建日志文件。
案例一:获取Oracle错误信息——数据库和网站崩溃
错误描述:我使用的是Oracle 8.1.7.0.1,得到了如下的错误信息:
ORA-00320 can not read file header from log 1 thread 1
ORA-321 ORACLE_HOME Redo1.log
ORA-27091: skgfqio: unable to queue I/O
附加信息:我的操作系统是RedHat Linux ,我想知道如何进行修正才能让数据库和我们的网站再一次正常工作。
解决方案:你的数据库缺少了一个现在redo日志。要纠正这个问题,按照以下的步骤在SQL*Plus 或者 SVRMGRL 中进行如下操作:
1. CONNECT / AS SYSDBA
2. STARTUP MOUNT
3. RECOVER DATABASE UNTIL CANCEL;
4. CANCEL (at first prompt)
5. ALTER DATABASE OPEN RESETLOGS;
当你用RESETLOGS启动数据库的时候,它会重新创建丢失的在线redo日志文件。此时,立即关闭数据库,并且进行良好的备份!如果你不这样做的话,你就不能恢复过去的resetlogs操作。
