Ao logar em um catálogo do RMAN para registrar um novo banco de dados no catálogo, a seguinte mensagem é retornada:
PL/SQL package RMAN.DBMS_BA version 12.02.00.01.0 in RCVCAT database is too old
A correção é simples, basta fazer o upgrade do catálogo em 2 passos:
RMAN> upgrade catalog; recovery catalog owner is RMAN enter UPGRADE CATALOG command again to confirm catalog upgrade
E incluir o mesmo comando novamente para confirmar o upgrade:
RMAN> UPGRADE CATALOG; recovery catalog upgraded to version 12.02.00.01 DBMS_RCVMAN package upgraded to version 12.02.00.01 DBMS_RCVCAT package upgraded to version 12.02.00.01. RMAN>
Após fazer o upgrade, basta continuar a operação:
[oracle@serverprod ~]$ rman target / catalog rman@anvsrepository Recovery Manager: Release 12.2.0.1.0 - Production on Thu Apr 18 16:11:25 2019 Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved. connected to target database: PROD (DBID=197120132014) recovery catalog database Password: connected to recovery catalog database RMAN> register database; database registered in recovery catalog starting full resync of recovery catalog full resync complete