Skip to Main Content
  • Questions
  • Unable to open Database as redo log file seems missing

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, wizards.

Asked: July 07, 2017 - 7:19 am UTC

Last updated: July 16, 2017 - 7:27 am UTC

Version: 11.2.0.3.0

Viewed 10K+ times! This question is

You Asked

Hi Guys,

I am facing a serious issue with one of our databases as I am unable to open it. When I try to open the database, I get the following error-

SYS@omc> alter database open;
alter database open
*
ERROR at line 1:
ORA-00313: open failed for members of log group 3 of thread 1
ORA-00312: online log 3 thread 1: '/dboracle/orabase/oradata/omc/redo03.log'
ORA-27037: unable to obtain file status
HPUX-ia64 Error: 2: No such file or directory
Additional information: 3

SYS@omc>SELECT * FROM V$LOGFILE;
GROUP# STATUS MEMBER
------ ------- ----------------------------------
1 ONLINE /dboracle/orabase/oradata/omc/redo01.log
2 ONLINE /dboracle/orabase/oradata/omc/redo02.log
3 ONLINE /dboracle/orabase/oradata/omc/redo03.log

SYS@omc> !ls -ld /dboracle/orabase/oradata/omc/redo03.log
/dboracle/orabase/oradata/omc/redo03.log not found

Could you guys please suggest on this and let me know if you need any further information for analysis.

and Connor said...

See this link for getting the database open, but there's a good chance you might have some data loss.

https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1817039200346240329

If the database still will not open (a possibility) then there are some special parameters that can set (with the guidance of Support) that will let you forcibly open the database in a corrupted mode. You can then attempt to datapump unload the data and load it into a fresh database.

Rating

  (2 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Suggested steps got stuck in the middle

wizards bt12, July 10, 2017 - 9:53 am UTC

Hi,

Many thanks for your reply on this. However, as I tried to execute the steps mentioned in https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1817039200346240329

I came across the following error(The DB was mounted but not open):-

SYS@omc> recover database until cancel;
ORA-00283: recovery session canceled due to errors
ORA-16433: The database must be opened in read/write mode.

However, the issue here is I cannot open the DB, how can I execute the above query successfully.
Connor McDonald
July 16, 2017 - 7:27 am UTC

Time to speak to Support.

How to re-create a logfile

Abiven, July 17, 2017 - 10:29 am UTC


You seem to lost a logfile...It is a big issue you should first open a case at the oracle support.
If you cannot and don't matter of the recovery (and if you allow to lose data/transaction), and just want open the database as soon as possible.
You can try this:

ALTER DATABASE CLEAR LOGFILE GROUP 3;

If you are in Archive log mode :

ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3;

Best regards,
Jean Christophe Abiven.

More to Explore

Data Pump

All of the database utilities including Data Pump are explained in the Utilities guide.