Link to home
Start Free TrialLog in
Avatar of systemsautomation
systemsautomationFlag for Pakistan

asked on

ORA-00322: log 2 of thread 1 is not current copy

Hi

My database running Oracle XE on Ubuntu crashed today. When I open it it gives following error.

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 3 needs media recovery
ORA-01110: data file 3: '/usr/lib/oracle/xe/oradata/XE/sysaux.dbf'


SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00322: log 2 of thread 1 is not current copy
ORA-00312: online log 2 thread 1:
'/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_2_54v6wwf0
_.log'


Please help my to recover.

- The database is in NOARCHIVELOG mode
- I don't have a backup
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

You can try a point in time recovery then open resetlogs:

http://www.orafaq.com/forum/t/36893/2/

If it opens, I would probably export the important schemas and recreate the database just in case.
ASKER CERTIFIED SOLUTION
Avatar of schwertner
schwertner
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial