티스토리 뷰

. Applies to:

   Oracle Database 19c and later  (Platform : Windows x64 64bit)

   

 

. Symptoms

   RMAN or Alter.log Showing Messages:

 

     PL/SQL package SYS.DBMS_BACKUP_RESTORE version is not current
     PL/SQL package SYS.DBMS_RCVMAN version 19.xx.xx.xx is too old

 

 

. Changes

   These errors were reported after applying a database patch.

 

 

. CAUSE
   It seems that these packages are not being compiled during the upgrade/patching process.

 


. SOLUTION
   Recompile the RMAN packages and procedures by connecting to the target database

   as SYSDBA and execute: 

    $ sqlplus / as sysdba

    SQL> @$ORACLE_HOME/rdbms/admin/dbmsrman.sql
    SQL> @$ORACLE_HOME/rdbms/admin/dbmsbkrs.sql
    SQL> @$ORACLE_HOME/rdbms/admin/prvtrmns.plb
    SQL> @$ORACLE_HOME/rdbms/admin/prvtbkrs.plb

 

 

상기 오류 메시지는 Oracle DB 19c 이상에서 Upgrade / Patch를 시행한 후, Oracle RMAN에서 사용되는 Package 및 Procedure와 유관된 Oracle Bug입니다.

Solution에 명시된 바와 같이 유관된 Package 및 Procedure를 Re-compile 해주시면 문제를 해결할 수 있습니다.