ITPub博客

首页 > Linux操作系统 > Linux操作系统 > [原创] expdp 问题快解

[原创] expdp 问题快解

原创 Linux操作系统 作者:yxyup 时间:2008-09-10 18:33:05 0 删除 编辑

1.问题1

ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors

[oracle@test1 exp]$ exp userid=yxyup/abc123 tables=t1 file=t1.dmp log=t1.log

Export: Release 10.2.0.3.0 - Production on Tue Sep 9 19:00:33 2008

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


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)

About to export specified tables via Conventional Path ...
. . exporting table                             T1
EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
ORA-06512: at "SYS.DBMS_LOGREP_EXP", line 2802
ORA-06512: at line 1
EXP-00085: The previous problem occurred when calling SYS.DBMS_LOGREP_EXP.instance_extended_info_exp for object 54381         10 rod
EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_LOGREP_UTIL"
ORA-06512: at "SYS.DBMS_LOGREP_EXP", line 2802
ORA-06512: at line 1
EXP-00085: The previous problem occurred when calling SYS.DBMS_LOGREP_EXP.instance_extended_info_exp for object 54381
Export terminated successfully with warnings.


解决方法
分别执行以下脚本
catalog.sql, catproc.sql, catblock.sql, catexp.sql

2.问题2

ORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAR

 


[oracle@test1 exp]$ exp system/abc123  wner=user1 file=user1.dmp log=user1.log

Export: Release 10.2.0.3.0 - Production on Tue Sep 9 19:41:09 2008

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


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)

About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user USER1
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user USER1
About to export USER1's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 932 encountered
ORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAR
EXP-00000: Export terminated unsuccessfully

解决方法
分别执行以下脚本
catmetx.sql
utlrp.sql

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7364032/viewspace-442939/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2007-12-06

  • 博文量
    163
  • 访问量
    1339390