RMAN-03009: failure of register command on default channel

在使用RMAN配置catalog注册数据库得时候报错,信息如下:

$ rman target / catalog rc_admin/RC_ADMIN@PROD4

Recovery Manager: Release 11.2.0.3.0 - Production on Fri Jul 6 15:54:28 2018

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

connected to target database: PROD1 (DBID=2082231315)
connected to recovery catalog database

RMAN> register database;


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of register command on default channel at 07/06/2018 15:54:41
RMAN-20298: DBMS_RCVCAT package not compatible with the recovery catalog

解决方法执行:upgrade catalog 操作,连续执行两次:
RMAN> upgrade catalog

recovery catalog owner is RC_ADMIN
enter UPGRADE CATALOG command again to confirm catalog upgrade

RMAN> upgrade catalog

recovery catalog upgraded to version 11.02.00.03
DBMS_RCVMAN package upgraded to version 11.02.00.03
DBMS_RCVCAT package upgraded to version 11.02.00.03

RMAN> exit

Recovery Manager complete.

退出重新登陆进行注册,重新加载RMAN配置catalog

再次执行register database,成功!

$ rman target / catalog rc_admin/RC_ADMIN@PROD4

Recovery Manager: Release 11.2.0.3.0 - Production on Fri Jul 6 15:55:24 2018

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

connected to target database: PROD1 (DBID=2082231315)
connected to recovery catalog database

RMAN> register database;

database registered in recovery catalog
starting full resync of recovery catalog
full resync complete

RMAN> exit

Recovery Manager complete.


如上问题解决。


(笔者原创文章,转载请注明出处:https://blog.csdn.net/LFCuiYs)谢谢!

你可能感兴趣的:(Oracle,Database,问题解决)