免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3032 | 回复: 8
打印 上一主题 下一主题

大吓帮我看看为什么exp失败. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-20 00:13 |只看该作者 |倒序浏览
系统为:solaris8+oracle9 能exp出一张或则多张表,但是不能exp出某个用户的所有对象.exp信息如下:
smgx1% exp system/manager@oracle9 owner=mmsc file=/opt/oracle/temp/test.dmp

Export: Release 9.2.0.5.0 - Production on Tue Jul 19 15:57:27 2005

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
JServer Release 9.2.0.5.0 - Production
Export done in US7ASCII character set and UTF8 NCHAR character set

About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user MMSC
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user MMSC
About to export MMSC's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
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-00000: Export terminated unsuccessfully
smgx1%



smgx1% exp mmsc/mmsc file=/opt/oracle/temp/test.dmp

Export: Release 9.2.0.5.0 - Production on Tue Jul 19 16:06:20 2005

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
JServer Release 9.2.0.5.0 - Production
Export done in US7ASCII character set and UTF8 NCHAR character set

About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user MMSC
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user MMSC
About to export MMSC's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
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-00000: Export terminated unsuccessfully
smgx1%






smgx1% exp mmsc/mmsc full=y file=/opt/oracle/temp/test.dmp

Export: Release 9.2.0.5.0 - Production on Tue Jul 19 16:09:19 2005

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
JServer Release 9.2.0.5.0 - Production
Export done in US7ASCII character set and UTF8 NCHAR character set

About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
. exporting cluster definitions
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
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-00000: Export terminated unsuccessfully
smgx1%

为什么exp失败,大吓指点一下,多谢了!!!!

论坛徽章:
0
2 [报告]
发表于 2005-07-20 10:27 |只看该作者

大吓帮我看看为什么exp失败.

你不要用命令格式,用用自动提示呢?

论坛徽章:
0
3 [报告]
发表于 2005-07-20 17:09 |只看该作者

大吓帮我看看为什么exp失败.

自己顶一下

论坛徽章:
0
4 [报告]
发表于 2005-07-21 15:21 |只看该作者

大吓帮我看看为什么exp失败.

用户有exp,imp等DBA的权限,还是exp失败,再顶一下.

论坛徽章:
0
5 [报告]
发表于 2005-07-21 15:36 |只看该作者

大吓帮我看看为什么exp失败.

个人认为应该用第一个命令来导,但是参数是不是有点问题呢?

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
6 [报告]
发表于 2005-07-21 15:54 |只看该作者

大吓帮我看看为什么exp失败.

如果加上这些参数呢?
INDEXES=n TRIGGERS=n FEEDBACK=xxxx?

论坛徽章:
0
7 [报告]
发表于 2005-07-22 01:34 |只看该作者

大吓帮我看看为什么exp失败.

INDEXES=n TRIGGERS=n FEEDBACK=xxxx?
加了以上参数也不行阿,奇怪..

论坛徽章:
0
8 [报告]
发表于 2005-07-22 01:34 |只看该作者

大吓帮我看看为什么exp失败.

INDEXES=n TRIGGERS=n FEEDBACK=xxxx?
加了以上参数也不行阿,奇怪..

论坛徽章:
0
9 [报告]
发表于 2005-07-22 09:11 |只看该作者

大吓帮我看看为什么exp失败.

首先查看一下你在=/opt/oracle/temp/中是否有写权限
如果还不行,同时数据库不需要XML功能,就需要将XDB表空间drop掉再试试。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP