ITPub博客

首页 > 数据库 > Oracle > ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_DDL"

ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_DDL"

原创 Oracle 作者:kennyblues 时间:2008-09-03 14:17:05 0 删除 编辑

在10g打完一个CPU后,在做export时发现以下错误:

EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_DDL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_DDL"
ORA-06512: at line 1
EXP-00056: ORACLE error 1403 encountered
ORA-01403: no data found
EXP-00000: Export terminated unsuccessfully

[@more@]

检查invalid的object数,发现多达90多个。

以下是解决办法:

$sqlplus "/as sysdba"
SQL> startup upgrade
SQL > @?/rdbms/admin/catalog.sql
SQL > @?/rdbms/admin/catproc.sql
SQL > @?/rdbms/admin/utlrp.sql

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3345/viewspace-1010077/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-03-07

  • 博文量
    73
  • 访问量
    482191