Data Pump Export (expdp) = ORA-39126 ORA-39127 ORA-4063 (on XDB.DBMS_XDBUTIL_INT & XDB.DBMS_XDBZ0) ORA-6508 / RESOURCE_VIEW Query = ORA-4063 (Doc ID 1526443.1)

Last updated on MAY 09, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 07-Dec-2015***

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:

     SQL> select any_path from resource_view;      select any_path from resource_view     *     ERROR at line 1:     ORA-04063: package body "XDB.DBMS_CSX_INT" has errors

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms