Last updated on OCTOBER 26, 2016
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Information in this document applies to any platform.
After putting database is backup mode and copying over the files and recreating the controlfile and applying several archivelogs to get beyond the database being in backup mode, an error was received when trying to open the database with resetlogs:
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/oracle/PRDDAT/DATA1/tables/PRDDAT.SYSTEM.data1.dbf'
The following queries resulted in:
select distinct(fhscn) from x$kcvfh;
just one value
select distinct(fhsta) from x$kcvfh;
only the value of 0
select distinct status from v$backup;
Also we looked at the create controlfile script, it has resetlogs in the creation. The recovery command he was using was:
recover database using backup controlfile;
Then several logs would be applied and then eventually cancel and try to open with resetlogs.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms