impdp/expdp導入導出出現ORA-39006 ORA-39213錯誤

1 在終端中運行導入命令,命令如下:

impdp sys/oracle SCHEMAS=EARADMIN directory=PUMP_DIR dumpfile=EARADMIN.dmp logfile=EARADMIN02.log

2  系統提示錯誤如下:

ORA-39006: internal error
ORA-39213: Metadata processing is not available

3 問題分析,使用系統自帶的命令

[oracle@oracle trace]$ oerr ora 39009
39009, 00000, "Starting %s:  %s"
// *Document: NO
// *Cause:  Informational message to describe the starting of a job.
// *Action: None required.
[oracle@oracle trace]$ oerr ora 39213
39213, 00000, "Metadata processing is not available"
// *Cause:  The Data Pump could not use the Metadata API.  Typically,
//          this is caused by the XSL stylesheets not being set up properly.
// *Action: Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets
//          to reload the stylesheets.
[oracle@oracle trace]$ 
4 解決辦法:以sysdba登陸到系統,執行命令

SQL> conn / as sysdba
SQL> exec dbms_metadata_util.load_stylesheets;







發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章