数据库学习日常案例2031215-Expdp Failing With ORA-06512: At “SYS.KUPC$QUE_INT“ errorstack 跟踪ora-0955

1 APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

2 SYMPTOMS

When trying to run Export utility expdp, it fails with below error:

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_TABLE_01 for user SYS
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 798
ORA-39244: Event to disable dropping null bit image header during relational select
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPC$QUE_INT", line 1825
ORA-00955: name is already used by an existing object

3 CHANGES

Recreated Datapump queue (KUPC$DATAPUMP_QUETAB_<n>)

4 CAUSE

The ERRORSTACK trace for ORA-00955 shows the object "sys.AQ$_KUPC$DATAPUMP_QUETAB_1_N" as the culprit for the ORA-00955 error:

dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x0, level=4, mask=0x0)
----- Error Stack Dump -----
ORA-00955: name is already used by an existing object
----- Current SQL Statement for this session (sql_id=80hmdx0fpstrg) -----
CREATE SEQUENCE "SYS"."AQ$_KUPC$DATAPUMP_QUETAB_1_N" START WITH 1
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----

This will happen whenever Data Pump queue table "KUPC$DATAPUMP_QUETAB_<n>" is recreated and for some reason the SEQUENCE object associated to it is not dropped properly.

Note: To enable ERRORSTACK trace before executing the expdp utility, run below command at the affected database:

conn / as sysdba
alter system set events '955 trace name errorstack level 4' ;

The Errorstack trace will be placed at the database diagnostic trace directory.

To disable tracing event execute at any time:

alter system set events '955 trace name errorstack off' ;

5 SOLUTION

Follow these steps to fix this:

1. Rename SEQUENCE object SYS.AQ$_KUPC$DATAPUMP_QUETAB_1_N:

connect / as sysdba
rename AQ$_KUPC$DATAPUMP_QUETAB_1_N to AQ$_KUPC$DATAPUMP_QUETAB_1_N_B;

2. Check if expdp runs fine

3. Assuming that the problem is solved after renaming of SEQUENCE object, the next step is to drop it:

connect / as sysdba
drop sequence AQ$_KUPC$DATAPUMP_QUETAB_1_N_B;

Note: For RAC environments, let say 2-node RAC, there may be a second SEQUENCE object called SYS.AQ$_KUPC$DATAPUMP_QUETAB_2_N, so the same above steps must be carried to SYS.AQ$_KUPC$DATAPUMP_QUETAB_2_N as well. For 3-node RAC and so on, there will be 3 sequences and so on, all must be removed as noted above.

  • 16
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用:expdp报错如下: ORA-31626 ORA-31637 ORA-06512 ORA-06512 ORA-39062 ORA-31613 ORA-31626: job does not exist ORA-31637: cannot create job SYS_EXPORT_SCHEMA_06 for user SYSTEM ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95 ORA-06512: at "SYS.KUPV$FT", line 1587 ORA-39062: error creating master process DM00 ORA-31613: Master process DM00 failed during startup 。 引用:ORA-39126: Worker unexpected fatal error in KUPW$WORKER.MOVE_DATA [TABLE_DATA:"EPM_SC"."ARC_R_DATA":"AOTHER"."AOTHER_1707"] SELECT flags, NVL(target_xml_clob,xml_clob) FROM "SYSTEM"."EPMSC_ARC_R_DATA" WHERE process_order = :1 ORA-01555: snapshot too old: rollback segment number with name "" too small ORA-22924: snapshot too old ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105 ORA-06512: at "SYS.KUPW$WORKER", line 9721 ----- PL/SQL Call Stack ----- object line object handle number name 0x9b6e814c0 21979 package body SYS.KUPW$WORKER 0x9b6e814c0 9742 package body SYS.KUPW$WORKER 0x9b6e814c0 16536 package body SYS.KUPW$WORKER 0x9b6e814c0 3230 package body SYS.KUPW$WORKER 0x9b6e814c0 10436 package body SYS.KUPW$WORKER 0x9b6e814c0 1824 package body SYS.KUPW$WORKER 0x9ae95ae48 2 anonymous block 。 引用:cd 29860716 opatch apply $ sqlplus /nolog SQL> CONNECT / AS SYSDBA SQL> @?/sqlpatch/29860716/postinstall.sql 。 ORA-31620: job does not exist ORA-31633: unable to create master table "SYS_EXPORT_SCHEMA_06"."SYS_IMPORT_FULL_01" ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95 ORA-06512: at "SYS.DBMS_DATAPUMP", line 4551 ORA-06512: at "SYS.DBMS_DATAPUMP", line 4803 ORA-06512: at line 1 ORA-01950: no privileges on tablespace '...' 根据引用,ORA-31620错误表示作业不存在。根据引用,ORA-31633错误表示无法创建主表。而ORA-06512错误是指在SYS.DBMS_SYS_ERROR的第95行和SYS.DBMS_DATAPUMP的第4551行发生了错误。ORA-01950错误表示在表空间上没有权限。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值