My Oracle Support Banner

Active Duplicate with Spfile Clause fails with RMAN-5100 when Connecting to Auxiliary without Password using Wallet (Doc ID 2422224.1)

Last updated on APRIL 03, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

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 <new_db_unique_name> FROM ACTIVE DATABASE
PASSWORD FILE
SPFILE
SET DB_UNIQUE_NAME='<new_db_unique_name>'
exit;

...


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-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
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

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.