PL/SQL package RCAT.DBMS_RCVCAT version 11.02.00.02 in RCVCAT database is not current
when we are trying to connect the Rman catalog database we are getting the error it is cause because The particular version of the source database catalog is not sync with the current catalog..The Cause of this Error is due to the recover catalog database or the target database must be upgraded .. or the recover catalog database is changed
Step 1
[ora@fah ~]$ rman
Recovery Manager: Release 11.2.0.3.0 - Production on Mon May 13 17:18:58 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target /
connected to target database: <SID> (DBID=<>)
RMAN> connect catalog rcat/<password>@ORACAT<Domain_name>
connected to recovery catalog database
PL/SQL package RCAT.DBMS_RCVCAT version 11.02.00.02 in RCVCAT database is not current
PL/SQL package RCAT.DBMS_RCVMAN version 11.02.00.02 in RCVCAT database is not current
Step 2
For check the issue if we give the Register database or Resync catalog thou will get the below error message
RMAN> register database;
DBGSQL: RCVCAT> begin dbms_rcvman.dumpPkgState('RCVMAN after sqlerror'); end;
DBGSQL: sqlcode = 6550
DBGSQL: RCVCAT> begin dbms_rcvcat.dumpPkgState('RCVCAT after sqlerror');end;
DBGSQL: sqlcode = 6550
database registered in recovery catalog
RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: error while performing automatic resync of recovery catalog
RMAN-10015: error compiling PL/SQL program
RMAN-10014: PL/SQL error 0 on line 1655 column 12: Statement ignored
RMAN-10014: PL/SQL error 306 on line 1655 column 12: wrong number or types of arguments in call to 'CHECKTABLESPACE'
RMAN> resync catalog;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of resync command on default channel at 05/13/2013 17:19:38
RMAN-10015: error compiling PL/SQL program
RMAN-10014: PL/SQL error 0 on line 1655 column 12: Statement ignored
RMAN-10014: PL/SQL error 306 on line 1655 column 12: wrong number or types of arguments in call to 'CHECKTABLESPACE'
Step 3
We need to give the upgrade catalog command to sync the new change in the binaries to reflect in the catalog database
RMAN> upgrade catalog;
recovery catalog owner is RCATenter UPGRADE CATALOG command again to confirm catalog upgrade
RMAN> upgrade catalog;
recovery catalog upgraded to version 11.02.00.03DBMS_RCVMAN package upgraded to version 11.02.00.03
DBMS_RCVCAT package upgraded to version 11.02.00.03
Step 4
Connect the target database with the rman and catalog now you can issue the command report schema
[oratest@fahtestapp ~]$ rman
Recovery Manager: Release 11.2.0.3.0 - Production on Mon May 13 17:21:20 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target /
connected to target database: <SID> (DBID=<dbid_number>)
RMAN> connect catalog rcat/<password>@ORACAT.<Domain_name>
connected to recovery catalog database
RMAN> report schema;
Report of database schema for database with db_unique_name <SID>
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
---
----
----
List of Temporary Files
=======================
File Size(MB) Tablespace Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
---
---
No comments:
Post a Comment