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]
解决方法
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
【执行数据字典的编写应该检测是否有失效的对象,如有失效应该执行以下】
问题: EXP-00056: ORACLE error 932 encountered
答案:BLOG链接:http://blog.csdn.net/lovehewenyu/article/details/8276736