RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/19/2007 05:16:32
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-19625: error identifying file /datafile1.dbf
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 22: Invalid argument
Additional information: 2
ORA-01157: cannot identify/lock data file 1479 - see DBWR trace file
ORA-01110: data file 1479: '/mountpoint/
datafile2.dbf'
mv /mountpoint/ datafile2.dbf’ /mountpoint/datafile2.dbf
and then, change file name in the controlfile with the following command:
(make sure the standby_file_management is set to MANUAL on the standby).
When I tried to restore required archived log on the standby database from the backups (archived backups), the restored command failed with the following:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 12/20/2007 13:44:20
RMAN-20242: specification does not match any archive log in the recovery catalog
I lately realized that the missing archives are generated after creating the standby controlfile and obviously the standby controlfile was not having the information about these archived logs. (Backups were performed with nocatalog option).
Following is the workaround:
1. Create a catalog and register production database.
2. On standby, using the catalog (rman target / catalog). Now, standby can get the info about the backups through the catalog.
3. Restoring required archived logs.
Earlier, I have done dozens of DG configuration facing different challenges. Well, everything it’s a new challenge and learning experience.
Happy reading,
Jaffar