设为首页 加入收藏

TOP

Oracle expdp时遭遇ORA-39125 ORA-04063解决(二)
2014-11-24 01:21:41 来源: 作者: 【 】 浏览:12
Tags:Oracle expdp 遭遇 ORA-39125 ORA-04063 解决
le.
// Can also be a table which has references to non-existent or
// inaccessible types.
// *Action: Fix the errors and/or create referenced objects as necessary.
--第二个ORA给出了相对比较具体一些的信息,执行过程或使用试图时有一些错误发生。
--结合导出时的错误提示来看是系统过程和视图调用出现了问题
--Oracle Metalink Doc ID 742018.1 给出了针对这个问题的解决方案。
--通常是由于一个全新的安装而部分组件无效所致。需要重建相关数据字典。
3、解决故障
SQL> set linesize 190
SQL> col comp_id for a12;
SQL> col comp_name for a35;
SQL> col version for a12;
SQL> select comp_id, comp_name, version, status from dba_registry;
COMP_ID COMP_NAME VERSION STATUS
------------ ----------------------------------- ------------ ---------------------------------
OLS Oracle Label Security 10.2.0.3.0 VALID
EXF Oracle Expression Filter 10.2.0.3.0 VALID
OWM Oracle Workspace Manager 10.2.0.1.0 VALID
CATALOG Oracle Database Catalog Views 10.2.0.3.0 INVALID
CATPROC Oracle Database Packages and Types 10.2.0.3.0 INVALID
JAVAVM JServer JAVA Virtual Machine 10.2.0.3.0 VALID
XML Oracle XDK 10.2.0.3.0 VALID
CATJAVA Oracle Database Java Packages 10.2.0.3.0 VALID
--从上面的查询可知,当前有2个 组件处于INVALID状态
--下面直接列出meatlink给出关于这个问题的解决步骤
cd $ORACLE_HOME/rdbms/admin
SQL> startup restrict
SQL> select count(*) from dba_objects where status='INVALID';
SQL> @catalog
SQL> @catproc
SQL> @utlrp <== To compile the invalid objects
SQL> select count(*) from dba_objects where status='INVALID';
col comp_id for a12
col comp_name for a30
col version for a12
select comp_id, comp_name, version, status from dba_registry;
SQL> shutdown immediate
SQL> startup
--完成上面的操作后,再次导出成功。
--注,重建数据字典动作较大,建议先备份数据库后再操作
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle 11Gr1监听报错TNS-12542 1.. 下一篇ORACLE EVENT -- Wait for scn ack

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: