• 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.

     

    道森Oracle,国内最早、最大的网络语音培训机构,我们提供专业、优质的Oracle技术培训和服务! 我们的官方网站:http://www.daosenoracle.com 官方淘宝店:http://daosenpx.taobao.com/
  • 相关阅读:
    uva 10561 sg定理
    二进制下 求分数化小数的循环节问题
    zoj 2562 反素数
    uva 11916 解模方程a^x=b (mod n)
    Android 组件化方案探索与思考
    2018谷歌I/O开发者大会8大看点汇总 新品有哪些
    Glide高级详解—缓存与解码复用
    Android性能优化:手把手带你全面实现内存优化
    Android几种强大的下拉刷新库
    Android app 在线更新那点事儿(适配Android6.0、7.0、8.0)
  • 原文地址:https://www.cnblogs.com/tianlesoftware/p/3610189.html
Copyright © 2020-2023  润新知