RMAN-06820: WARNING: failed to archive current log at primary database

RMAN-06820: WARNING: failed to archive current log at primary database
ORACLE error from target database:
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
ORA-17629: Cannot connect to the remote database server




Description - In a data guard environment backup of archivelog files takes backup of the current standby redo logfile also, that result a required online redo log switch on the primary database before backup of the current standby redo logfile.

because of this change, passwordfile authentication is required to have a successful redo log switch at the primary database.

In Oracle 11.2.0.4,  use rman target sys@<your tnsnames> instead of  rman target /

e.g. rman target sys@'(DESCRIPTION_LIST=(LOAD_BALANCE=off)(FAILOVER=on)(DESCRIPTION=(CONNECT_TIMEOUT=5)(TRANSPORT_CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=prod_host)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=testdb))))' catalog rman@rman

Refer bug for doc id: 1616074.1, with bug 8740124.

Comments