ORA-00312: online log 206 thread 2: ‘/u05/oradata/stdby/’
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Solution :
1-Mount the database.
SQL>STARTUP MOUNT
Database mounted.
2-Check the status of the logile to see whether it is current.
SELECT STATUS FROM V$LOG WHERE GROUP#=2;
STATUS
—————-
CURRENT
Note : If the status did not CURRENT then simply drop the log file by:
SQL>ALTER DATABASE DROP LOGFILE GROUP 2;
3-Add new Redo Log by :
SQL>ALTER DATABASE ADD LOGFILE GROUP 4 ‘u03/App/Oradata/redo3.log’ SIZE 50M;
4-Do Recover and Open Database Resetlog :
SQL>RECOVER DATABASE UNTIL CANCEL;
SQL>ALTER DATABASE OPEN RESETLOGS;
Enjoy
Osama Mustafa