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

lovehewenyu發表於2012-11-30


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

 

 

 

感謝luda 大頭

http://blog.itpub.net/post/42643/507089/????


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26442936/viewspace-750314/,如需轉載,請註明出處,否則將追究法律責任。

相關文章