Duplicate Active Database 遇到 ORA-01017 invalid username/password

本文详细记录了在尝试使用Oracle11g的DuplicateActiveDatabase特性为VLDB构建standby数据库过程中,遇到ORA-01017无效用户名/密码错误的解决过程。通过调整RMAN命令参数,最终成功构建了standby数据库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

      Oracle 11g 的新特性Duplicate Active Database可以在不备份target database的情况下构建 duplicate database,特别适合于为VLDB构建standby的场景。今天特意试一下,但是却让我遇上了 ORA-01017 invalid username/password,过程如下:

oracle@dev18:abank /home/oracle>rman target / auxiliary sys/__password__@abank_123 

Recovery Manager: Release 11.2.0.1.0 - Production on Sun May 29 14:16:08 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

connected to target database: abank (DBID=433589790)
connected to auxiliary database: abank (not mounted)

RMAN> duplicate target database for standby from active database ;  

Starting Duplicate Db at 2011-05-29 14:16:17
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=1149 device type=DISK

contents of Memory Script:
{
   backup as copy reuse
   targetfile  '/opt/app/oracle/product/11.2.0/db/dbs/orapwabank' auxiliary format 
 '/opt/app/oracle/product/11.2.0/db/dbs/orapwabank'   ;
}
executing Memory Script

Starting backup at 2011-05-29 14:16:18
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=594 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/29/2011 14:16:19
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/29/2011 14:16:19
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

      打开rman的时候已经进行了验证,理论上不应在有验证的问题,google得知使用Duplicate Active Database要这样登入rman:

rman target sys/__password__ auxiliary sys/__password__@abank_123 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值