Tuesday, August 28, 2012

ORA-00322 ORA-00312

The Above error Appear In My Alert Log , I have Single Test DB , Sometimes the same error appear In Standby Database you don't follow the same Produce , i didn't find any document related to this error for single database so hope this will be useful 

  ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1 :
'/u01/app/oracle/flash_recovery_area/ORCL/onlinelog/o1_mf_3_79fz3gx8_.log'
ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1 :
'/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_79fz3g1v_.log'
Solution

Step-One :
conn / as sysdba

shutdown immediate ;

startup mount ;

Step-Two :
Recover database using backup controlfile;
 Note :
Provide path where your redo log file locate , in My case "/u01/app/oracle/oradata/ORCL/"

Step-three:
alter database open resetlogs;
shutdown immediate;
startup;


Thank you
Osama Mustafa

3 comments:

  1. very good you saved my life

    ReplyDelete
  2. ora-01113: file 1 needs media recovery

    ReplyDelete
  3. after that using given step got error "needs media recovery" please any idea to resolve this i have no backup database file
    my running project

    sayeed akhtar

    ReplyDelete