EXP-00056: 遇到 ORACLE 错误 19206 的解决方法

本文详细介绍了在将一台服务器的数据迁移到另一台服务器时,使用exp命令时遇到的EXP-00056错误的解决方法。通过运行特定的脚本,可以修复由XDB安装导致的数据库视图问题,从而顺利进行数据迁移。

想把一台服务器上的数据全部导入到另一个服务器中,没想到在用exp时出下了EXP-00056的错误,上网找到如下解决方法,估计单位里大多数服务器都有这个问题,记在这里,好找一点:

EXP-00056: 遇到 ORACLE 错误 19206

连接到: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

即将导出指定的用户...
. 正在导出 pre-schema 过程对象和操作
. 正在导出用户 YLDLYX 的外部函数库名称
. 导出 PUBLIC 类型同义词
. 导出私有类型同义词
. 正在导出用户 YLDLYX 的对象类型定义
即将导出 YLDLYX 的对象 ...
. 正在导出数据库链接
. 正在导出序号
. 正在导出群集定义
EXP-00056: 遇到 ORACLE 错误 19206
ORA-19206: 用于查询或 REF CURSOR 参数的值无效
ORA-06512: 在"SYS.DBMS_XMLGEN", line 83
ORA-06512: 在"SYS.DBMS_METADATA", line 345
ORA-06512: 在"SYS.DBMS_METADATA", line 410
ORA-06512: 在"SYS.DBMS_METADATA", line 449
ORA-06512: 在"SYS.DBMS_METADATA", line 1156
ORA-06512: 在"SYS.DBMS_METADATA", line 1141
ORA-06512: 在line 1
EXP-00000: 导出终止失败

-----

ORA-19206 EXP-00056 While Taking Export
Doc ID: Note:206313.1 Type: PROBLEM
Last Revision Date: 22-OCT-2007 Status: PUBLISHED


Fact:
-----

Oracle Version 9.2.0.1
Export Version 9.2.0.1


Symptom:
---------

During export you receive the following errors:

EXP-00056: ORACLE error 19206 encountered
ORA-19206: Invalid value for query or REF CURSOR parameter
ORA-06512: at "SYS.DBMS_XMLGEN", line 83
ORA-06512: at "SYS.DBMS_METADATA", line 345
ORA-06512: at "SYS.DBMS_METADATA", line 410
ORA-06512: at "SYS.DBMS_METADATA", line 449
ORA-06512: at "SYS.DBMS_METADATA", line 1156
ORA-06512: at "SYS.DBMS_METADATA", line 1141
ORA-06512: at line 1
EXP-00056: ORACLE error 19206 encountered
EXP-00000: Export terminated unsuccessfully

Other symptoms seen:
ORA-600 [qmxtrGetInputOpn1]


Cause:
------

XDB installation/dictionary built causes some of the underlying views to be INVALID.
Here the error occurs when dbms_xmlgen tries to access one those invalid views.


Fix:
----

Run the following script. that resides under
$ORACLE_HOME/rdbms/admin directory after XDB dictionary is built
by connecting as user SYS :

catmeta.sql (Creates Object Model of Oracle dictionary)

After running this script, start the export of database again.
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值