ORA-04063: package body "WMSYS.LT_EXPORT_PKG" has errors

小白今天在导出数据库时,发现一报错:

. exporting post-schema procedural objects and actions
EXP-00008: ORACLE ERROR 4063 encountered
ORA-04063: package body "WMSYS.LT_EXPORT_PKG" has errors
ORA-06508: PL/SQL: could not find program unit being called: "WMSYS.LT_EXPORT_PKG"
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling WMSYS.LT_EXPORT_PKG.schema_info_exp. exporting statisticsExport terminated successfully with warnings.

原因:

数据库服务器做了安全加固操作,致使wmsys用户下所有的package body都不能用

解决办法:

步骤一: cd $ORACLE_HOME/rdbms/admin

步骤二: sqlplus "/as sysdba"

SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 9 14:58:50 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> @owminst.plb  


 

你可能感兴趣的:(Oracle)