搭建Dataguard,使用RMAN还原数据时无法连接ASM实例

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了搭建Dataguard,使用RMAN还原数据时无法连接ASM实例相关的知识,希望对你有一定的参考价值。

报错如下:

RMAN> restore standby controlfile from '/tmp/rman_backup/standby_0dss6ds7_1_1.ctl';


Starting restore at 2018/02/26 14:18:35

using target database control file instead of recovery catalog

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=21 device type=DISK


channel ORA_DISK_1: restoring control file

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of restore command at 02/26/2018 14:18:36

ORA-19870: error while restoring backup piece /tmp/rman_backup/standby_0dss6ds7_1_1.ctl

ORA-19504: failed to create file "+DATA_VG/bbdg/controlfile/cont.ctl"

ORA-17502: ksfdcre:3 Failed to create file +DATA_VG/bbdg/controlfile/cont.ctl

ORA-15001: diskgroup "DATA_VG" does not exist or is not mounted

ORA-15055: unable to connect to ASM instance

ORA-15055: unable to connect to ASM instance

ORA-27300: OS system dependent operation:open failed with status: 13


原因:没有创建数据库,/u01/app/oracle/product/11.2.0/db_1/bin/oracle权限不对


处理方法:chmod 6555 /u01/app/oracle/product/11.2.0/db_1/bin/oracle


参考博文:

http://blog.csdn.net/jxzkin/article/details/8020180

http://www.itpub.net/thread-2053471-1-1.html


以上是关于搭建Dataguard,使用RMAN还原数据时无法连接ASM实例的主要内容,如果未能解决你的问题,请参考以下文章

关于 rman duplicate from active database 搭建dataguard--系列一

Oracle 10gR2 Dataguard搭建(非duplicate方式)

利用rman duplicate重建oracle dataguard standby数据库

oracle dataguard详解和环境搭建

通过RMAN创建dataguard(原创)

12cRMAN 与 DataGuard