582.You are trying to recover your database. During the recovery process, you receive the following error:
ORA-00279: change 5033391 generated at 08/17/2008 06:37:40 needed for thread 1ORA-00289:
suggestion:
/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17
/o1_mf_1_11_%u_.arc
ORA-00280: change 5033391 for thread 1 is in sequence #11
ORA-00278: log
file ,,/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17
/o1_mf_1_10_4bj6wnqm_.arc no longer needed for this recovery Specify log:
{<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
,,/oracle01/flash_recovery_area/ORCL/archivelog/2008_08_17
/o1_mf_1_11_%u_.arc
ORA-27037: unable to obtain file status Linux Error: 2: No such file or directory Additional information: 3
How do you respond to this error? (Choose two.)
A. Restore the archived redo log that is missing and attempt recovery again.
B. Recovery is complete and you can open the database.
C. Recovery needs redo that is not available in any archived redo log. Attempt to apply an online redo log if available.
D. Recover the entire database and apply all archived redo logs again.
E. Recovery is not possible because an archived redo log has been lost.
Answer: AC
答案解析:
从以上错误可知,缺少归档日志。
恢复需要的归档日志以及使用联机日志来恢复。
[oracle@rtest ~]$ oerr ora 279
00279, 00000, "change %s generated at %s needed for thread %s"
// *Cause: The requested log is required to proceed with recovery.
// *Action: Please supply the requested log with "ALTER DATABASE RECOVER
// LOGFILE <file_name>" or cancel recovery with "ALTER DATABASE
// RECOVER CANCEL".
[oracle@rtest ~]$ oerr ora 280
00280, 00000, "change %s for thread %s is in sequence #%s"
// *Cause: This message helps to locate the redo log file with the
// specified change number requested by other messages.
// *Action: Use the information provided in this message to specify the
// required archived redo log files for other errors.
[oracle@rtest ~]$ oerr ora 278
00278, 00000, "log file '%s' no longer needed for this recovery"
// *Cause: The specified redo log file is no longer needed for the current
// recovery.
// *Action: No action required. The archived redo log file may be removed
// from its current location to conserve disk space, if needed.
// However, the redo log file may still be required for another
// recovery session in the future.
[oracle@rtest ~]$ oerr ora 289
00289, 00000, "suggestion : %s"
// *Cause: This message reports the next redo log filename that is needed,
// according to the initialization parameters LOG_ARCHIVE_DEST and
// LOG_ARCHIVE_FORMAT. This message assumes that LOG_ARCHIVE_DEST
// and LOG_ARCHIVE_FORMAT are the same now as when the required redo
// log file was archived.
// *Action: Consider using this filename for the next log needed for recovery.
[oracle@rtest ~]$ oerr ora 308
00308, 00000, "cannot open archived log '%s'"
// *Cause: The system cannot access a required archived redo log file.
// *Action: Check that the off line log exists, the storage device is
// online, and the archived file is in the correct location.
// Then attempt to continue recovery or restart the recovery
// session.