RMAN-06429: TARGET database is not compatible with this version of RMAN
Error
While connecting with RMAN Command window getting the following errors:
RMAN-06438: error executing package DBMS_RCVMAN in TARGET database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-06429: TARGET database is not compatible with this version of RMAN
Cause
“SYS.DBMS_RCVMAN” package has error which causing the problem. May be package is in-valid state.
Solution
1. We tried to check in target database if it’s invalid.
select OWNER, STATUS, substr(OBJECT_NAME,1,40), OBJECT_TYPE from DBA_OBJECTS where OBJECT_NAME IN ('DBMS_RCVMAN', 'DBMS_BACKUP_RESTORE' ) ;
2. Try to recompile it and check the status.
@$ORACLE_HOME/rdbms/admin/utlrp.sql
3. If 2nd steps is not working the package is not become valid, then try to re-create the package by executing following steps from SYS user.
@?/rdbms/admin/dbmsrman.sql
@?/rdbms/admin/prvtrmns.plb