PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old

Quandos possuímos bancos na versão 12c e tentamos catalogar o banco em uma versão 11g , ocorrera o seguinte erro:

PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old

Esse erro ocorre devido ao catalogo do rman esta desatualizado.

a resolução desse problema é bem simples

[oracle@zmsolution1~]$ rman target / catalog rman/zuim@rman

Recovery Manager: Release 12.2.0.1.0 - Production on Thu Apr 25 16:50:34 2019

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

connected to target database: ZUIMDB(DBID=1268148162)
 connected to recovery catalog database
 PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old

RMAN> register database;

PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old
 PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.04 in RCVCAT database is too old
 RMAN-00571: ===========================================================
 RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
 RMAN-00571: ===========================================================
 RMAN-03002: failure of register command at 04/25/2019 16:55:06
 RMAN-06429: RCVCAT database is not compatible with this version of RMAN

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> register database;

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

RMAN>

 

 

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *