Error ORA-4063 While Performing Full Database Export

(Doc ID 114739.1)

Last updated on FEBRUARY 20, 2015

Applies to:

Oracle Database - Enterprise Edition - Version and later
Microsoft Windows (32-bit)
***Checked for relevance on 20-Feb-2015***


You are trying to perform a full database export and it fails with the following errors:

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
EXP-8: ORACLE error 4068 encountered
ORA-4068: existing state of packages has been discarded
ORA-4063: package body "SYS.DBMS_AQ_SYS_EXP_INTERNAL" has errors
ORA-6508: PL/SQL: could not find program unit being called
ORA-6512: at "SYS.DBMS_AQ_EXP_QUEUES", line 141
ORA-6512: at line 1
EXP-83: The previous problem occurred when calling
. exporting resource costs

You are able to run a user or table level export.


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