cannot start my 10g database on RAC after point in time recovery using RMAN. [message #419858] |
Tue, 25 August 2009 15:00 |
alexberi
Messages: 16 Registered: May 2009
|
Junior Member |
|
|
I cannot start my 10g database on SUN after point in time recovery using RMAN.
In alert log can see for each datafile errors like :
Errors in file /u01/oracle/admin/ORCL/udump/orcl1_ora_28201.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
ORA-01110: data file 6: '+DGDB/blue_auto_indx01.dbf'
Error 1177 happened during db open, shutting down database
USER: terminating instance due to error 1177
I used next RMAN commands and there was no error during restore:
RMAN> run
2> {
3> set until time ="to_date('08/18/2009 15:00:00','mm/dd/yyyy hh24:mi:ss')";
4> RESTORE DATABASE ;
5> RECOVER DATABASE ;
6> }
SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Somehow I tried to restore controlfile to the time of the recovery:
RMAN> restore controlfile until time = "to_date('08/18/2009 15:00:00','mm/dd/yyyy hh24:mi:ss')" validate;
Starting restore at 25-AUG-09
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/25/2009 19:58:54
RMAN-20207: UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time
When I do list incarnation I see current is more recent than August 08, time when I recoverd the datafiles:
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 1 ORCL 1222317784 PARENT 1 04-JUN-07
2 2 ORCL 1222317784 PARENT 533217 10-AUG-09
3 3 ORCL 1222317784 PARENT 4428470 12-AUG-09
4 4 ORCL 1222317784 CURRENT 5389938 25-AUG-09
Please help me on this.
I have database working with ASM, in archive log mode and with flash recovery area.
|
|
|
|
Re: cannot start my 10g database on RAC after point in time recovery using RMAN. [message #419862 is a reply to message #419859] |
Tue, 25 August 2009 15:23 |
alexberi
Messages: 16 Registered: May 2009
|
Junior Member |
|
|
1) Thanks alot, but you can imagine I saw the error message.
But please tell me how to restore the controlfile.
2) I have control file (and all database files) on a RAC ASM storage with two nodes. Is it not possible to fix the problem without recreate of control file?
3) Also can you tell me what is the problem with my RMAN restore script? I did not get any error when running the script, but ALTER DATABASE OPEN RESETLOGS make my database not to start anymore.
[Updated on: Tue, 25 August 2009 15:28] Report message to a moderator
|
|
|
|
Re: cannot start my 10g database on RAC after point in time recovery using RMAN. [message #419872 is a reply to message #419864] |
Tue, 25 August 2009 17:11 |
alexberi
Messages: 16 Registered: May 2009
|
Junior Member |
|
|
Thanks alot.
Can you tell me what is wrong with my restore commands?
Maybe I must include RMAN commands to restore also control file?
Something like:
RMAN> run{
set until time 'Apr 12 2009 11:05:00';
restore controlfile to '/usr/local/oracle/local/rman/recover/ctl/cntrlTEMP.dbf';
replicate controlfile from '/usr/local/oracle/local/rman/recover/ctl/cntrlTEMP.dbf';
sql "alter database mount";
restore database;
recover database;
sql "alter database open resetlogs";
}
|
|
|
|
Re: cannot start my 10g database on RAC after point in time recovery using RMAN. [message #419904 is a reply to message #419882] |
Wed, 26 August 2009 02:31 |
alexberi
Messages: 16 Registered: May 2009
|
Junior Member |
|
|
Dictionary check beginning
Tue Aug 25 22:40:02 2009
Errors in file /u01/oracle/admin/ORCL/udump/orcl1_ora_16790.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
ORA-01110: data file 6: '+DGDB/blue_auto_indx01.dbf'
Error 1177 happened during db open, shutting down database
USER: terminating instance due to error 1177
Tue Aug 25 22:40:02 2009
Errors in file /u01/oracle/admin/ORCL/bdump/orcl1_lms1_16396.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
Tue Aug 25 22:40:02 2009
Errors in file /u01/oracle/admin/ORCL/bdump/orcl1_lms2_16409.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
Tue Aug 25 22:40:02 2009
Errors in file /u01/oracle/admin/ORCL/bdump/orcl1_lms3_16413.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
Tue Aug 25 22:40:02 2009
Errors in file /u01/oracle/admin/ORCL/bdump/orcl1_lms0_16379.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
Tue Aug 25 22:40:02 2009
Errors in file /u01/oracle/admin/ORCL/bdump/orcl1_lmd0_16364.trc:
ORA-01177: data file does not match dictionary - probably old incarnation
Instance terminated by USER, pid = 16790
ORA-1092 signalled during: ALTER DATABASE OPEN...
Tue Aug 25 22:42:16 2009
|
|
|