I made changes, then reloaded the listener services and no luck.Always these are the basic thumb signs.
connected to target database: PATRIADB (DBID=2365902769)So your target and auxliary have the same name....
connected to auxiliary database: PATRIADB (not mounted)
sqlplus sys/<pwd>@<aux> as sysdbaIf not check and fix your tns and listener setup.
RMAN-03002: failure of Duplicate Db command at 06/13/2011 13:25:01
RMAN-06174: not connected to auxiliary database
RMAN-03015: error occurred in stored script Memory Script
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
well..FROM TARGET database ( where script is running);;I always suggest to run DUPLICATE ONLY from Auxiliary instance. Not from target/source server.
Oracle instance shut downBecause if you connect to auxiliary instance from other server remotly, Mostly it fails whenever oracle bounces the AUX database(due to internal scripts).
released channel: prmy1
$ rman target sys/****@prod auxiliary /
RMAN> duplicate target database to 'aux';Thanks.