ORA-39126 ORA-00904 ORA-06512解決過程
expdp test/123456 dumpfile=b.dmp directory=DUMP_DLSP
使用資料汞的過程中遭遇如下錯誤,從我使用的參數來看,並沒有使用什麼進階的參數,都是最最普通的參數。查看MOS,沒發現有跟我比較類似的報錯資訊。通過10046也沒跟蹤到有價值的報錯資訊。
Export: Release 11.2.0.3.0 - Production on Mon Feb 17 14:17:44 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
FLASHBACK automatically enabled to preserve database integrity.
Starting "TEST"."SYS_EXPORT_SCHEMA_08": test/******** dumpfile=b.dmp directory=DUMP_DLSP REUSE_DUMPFILES=y
Estimate in progress using BLOCKS method...
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS []
ORA-00904: : invalid identifier
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8996
----- PL/SQL Call Stack -----
object line object
handle number name
0x613b0898 20462 package body SYS.KUPW$WORKER
0x613b0898 9028 package body SYS.KUPW$WORKER
0x613b0898 10935 package body SYS.KUPW$WORKER
0x613b0898 13698 package body SYS.KUPW$WORKER
0x613b0898 2654 package body SYS.KUPW$WORKER
0x613b0898 9697 package body SYS.KUPW$WORKER
0x613b0898 1775 package body SYS.KUPW$WORKER
0x6145f9f0 2 anonymous block
Estimate in progress using BLOCKS method...
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS []
ORA-00904: : invalid identifier
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8996
----- PL/SQL Call Stack -----
object line object
handle number name
0x613b0898 20462 package body SYS.KUPW$WORKER
0x613b0898 9028 package body SYS.KUPW$WORKER
0x613b0898 10935 package body SYS.KUPW$WORKER
0x613b0898 13698 package body SYS.KUPW$WORKER
0x613b0898 2654 package body SYS.KUPW$WORKER
0x613b0898 9697 package body SYS.KUPW$WORKER
0x613b0898 1775 package body SYS.KUPW$WORKER
0x6145f9f0 2 anonymous block
Job "TEST"."SYS_EXPORT_SCHEMA_08" stopped due to fatal error at 14:17:48
詢問同事是否這個資料庫一直存在資料汞不能使用的問題,回覆一直可以使用,是剛發現的問題。
回想這幾天我對這個資料庫的操作,懷疑到可能是許可權的問題,因為之前做過一個操作,取消了DBMS_METADATA的public許可權。
而資料汞匯出資料過程中是要擷取表結構資訊的。
因此嘗試重新賦予DBMS_METADATA為public許可權,問題解決。
--------------------------------------------------------------------------------
Linux-6-64下安裝Oracle 12C筆記
在CentOS 6.4下安裝Oracle 11gR2(x64)
Oracle 11gR2 在VMWare虛擬機器中安裝步驟
Debian 下 安裝 Oracle 11g XE R2
--------------------------------------------------------------------------------