RMAN ACTIVE DUPLICATE USING NETWORK BACKUPSET FROM SERVICE FAILS IN 12C WITH ORA-12582: TNS:INVALID OPERATION (Doc ID 1987552.1)

Last updated on JUNE 27, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

 Rman Active Duplicate fails with below errors when using network backupset from service .

RMAN> run{
2> allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate auxiliary channel aux1 type disk;
allocate auxiliary channel aux2 type disk;
allocate auxiliary channel aux3 type disk;
allocate auxiliary channel aux4 type disk;
DUPLICATE TARGET DATABASE TO 'PRIMDUP'
PLUGGABLE DATABASE pdb1
FROM ACTIVE DATABASE
USING BACKUPSET
db_file_name_convert='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/primdup';
}

 

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/05/2015 22:57:52
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of IRESTORE command on aux1 channel at 03/05/2015 22:57:52
RMAN-10032: unhandled exception during execution of job step 1:
ORA-06512: at line 140
ORA-19583: conversation terminated due to error
ORA-19849: error while reading backup piece from service prim
ORA-12582: TNS:invalid operation
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 2512
RMAN-10035: exception raised in RPC:
ORA-19660: some files in the backup set could not be verified
ORA-19661: datafile 0 could not be verified
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 2619
RMAN-10031: RPC Error: ORA-19660 occurred during call to DBMS_BACKUP_RESTORE.RESTORECANCEL
RMAN-10035: exception raised in RPC:
ORA-19583: conversation terminated due to error
ORA-19849: error while reading backup piece from service prim
ORA-12582: TNS:invalid operation
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 2512
RMAN-10031: RPC Error: ORA-19583 occurred during call to DBMS_BACKUP_RESTORE.RESTOREBACKUPPIECE
DBGMISC: ENTERED krmkursr [22:57:52.462]
DBGMISC: EXITED krmkursr [22:57:52.463] elapsed time [00:00:00:00.000]

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms