|
|
|
|
Re: Recovery - Last Resort Options [message #488895 is a reply to message #488870] |
Wed, 12 January 2011 01:31 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You could set
_allow_reset_logs_corruption=true
and then mount the database and clear your logfile groups. You'll be able to open your database then. But I would never recommend that for anything other than a real emergency because you might have corrupted data (or even corrupted daa dictionary) if the deletion of the logs occurred while a transaction was in progress.
|
|
|
Re: Recovery - Last Resort Options [message #489000 is a reply to message #488895] |
Wed, 12 January 2011 16:54 |
|
daragaaz
Messages: 6 Registered: January 2011 Location: US
|
Junior Member |
|
|
Current status:
I've set _allow_reset_logs_corruption = true in init.ora.
Created a control file with the following script:
create controlfile set database "PCBPROD" resetlogs
logfile
group 1 '/u00/oracle/oradata/PCBPROD/redo01.log' size 50M,
group 2 '/u00/oracle/oradata/PCBPROD/redo02.log' size 50M,
group 3 '/u00/oracle/oradata/PCBPROD/redo03.log' size 50M
datafile
'/u00/oracle/oradata/PCBPROD/alliance_data01',
'/u00/oracle/oradata/PCBPROD/alliance_indx01',
'/u00/oracle/oradata/PCBPROD/impdata01',
'/u00/oracle/oradata/PCBPROD/impindex01',
'/u00/oracle/oradata/PCBPROD/sysaux01.dbf',
'/u00/oracle/oradata/PCBPROD/system01.dbf',
'/u00/oracle/oradata/PCBPROD/undotbs01.dbf',
'/u00/oracle/oradata/PCBPROD/users01.dbf';
I still get this:
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: '/u00/oracle/oradata/PCBPROD/system01.dbf'
So I try:
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 9470753 generated at 01/10/2011 16:18:51 needed for thread 1
ORA-00289: suggestion : /u06/oracle/oradata/PCBPROD/1_763_698928466.arc
ORA-00280: change 9470753 for thread 1 is in sequence #763
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'/u06/oracle/oradata/PCBPROD/1_763_698928466.arc'
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: '/u00/oracle/oradata/PCBPROD/system01.dbf'
|
|
|
|
|
|
|
Re: Recovery - Last Resort Options [message #489005 is a reply to message #489004] |
Wed, 12 January 2011 17:41 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>Am I just at the point where its time to reinstall?
Restore DEV from most recent backup of PROD
research SCN & how "(John - rolled back to previous control files. Smile )" is an exercise in futility
|
|
|