重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3471|回复: 1
打印 上一主题 下一主题

配置dg报错:RMAN-05001

[复制链接]
跳转到指定楼层
楼主
发表于 2013-12-24 16:55:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

执行以下命令,配置dg报错:RMAN-05001

RMAN> run{
  allocate auxiliary channel aux  device type disk;
  allocate channel pri device type disk;
  duplicate target database for standby from active database nofilenamecheck;
  }
 

具体如下:

 


executing Memory Script

sql statement: alter database mount standby database
released channel: aux
released channel: pri
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/24/2013 16:47:27
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary file name /u01/app/oracle/oradata/sztech1/example01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary file name /u01/app/oracle/oradata/sztech1/users01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary file name /u01/app/oracle/oradata/sztech1/undotbs01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary file name /u01/app/oracle/oradata/sztech1/sysaux01.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary file name /u01/app/oracle/oradata/sztech1/system01.dbf conflicts with a file used by the target database

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2013-12-24 16:57:01 | 只看该作者

这个问题,一般是主库和目标库路径一样导致,加在复制语句中,加上 notfilenamecheck即可.

修改后,如下:

run{
  allocate auxiliary channel aux  device type disk;
  allocate channel pri device type disk;
  duplicate target database for standby from active database nofilenamecheck;
  }

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-6-19 02:22 , Processed in 0.095009 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表