cancel
Showing results for 
Search instead for 
Did you mean: 

Homogenous System Copy

Former Member
0 Kudos

Hi Gurus,

I am facing a problem during the backup/restore phase in SAPINST for a system copy. I am getting the below error in sapinst.log

ALTER DATABASE OPEN

*

ERROR at line 1:

ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

ORA-01109: database not open

I have already perfrmed the Alter Database Open Resetlog and i am still getting error.

SQL> ALTER DATABASE OPEN RESETLOGS;

ALTER DATABASE OPEN RESETLOGS

*

ERROR at line 1:

ORA-01194: file 1 needs more recovery to be consistent

ORA-01110: data file 1: '/oracle/SID/sapdata1/system_1/system.data1'

SQL> recover database using backup controlfile until cancel;

ORA-00279: change 1164329738 generated at 03/09/2012 13:20:26 needed for thread

1

ORA-00289: suggestion : /oracle/SID/oraarch/SIDarch1_2_777474969.dbf

ORA-00280: change 1164329738 for thread 1 is in sequence #2

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

AUTO

ORA-00308: cannot open archived log

'/oracle/SID/oraarch/SIDarch1_2_777474969.dbf'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

ORA-00308: cannot open archived log

'/oracle/SID/oraarch/SIDarch1_2_777474969.dbf'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below

ORA-01194: file 1 needs more recovery to be consistent

ORA-01110: data file 1: '/oracle/SID/sapdata1/system_1/system.data1'

Can someone kindly advice and help me out on this ?

Edited by: K.Bala on Mar 9, 2012 11:02 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Bala,

Error message clearly says that, oracle unable to apply the archive log SIDarch1_2_777474969.dbf. Make sure archive log exists in the path with correct permissions.

Once again provide the command "recover database using backup controlfile until cancel" and provide necessary archive logs and center CANCELwhich should end with Media recovery cancelled.

now provide "Alter database open resetlogs"

You should be good.

Thanks,

Arjun

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Arjun, i have checked and both the oraarch file is missing. Is there anyway possible to recover them or can we bypass those missing files provided there is no way for us to recover them ?

Former Member
0 Kudos

You must apply those archive file to recover the database. You can use brtools to recover the archivelog files.

Refer to below links

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8c/09503e30a9d549e10000000a114084/content.htm

Former Member
0 Kudos

Hi Bala,

Don't you have the backup of those archive logs? If yes then you can restore the archive log and recover the database.

Regards,

Venkata S Pagolu