ORA-17629:rman建立 standby資料庫時報錯

還不算暈發表於2013-10-10
[oracle@oelora ~]$ rman target / auxiliary sys/oraclesys@oelora2                                                                  

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: OELORA (DBID=1818030427)
connected to auxiliary database: OELORA2 (not mounted)

duplicate target database for standby nofilenamecheck
from active database
dorecover
SPFILE
SET db_unique_name = 'oelora2'
SET log_archive_dest_1 = 'LOCATION=/u01/flash_recovery_area/OELORA/archivelog/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES)'
SET log_archive_dest_2 = 'SERVICE=oelora REOPEN=60 VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=oelora'
SET fal_client = 'oelora2'
SET fal_server = 'oelora'
10> SET control_files = '/u01/oradata/oelora2/control01.ctl',' /u01/flash_recovery_area/oelora2/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/orapwoelora' auxiliary format
 '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwoelora2'   targetfile
 '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileoelora.ora' auxiliary format
 '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileoelora2.ora'   ;
   sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileoelora2.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 07/24/2013 21:37:10
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/24/2013 21:37:11
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/24/2013 21:37:11
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server



解決方法:

登陸時使用使用者名稱加密碼方式登陸本地庫。不能用OS驗證。
[oracle@oelora ~]$ rman target sys/oraclesys auxiliary sys/oraclesys@oelora2

相關文章