RMAN-03002: failure of register command
Error
I am going to register the 12c database in 11g RMAN catalog database and getting the following error:
rman target / catalog rcv_user/rcv_passwword@RCVCAT
Recovery Manager: Release 12.1.0.1.0 - Production on Thu Aug 22 11:44:39 2019
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
connected to target database: (DBID=1234567890)
connected to recovery catalog database
PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.02 in RCVCAT database is too old
RMAN> register database;
PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.02 in RCVCAT database is too old
PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.02 in RCVCAT database is too old
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of register command
RMAN-06429: RCVCAT database is not compatible with this version of RMAN
Cause:
Catalog version is not compatible with the target database version.
Catalog version must be equal or greater than target Database version.
Solution
1. Connect the target and catalog database “RCVCAT” with RMAN:
rman target / catalog rcv_user/rcv_passwword@RCVCAT
Recovery Manager: Release 12.1.0.1.0 - Production on Mon Jun 22 09:34:59 2015
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
connected to target database: (DBID=1234567890)
connected to recovery catalog database
2. Run the upgrade catalog command:
-- First upgrade catalog will upgrade the catalog database
RMAN> upgrade catalog;
recovery catalog owner is RMAN
enter UPGRADE CATALOG command again to confirm catalog upgrade
--Second upgrade verify the version is equal and show the result.
RMAN> upgrade catalog;
recovery catalog upgraded to version 12.01.00.01
DBMS_RCVMAN package upgraded to version 12.01.00.01
DBMS_RCVCAT package upgraded to version 12.01.00.01
3. Register the database after catalog upgrade.
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete