zoukankan      html  css  js  c++  java
  • EXPDP fails with ORA-39126 Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS (Doc ID 2656308.1)

    APPLIES TO:

    Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
    Oracle Database - Standard Edition - Version 12.2.0.1 and later
    Information in this document applies to any platform.

    SYMPTOMS

     The following errors are reported while running the expdp:

    Connected to: Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
    Starting "SYS"."SYS_EXPORT_FULL_03": /******** AS SYSDBA parfile=exp.par
    Processing object type DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
    Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
    Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA

    Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE_BODIES/PACKAGE/PACKAGE_BODY
    Processing object type DATABASE_EXPORT/PRE_SYSTEM_IMPCALLOUT/MARKER
    Processing object type DATABASE_EXPORT/PRE_INSTANCE_IMPCALLOUT/MARKER
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS [ORA-00942: table or view does not exist

    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 12098
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 9039
    ORA-06512: at "SYS.DBMS_METADATA", line 2792
    ORA-06512: at "SYS.DBMS_METADATA", line 3423
    ORA-06512: at "SYS.DBMS_METADATA", line 4760
    ORA-06512: at "SYS.DBMS_METADATA", line 5079
    ORA-06512: at "SYS.DBMS_METADATA", line 9020
    ORA-06512: at "SYS.KUPW$WORKER", line 14367

    ----- PL/SQL Call Stack -----
      object line object
      handle number name
    c000000113c6c390 32242 package body SYS.KUPW$WORKER.WRITE_ERROR_INFORMATION
    c000000113c6c390 12119 package body SYS.KUPW$WORKER.DETERMINE_FATAL_ERROR
    c000000113c6c390 14693 package body SYS.KUPW$WORKER.FETCH_XML_OBJECTS
    c000000113c6c390 3689 package body SYS.KUPW$WORKER.UNLOAD_METADATA
    c000000113c6c390 13063 package body SYS.KUPW$WORKER.DISPATCH_WORK_ITEMS
    c000000113c6c390 2311 package body SYS.KUPW$WORKER.MAIN
    c00000011ac62288 2 anonymous block

    DBMS_METADATA.SET_FILTER
    DBMS_METADATA.SET_FILTER
    DBMS_METADATA.SET_FILTER
    In FETCH_XML_OBJECTS
    End seqno is: 24
    KUPF$FILE.OPEN_CONTEXT
    KUPF$FILE.OPEN_CONTEXT
    DBMS_METADATA.FETCH_XML_CLOB
    DBMS_METADATA.FETCH_XML_CLOB
    In procedure DETERMINE_FATAL_ERROR with ORA-00942: table or view does not exist
    ORA-06512: at "SYS.DBMS_METADATA", line 9039
    ORA-06512: at "SYS.DBMS_METADATA", line 2792
    ORA-06512: at "SYS.DBMS_METADATA", line 3423
    ORA-06512: at "SYS.DBMS_METADATA", line 4760
    ORA-06512: at "SYS.DBMS_METADATA", line 5079
    ORA-06512: at "SYS.DBMS_METADATA", line 9020

    Job "SYS"."SYS_EXPORT_FULL_03" stopped due to fatal error at Sat Apr 4 11:27:20 2020 elapsed 0 00:09:19

    CAUSE

    Corruption in the Data Pump catalog.

    SOLUTION

    Reload Data Pump Utility.

    Note 430221.1 How To Reload DataPump Utility EXPDP/IMPDP

    In some cases DataPump utility may get corrupted and we need to recreate DataPump utility to overcome internal corruption. To do this, run specified scripts for Oracle version that you are running as given below.

    Note:  Run the following as sysdba user:

    SQL> connect / as sysdba


    For Oracle version 10.1 :

    -- 1. Catdp.sql orders the installation of all its components including the Metadata API which was previously installed separately. By default catproc.sql invoke this script.

    SQL> @$ORACLE_HOME/rdbms/admin/catdp.sql


    -- 2. dbmspump.sql will create DBMS procedures for dataPUMP

    SQL> @$ORACLE_HOME/rdbms/admin/dbmspump.sql

     
    For Oracle version 10.2:

    -- 1.Catdph.sql will Re-Install DataPump types and views

    SQL> @$ORACLE_HOME/rdbms/admin/catdph.sql


    -- Note:
    -- If XDB is installed, then it is required to run "catmetx.sql" script also.
    -- Use this code to verify if XDB is installed:

    SQL> select substr(comp_name,1,30) comp_name,
         substr(comp_id,1,10) comp_id,
         substr(version,1,12) version,
         status
         from dba_registry;

    -- Sample output if XDB installed,
    Oracle XML Database    XDB    -version-    VALID


    -- 2.prvtdtde.plb will re-install tde_library packages

    SQL> @$ORACLE_HOME/rdbms/admin/prvtdtde.plb


    -- 3. Catdpb.sql will Re-Install DataPump packages

    SQL> @$ORACLE_HOME/rdbms/admin/catdpb.sql


    -- 4.Dbmspump.sql will Re-Install DBMS DataPump objects

    SQL> @$ORACLE_HOME/rdbms/admin/dbmspump.sql


    -- 5. To recompile  invalid objects, if any

    SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql

     
    For Oracle version 11g and higher prior to 12c:

    -- 1.Catproc.sql

    SQL> @$ORACLE_HOME/rdbms/admin/catproc.sql


    -- 2.To recompile invalid objects, if any

    SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql
  • 相关阅读:
    【python】opencv教程CV2模块——图片处理,裁剪缩放加边框
    【python】opencv教程CV2模块——画图,来左边跟我一起画星星在右边画彩虹
    【python】opencv教程CV2模块——图片处理,剪切缩放旋转
    【python】opencv教程CV2模块——批量视频截屏
    【python】opencv教程CV2模块——视频捕获,延时摄影视频、鬼畜表情包密集制作
    代码-JS之正则验证邮箱格式
    代码-JS之正则解决结巴程序
    代码-JS之IE+GOOGLE兼容函数
    代码-JS之正则replace函数
    代码-JS之下拉菜单
  • 原文地址:https://www.cnblogs.com/muzisanshi/p/13912725.html
Copyright © 2011-2022 走看看