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
标签:SYS,DBMS,expdp,EXECUTE,.......,39126,public,ORA From: https://blog.51cto.com/u_15812342/5738730