My Oracle Support Banner

ORA-04063 during Data Pump Export / Queries against RESOURCE_VIEW (Doc ID 1526443.1)

Last updated on DECEMBER 12, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

A full Data Pump Export (expdp) fails with the following errors:

     ...
     Processing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC
     ORA-39127: unexpected error from call to export_string :=XDB.DBMS_XDBUTIL_INT.SYSTEM_INFO_EXP(0,dynconnect,'11.02.00.00.00',newblock)
     ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
     ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBUTIL_INT"
     ORA-06512: at line 1
     ORA-06512: at "SYS.DBMS_METADATA", line 9281
     ...
     Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
     ORA-39127: unexpected error from call to export_string :=XDB.DBMS_XDBUTIL_INT.SYSTEM_INFO_EXP(1,dynconnect,'11.02.00.00.00',newblock)
     ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
     ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XDBUTIL_INT"
     ORA-06512: at line 1
     ORA-06512: at "SYS.DBMS_METADATA", line 9281
     Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
     Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
     Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
     ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS [TABLE:"OLAPSYS"."CWM2$OLAPEXPORTOBJECTTABLE"]
     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 9001
     ----- PL/SQL Call Stack -----
     object line object
     handle number name
     0x1187ec280 20462 package body SYS.KUPW$WORKER
     0x1187ec280 9028 package body SYS.KUPW$WORKER
     0x1187ec280 10935 package body SYS.KUPW$WORKER
     0x1187ec280 2728 package body SYS.KUPW$WORKER
     0x1187ec280 9697 package body SYS.KUPW$WORKER
     0x1187ec280 1775 package body SYS.KUPW$WORKER
     0xff2701b0 2 anonymous block
     Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
     ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS [TABLE:"OLAPSYS"."CWM2$OLAPEXPORTOBJECTTABLE"]
     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 9001
     ----- PL/SQL Call Stack -----
     object line object
     handle number name
     0x1187ec280 20462 package body SYS.KUPW$WORKER
     0x1187ec280 9028 package body SYS.KUPW$WORKER
     0x1187ec280 10935 package body SYS.KUPW$WORKER
     0x1187ec280 2728 package body SYS.KUPW$WORKER
     0x1187ec280 9697 package body SYS.KUPW$WORKER
     0x1187ec280 1775 package body SYS.KUPW$WORKER
     0xff2701b0 2 anonymous block
     Job "SYSTEM"."SYS_EXPORT_FULL_01" stopped due to fatal error at 16:42:12

 

Also, querying RESOURCE_VIEW fails:

 
Same symptom occurs when UTL_MAIL fails.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.