标题: rman创建 DG 备库时报错:ORA-17629 [打印本页] 作者: 郑全 时间: 2020-3-23 21:51 标题: rman创建 DG 备库时报错:ORA-17629 [oracle@pridb ~]$ rman target / auxiliary sys/oraclesys@sbdb2
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jul 24 21:36:45 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: pridb (DBID=1818030427)
connected to auxiliary database: sbdb2 (not mounted)
RMAN>
duplicate target database for standby nofilenamecheck
from active database
dorecover
SPFILE
SET db_unique_name = 'sbdb2'
SET log_archive_dest_1 = 'LOCATION=/u01/flash_recovery_area/pridb/archivelog/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES)'
SET log_archive_dest_2 = 'SERVICE=pridb REOPEN=60 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=pridb'
SET fal_client = 'sbdb2'
SET fal_server = 'pridb'
SET control_files = '/u01/oradata/sbdb2/control01.ctl',' /u01/flash_recovery_area/sbdb2/control02.ctl';
Starting Duplicate Db at 2013/07/24 21:37:08
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=1 device type=DISK
contents of Memory Script:
{
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwpridb' auxiliary format
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsbdb2' targetfile
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilepridb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesbdb2.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesbdb2.ora''";
}
executing Memory Script
Starting backup at 2013/07/24 21:37:09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=28 device type=DISK
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/23/2020 21:37:10
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12170: TNS: 连接超时; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-runRMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/23/2020 21:37:11
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/23/2020 21:37:11
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12170: TNS: 连接超时; logon denied
ORA-17629: Cannot connect to the remote database server