Cuando te conectas a tu catálogo de RMAN y recibes el siguiente error, normalmente tras un upgrade de base de datos:
«RMAN.DBMS_RCVCAT / CAT.DBMS_RCVMAN version in RCVCAT database is not current error».
[oracle@localhost ~]$ rman target sys/** catalog cat/**@CAT
Recovery Manager: Release 19.0.0.0.0 – Production on Thu Aug 15 18:30:27 2024
Version 19.21.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: TESTING (DBID=1956950329
connected to recovery catalog database
PL/SQL package CAT.DBMS_RCVCAT version 19.17.00.00. in RCVCAT database is not current
PL/SQL package CAT.DBMS_RCVMAN version 19.17.00.00 in RCVCAT database is not current
Simply run the command (upgrade catalog). Depending on the version, as in our case, you will have to run it twice.
RMAN> upgrade catalog
recovery catalog owner is RCAT
enter UPGRADE CATALOG command again to confirm catalog upgrade
RMAN> upgrade catalog
recovery catalog upgraded to version 19.21.00.00.00
DBMS_RCVMAN package upgraded to version 19.21.00.00
DBMS_RCVCAT package upgraded to version 19.21.00.00.