Active Duplicate with Spfile Clause fails with RMAN-5100 when Connecting to Auxiliary without Password using Wallet
(Doc ID 2422224.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
Active duplicate with spfile clause fails with RMAN-5100 while restoring spfile from target when connection to auxiliary is made without specifying password using wallet .Same works fine when spfile clause is removed.
Below is the script used for duplicate where connection to auxiliary is made without specifying password :
rman TARGET /@source AUXILIARY /@destination
DUPLICATE TARGET DATABASE TO ORCL FROM ACTIVE DATABASE
Truncated portion of Duplicate log :
contents of Memory Script:
backup as copy reuse
targetfile '/tech/oracle/dbhome/184.108.40.206.170814/dbs/orapworcl' auxiliary format
restore clone from service 'orcl' spfile to
sql clone "alter system set spfile= ''/tech/oracle/dbhome/220.127.116.11.170814/dbs/spfileorcl.ora''";
allocated channel: ORA_DISK_1
channel ORA_DISK_6: SID=802 device type=DISK
Finished backup at 07-JUN-18 >>>>>>>>>>>>>>>> password file copied successfully
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-03002: failure of Duplicate Db command at 06/07/2018 09:50:17
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-05100: not connected to auxiliary database with a password
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!