Oracle 9i EXP XDB.DBMS_XDBUTIL_INT must be declared

 

An export from an Oracle9i database fails with:
...
. exporting triggers
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 26:
PLS-00201: identifier 'XDB.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 26:
PLS-00201: identifier 'XDB.DBMS_XDBUTIL_INT' must be declared
ORA-06550: line 1, column 14:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully


You have verified the following:

1. The package DBMS_XDBUTIL_INT object does not exist:

   SQL> SELECT status,object_id,object_type,SUBSTR(owner||'.'||object_name,
        1, 40) "OWNER.OBJECT" FROM dba_objects
        WHERE object_name = 'DBMS_XDBUTIL_INT';

   no rows selected

2. The error messages during export are identical as mentioned above.
   For the error ORA-1422 (exact fetch returns more than requested number
   of rows) in XDB.DBMS_XDBUTIL_INT (line 52), refer to:
   - Note 221178.1 "ORA-01422 ORA-06512: at "XDB.DBMS_XDBUTIL_INT" while
                      exporting full database"
   - Note 256548.1 "Export of Database with XDB Throws ORA-1422 Error"


Solution Description
--------------------
There are three possible solutions:

1. If you are *NOT* having any schema's in the database that use the
   XML functionality, remove the XDB schema and the XDB tablespace by
   following the steps in the article mentioned below.  The XDB schema
   and the XML functionality can be re-installed at a later time if
   actually needed.

   Note 243554.1 "How to Deinstall and Reinstall XML Database (XDB)"

   WARNING: DO NOT DE-INSTALL XDB IF THERE ARE REGISTERED SCHEMA'S OR
            IF XML DATABASE ITEMS HAVE BEEN CREATED !

2. If you are using the XML functionality, and you have recently applied
   a patch-set, check whether the data dictionary has been upgraded
   accordingly.

   SQL> SELECT SUBSTR(comp_id,1,15) comp_id, status, SUBSTR(version,1,10)
        version, SUBSTR(comp_name,1,30) comp_name
        FROM dba_registry ORDER BY 1;

   If the version of the components CATALOG, CATPROC, XDB (among others)
   is lower than the patch-set version that you have applied, re-run the
   script catpatch.sql after a startup migrate. See the readme file of
   the patch-set for all these mandatory post-installation instructions.

3. If you are using the XML functionality, and the data dictionary
   components have the correct version and are VALID or LOADED,
   then re-create the package XDB.DBMS_XDBUTIL_INT with (example with
   UNIX syntax):

   SQL> connect sys/<password> AS SYSDBA
   SQL> @?/rdbms/admin/prvtxdb.plb
   SQL> exit


Explanation
-----------
The PLS-201 indicates that the export utility is expecting to find the
packge DBMS_XDBUTIL_INT.  This package together with its package body
should exist in the XDB schema and should be valid.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值