ORA-39126: expdp

     Starting "SERVICEDESK"."SYS_EXPORT_SCHEMA_07":  servicedesk/********@//11.32.18.110:1521/MOS7100 directory=MOS710
0_BACKUPDB_DIR dumpfile=servicedesk.dmp schemas=servicedesk logfile=servicedesk.log  "

     ........

     .......     

     .......

     ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [REF_CONSTRAINT:"SERVICEDESK"."FK_NF_ENTI
T_REFERENCE_NF_ENTIT"] 
      ORA-04063: package body "XDB.DBMS_XDBZ0" has errors
      ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBZ0"
      ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
      ORA-06512: at "SYS.KUPW$WORKER", line 7839

    .......

    .......

    Job "SERVICEDESK"."SYS_EXPORT_SCHEMA_07" stopped due to fatal error at 22:49:17

 

从oracle数据库中使用expdp导出数据时,报以上错误
解决方法之一:添加以下权限

grant EXECUTE ON SYS.DBMS_EXPORT_EXTENSION to public;
grant EXECUTE ON SYS.DBMS_JOB to public;
grant EXECUTE ON SYS.DBMS_RANDOM to public;
grant EXECUTE ON DBMS_SQL to public;

 

导出数据库可用语句:

exp ppniedb/ppniedb@wisg file=/home/oracle/upgrade_bak/ppniedb.dmp log=/home/oracle/upgrade_bak/expppniedb.log direct=y compress=n rows=y

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值