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
Simplemente ejecuta el comando (upgrade catalog). Dependiendo de la versión, cómo es nuestro caso, deberás de ejecutarlo dos veces.
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.