小白今天在导出数据库时,发现一报错:
. 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数据库导出工具时遇到的一个常见错误:ORA-04063及ORA-06508,并提供了详细的解决方案。该问题通常发生在数据库进行了安全加固之后,导致特定包无法正常工作。
855

被折叠的 条评论
为什么被折叠?



