zoukankan      html  css  js  c++  java
  • 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/
  • 相关阅读:
    php CodeIgniter处理多环境错误级别配置
    bootstrap导航条在手机上默认展开二级目录,必须用setTimeout才能实现
    WordPress博客网站fonts.useso加载慢解决办法
    JS实现复制网页内容自动加入版权内容代码和原文链接
    bootstrap实现 手机端滑动效果,滑动到下一页,jgestures.js插件
    mysql字段varchar区分大小写utf8_bin、utf8_general_ci编码区别
    js捕捉IE窗口失去焦点事件,判断离开页面刷新或关闭的方法
    php防盗链,php ci在control里面控制除了自己站内的链接点击跳转,其他来源的都跳到站内页面
    php原子操作,文件锁flock,数据库事务
    默认只显示指定高度,出来按钮 阅读更多,加载全文,点击后显示全文的实现方式
  • 原文地址:https://www.cnblogs.com/tianlesoftware/p/3610188.html
Copyright © 2011-2022 走看看