ORACLE11g DataGuard手工建立錯誤的解決方案(二)

hunterjoy發表於2015-05-24
問題現象:
[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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章