Home » RDBMS Server » Backup & Recovery » ORA-01113: file 3 needs media recovery
ORA-01113: file 3 needs media recovery [message #168358] Thu, 20 April 2006 00:30 Go to next message
oradba16
Messages: 54
Registered: September 2005
Member
hi,
i am using oracle 9i on windows XPand my database is running in archive log mode

when i try to open the database i found system file needs media recovery,
the following error occurs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: datafile 1:'D:\ORACLE\ORADATA\SONA\SYSTEM01.dbf'

so i try to recover the system file by giving the following command and try to open the database but it once again shows the same error with different datafile that it needs recovery........

this is wat i did to recover:
SQL> recover datafile 'D:\ORACLE\ORADATA\SONA\SYSTEM01.DBF';
Media recovery complete.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 2 needs media recovery
ORA-01110: data file 2: 'D:\ORACLE\ORADATA\SONA\UNDOTBS01.DBF'

SQL> recover datafile 'D:\ORACLE\ORADATA\SONA\UNDOTBS01.DBF';
Media recovery complete.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 3 needs media recovery
ORA-01110: data file 3: 'D:\ORACLE\ORADATA\SONA\CWMLITE01.DBF'


SQL> recover datafile 'D:\ORACLE\ORADATA\SONA\CWMLITE01.DBF'
Media recovery complete.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 4 needs media recovery
ORA-01110: data file 4: 'D:\ORACLE\ORADATA\SONA\DRSYS01.DBF'


SQL> recover datafile 'D:\ORACLE\ORADATA\SONA\DRSYS01.DBF'
Media recovery complete.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01113: file 5 needs media recovery
ORA-01110: data file 5: 'D:\ORACLE\ORADATA\SONA\EXAMPLE01.DBF'
..............

wat to do now?
i hav control file backup.can i recover it by "recover database using backup control file until cancel" ?

any suggestions plz......
sorry itz my mistake that not having any backup.....
plz help me to solve this issue.....
Re: ORA-01113: file 3 needs media recovery [message #168409 is a reply to message #168358] Thu, 20 April 2006 04:41 Go to previous messageGo to next message
Frank Naude
Messages: 4581
Registered: April 1998
Senior Member
Instead of recovering the individual datafiles, just enter "RECOVER DATABASE;".

Best of luck - looks like you may need it!
Re: ORA-01113: file 3 needs media recovery [message #168564 is a reply to message #168358] Fri, 21 April 2006 00:11 Go to previous message
oradba16
Messages: 54
Registered: September 2005
Member
hi,
i had recovered each file individually and restarted the instance again and my databse is running.
thanks for everyone, helped me to solve this issue.
Previous Topic: Database export with different number of column
Next Topic: TSM with RMAN space issue
Goto Forum:
  


Current Time: Sun Nov 24 10:46:25 CST 2024