expdp ORA-31626: job does not exist 解决方案

expdp  ORA-31626: job does not exist 解决方案

 

1、问题

[oracle@oracle-T ~]$ expdp doudou/oracle@test directory=dump dumpfile=doudou.dmp schemas=doudou

 

Export: Release 10.2.0.1.0 - 64bit Production on Friday, 30 November, 2012 9:46:43

 

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

 

Connected to: Oracle Database 10g Release 10.2.0.1.0 - 64bit Production

ORA-31626: job does not exist

ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user DOUDOU

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95

ORA-06512: at "SYS.KUPV$FT_INT", line 600

ORA-39080: failed to create queues "" and "" for Data Pump job

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95

ORA-06512: at "SYS.KUPC$QUE_INT", line 1555

ORA-01403: no data found

 

2、解决方法:

@?/rdbms/admin/catalog.sql

@?/rdbms/admin/catproc.sql

[后续此库出现问题:EXP-00056: ORACLE error 932 encountered]

解决方法


SQL> connect / as sysdba 
SQL> @?/rdbms/admin/catmetx.sql 
SQL> @?/rdbms/admin/utlrp.sql


BLOG链接:http://blog.csdn.net/lovehewenyu/article/details/8276736

 

3、正确答案

[oracle@oracle-T ~]$ expdp doudou/oracle@test DIRECTORY=dump DUMPFILE=exp.dmp SCHEMAS=doudou

 

Export: Release 10.2.0.1.0 - 64bit Production on Friday, 30 November, 2012 10:20:18

 

Copyright (c) 2003, 2005, Oracle.  All rights reserved.

 

Connected to: Oracle Database 10g Release 10.2.0.1.0 - 64bit Production

FLASHBACK automatically enabled to preserve database integrity.

Starting "DOUDOU"."SYS_EXPORT_SCHEMA_01":  doudou/********@test DIRECTORY=dump DUMPFILE=exp.dmp SCHEMAS=doudou

Estimate in progress using BLOCKS method...

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 128 KB

Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

Processing object type SCHEMA_EXPORT/TABLE/TABLE

Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT

Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS

Processing object type SCHEMA_EXPORT/TABLE/COMMENT

Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

. . exported "DOUDOU"."TEST1"                            5.273 KB       1 rows

. . exported "DOUDOU"."TEST"                                 0 KB       0 rows

Master table "DOUDOU"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded

******************************************************************************

Dump file set for DOUDOU.SYS_EXPORT_SCHEMA_01 is:

  /home/oracle/exp.dmp

Job "DOUDOU"."SYS_EXPORT_SCHEMA_01" successfully completed at 10:20:26

 

总结:

这种错误通常都是由于Oracle软件升级之后和库不一致产生的,需要重新

执行catalog.sql and catproc.sql来配置后台数据字典

sql>@?/rdbms/admin/catalog.sql

sql>@?/rdbms/admin/catproc.sql

 【执行数据字典的编写应该检测是否有失效的对象,如有失效应该执行以下】


SQL> connect / as sysdba 
SQL> @?/rdbms/admin/catmetx.sql 
SQL> @?/rdbms/admin/utlrp.sql


问题: EXP-00056: ORACLE error 932 encountered

答案:BLOG链接:http://blog.csdn.net/lovehewenyu/article/details/8276736

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值