ORA-04063: package body "SYS.DBMS_RCVMAN" has errors

来源:互联网 发布:如何手机关闭淘宝店 编辑:程序博客网 时间:2024/06/05 03:15

rman备份报错:

Recovery Manager: Release 11.2.0.3.0 - Production on Thu Feb 13 10:06:46 2014



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


ORACLE error from target database: 
ORA-04063: package body "SYS.DBMS_RCVMAN" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_RCVMAN"


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


Script /usr/openv/netbackup/script/hot_database_backup.sh

==== ended in error on Thu Feb 13 10:06:47 GMT+08:00 2014 ====


原因:

TARGET database is not compatible with this version of RMAN

package DBMS_RCVMAN  in target database is invalid


处理:

To re-create packageDBMS_RCVMAN, run the files dbmsrman.sql 
         and prvtrmns.plb

$ sqlplus sys/<pw> 
   SQL> @?/rdbms/admin/dbmsrman.sql 
   SQL>@?/rdbms/admin/prvtrmns.plb


0 0