oracle adg PLS-00201: identifier 'DBMS_RCVCAT.GETDBID' must be declared

来源:互联网 发布:java tar.gz解压 编辑:程序博客网 时间:2024/05/16 18:57

在使用adg搭建第二个从库的时候,遇到了下面的错误提示:
DBGSQL: TARGET> begin :fhdbi := dbms_rcvcat.getDbid; end;
DBGSQL: sqlcode = 6550
DBGSQL: B :fhdbi = 32765
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/22/2017 11:13:38
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
ORA-06550: line 1, column 17:
PLS-00201: identifier ‘DBMS_RCVCAT.GETDBID’ must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

使用了catalog,但是在连接的时候没有指定catalog,需要用下面的连接方式:
rman target sys/test@dbadb_pri auxiliary sys/test@dbadb_std2 nocatalog

阅读全文
0 0
原创粉丝点击