问题现象:
[oracle@linfy1 admin]$ rman target / auxiliary sys/oracle@STANDBY1
Starting backup at 01-MAR-15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=29 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=30 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=125 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/01/2015 10:36:46
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/01/2015 10:36:46
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12154: TNS:could not resolve the connect identifier specified
ORA-17629: Cannot connect to the remote database server
问题原因:
主备库的tnsnames.ora文件的配置不正确
解决方案
1、在Target Server端添加到Auxiliary DB的tnsnames.ora,即与Auxiliary server端使用相同的tnsnames entry
2、主备库的tnsnames.ora文件要配置正确
3、参考MetaLink的描述(Doc ID 1144273.1)
[oracle@linfy1 admin]$ rman target / auxiliary sys/oracle@STANDBY1
Starting backup at 01-MAR-15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=29 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=30 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=125 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/01/2015 10:36:46
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/01/2015 10:36:46
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12154: TNS:could not resolve the connect identifier specified
ORA-17629: Cannot connect to the remote database server
问题原因:
主备库的tnsnames.ora文件的配置不正确
解决方案
1、在Target Server端添加到Auxiliary DB的tnsnames.ora,即与Auxiliary server端使用相同的tnsnames entry
2、主备库的tnsnames.ora文件要配置正确
3、参考MetaLink的描述(Doc ID 1144273.1)
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/543979/viewspace-1669110/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/543979/viewspace-1669110/