
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-00742: Log read detects lost write in thread <thread#> sequence <seq#> block <Block#>
ORA-00312: online log <log#> thread <thread#>: '+<Diskgroup>/<DBName>/redologfile.log'
While trying to perform clear unarchived logfile as mentioned in document
Doc ID 2064718.1, it fails with below error.
SQL> alter database clear unarchived logfile group <group#>;
alter database clear unarchived logfile group <group#>
*
ERROR at line 1:
ORA-01624: log <group#> needed for crash recovery of instance <Instance> (thread <thread#>)
ORA-00312: online log <log#> thread <thread#>: '+<Diskgroup>/<DBName>/redologfile.log'
CHANGES
CAUSE
lost write on online redo log file.
archive failed for online redo log file due to lost write on a block has been identified
SOLUTION
Recreate controlfile using trace output with noresetlogs option and then mount the database
Do a fake recovery using RMAN and then open database.
RMAN> recover database;
RMAN> alter database open;
Once the database is opened, clear the corrupted redo log file using the below statement
SQL> alter database clear unarchived logfile group <group#>;
Make sure the issue that caused the lost write is fixed and take a full backup of the database.
REFERENCES
- Database Crashe with ORA-16038/ORA-742 Errors
- How to Recreate a Controlfile
未找到您要查找的产品?
文档显示 https://support.oracle.com/epmos/faces/SearchDocDisplay?_...
第2页 共2页 2024/12/20 12:57
相关文档
评论