Export Fails With Errors EXP-8 ORA-4068 ORA-1403 On SYS.DBMS_AQ_IMPORT_INTERNAL

(Doc ID 1059224.6)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 8.0.3.0 to 8.0.6.0 [Release 8.0.3 to 8.0.6]
Information in this document applies to any platform.

Symptoms

Your full database export fails when exporting posttables actions with the following errors:

. exporting posttables actions
EXP-00008: ORACLE error 4068 encountered
ORA-04068: existing state of packages has been discarded
ORA-04063:  has errors
ORA-04063: package body "SYS.DBMS_AQ_IMPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_SYS_SQL", line 787
ORA-06512: at "SYS.DBMS_SQL", line 328
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 82
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 133
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully

or:

EXP-8: ORACLE error 1403 encountered
ORA-1403: no data found
ORA-6512: at "SYS.DBMS_AQ_IMPORT_INTERNAL", line 69
ORA-6512: at line 1
ORA-6512: at "SYS.DBMS_SYS_SQL", line 787
ORA-6512: at "SYS.DBMS_SQL", line 328
ORA-6512: at "SYS.DBMS_EXPORT_EXTENSION", line 82
ORA-6512: at "SYS.DBMS_EXPORT_EXTENSION", line 133
ORA-6512: at line 1
EXP-0: Export terminated unsuccessfully

User/Table level exports are fine, re-running of catalog and catproc make no difference.

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