impdp/expdpインポートエクスポートORA-39006 ORA-39213エラー

1051 ワード

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;