Duplicate standby 与 RMAN-05501 错误

在Oracle9i中,当使用RMAN进行DataGuard创建过程时
如果在RMAN恢复时不指定 nofilenamecheck 参数
则在数据文件相同文件名恢复时会出现RMAN-05501错误

错误信息可能类似如下:

sql statement: alter database mount standby database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/20/2008 16:34:17
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename D:\EEYGLE\PERFSTAT.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\XDB01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\USERS01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\TOOLS01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\ODM01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\INDX01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\EXAMPLE01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\DRSYS01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\CWMLITE01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\UNDOTBS01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\SYSTEM01.DBF conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\REDO03.LOG conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\REDO02.LOG conflicts with a file used by the target database
RMAN-05001: auxiliary filename D:\EEYGLE\REDO01.LOG conflicts with a file used by the target database

为了解决这个问题,在恢复时需要指定nofilenamecheck 参数:
duplicate target database for standby nofilenamecheck;

以下是一个范例输出:

RMAN> duplicate target database for standby nofilenamecheck;

Starting Duplicate Db at 20-MAY-08
using target database controlfile instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=8 devtype=DISK

printing stored script. Memory Script
{
restore clone standby controlfile to clone_cf;
replicate clone controlfile from clone_cf;
sql clone 'alter database mount standby database';
}
executing script. Memory Script

Starting restore at 20-MAY-08

............

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23071790/viewspace-688372/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23071790/viewspace-688372/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值