记一次遇到ORA-39006,ORA-39213的解决办法


在客户的oracle 10.2.0.1环境下要准备进行迁移数据库,可是执行EXPDP的时候提示报错数据库

ORA-39006: internal errororacle

ORA-39213: Metadata processing is notavailableide

 

使用ORACLE用户,查看ORA-39213 具体内容:测试

oerr ora 39213this

39213, 00000, "Metadata processing isnot available"it

// *Cause: The Data Pump could not use the Metadata API.  Typically,io

//         this is caused by the XSL stylesheets not being set up properly.class

// *Action: Connect AS SYSDBA and executedbms_metadata_util.load_stylesheetssed

//         to reload the stylesheets.perl

根据提示,按以下操做

SQL> conn / as sysdba;

Connected.

SQL> executesys.dbms_metadata_util.load_stylesheets;

PL/SQL procedure successfully completed.

以后再执行EXPDP就再也不出现错误了,实际测试对在用的生产业务没有影响,能够放心使用

相关文章
相关标签/搜索