cancel
Showing results for 
Search instead for 
Did you mean: 

Help: ORA-01110

Enrico Venturi
Super Advisor

Help: ORA-01110

Hi guys,
I did a hot backup, I copied on the standby machine all the datafiles, the log files and the archive logs, but when I run

alter database recover cancel
*
ERROR at line 1:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 9 needs more recovery to be consistent
ORA-01110: data file 9: '/bpm/db/db06/temporary_data_01.dbf'

what's wrong?
5 REPLIES
TwoProc
Honored Contributor

Re: Help: ORA-01110

isn't that
alter database recover until cancel
?
We are the people our parents warned us about --Jimmy Buffett
Enrico Venturi
Super Advisor

Re: Help: ORA-01110

On the second machine I mount the database in exclusive mode, the I run
alter database recover automatic from '${ARCHIVE_AREA}' database until cancel using backup controlfile;
then I open the database with the resetlogs option, but I get the error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 9 needs more recovery to be consistent
ORA-01110: data file 9: '/bpm/db/db06/temporary_data_01.dbf'

Arturo Galbiati
Esteemed Contributor

Re: Help: ORA-01110

Ciao Enrico,
If I well remember I got teh same in the past and it was due to the fcat that of primary datbase soma operations were done using nologgong option.
This caused the error on primary.
I'm not sure about this because now I have no access to the server.
I suggest you to look for teh error on Oracle Metalink to be sure.
HTH,
Art
Arturo Galbiati
Esteemed Contributor

Re: Help: ORA-01110

ops!
typo: nologging option
Rgds,
Art
Patti Johnson
Respected Contributor

Re: Help: ORA-01110

After completing the hot backup of the primary database did you do 'alter tablespace end backup' for all tablespaces, then switch logs, then copy that log file to the standby and recover it as well.

If the datafile copies are made while the tablespace is in backup mode (hot backup) then you must be sure to end the backup and apply the archive log file that was created after all end backup statements are complete.