Full Database Export Fails With PLS-302 component DBMS_XDBUTIL_INT Must be Declared (Doc ID 461708.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.4
This problem can occur on any platform.

Symptoms

You are trying to perform a full database export using the SYSTEM account. This fails with:

. exporting triggers
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 30:
PLS-00302: component 'DBMS_XDBUTIL_INT' must be declared
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 30:
PLS-00302: component 'DBMS_XDBUTIL_INT' must be declared
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully

You verified the objects DBMS_XDBUTIL_INT in data dictionary and this are available and VALID:

SQL> connect / as sysdba
SQL> select owner, object_name, object_type, status from dba_objects where object_name = 'DBMS_XDBUTIL_INT';

OWNER      OBJECT_NAME      OBJECT_TYPE         STATUS
---------- ---------------- ------------------- -------
PUBLIC     DBMS_XDBUTIL_INT SYNONYM             VALID
XDB        DBMS_XDBUTIL_INT PACKAGE             VALID
XDB        DBMS_XDBUTIL_INT PACKAGE BODY        VALID

If you are using the SYS (SYSDBA) account, then exp completes.

If the package DBMS_XDBUTIL_INT is not found in data dictionary, then you can install it by running the scripts:

-- change to directory:
-- $ORACLE_HOME/rdbms/admin (Unix) or
-- %ORACLE_HOME%\rdbms\admin on WIndows
-- For Oracle 9i version 
SQL> connect / as sysdba
SQL> @prvtxdb.plb

-- For Oracle 10g versions (Release 1 and 2)
SQL> connect / as sysdba
SQL> @prvtxdb0.plb
SQL> @prvtxdb.plb

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