免费注册 查看新帖 |

Chinaunix

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

新鲜出炉的ORACLE导出问题,欢迎各位坛友高手免费品尝,谢谢了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-16 15:20 |只看该作者 |倒序浏览
以下数据库的导出错误哪位高手遇到过或熟悉,能给分析分析,支个招解决吗?
我的系统是redhat 4,数据库是oracle9206版本

[root@oracle ~]# su - oracle
[oracle@oracle ~]$ ps -ef|grep ora
root      5685     1  0 07:04 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/oracle.pid
mysql     5759  5685  0 07:04 ?        00:00:01 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/oracle.err --pid-file=/var/lib/mysql/oracle.pid
oracle   18525     1  0 15:17 ?        00:00:00 /opt/oracle/product/9.2.0.4/bin/tnslsnr LISTENER -inherit
oracle   18552     1  0 15:22 ?        00:00:00 ora_pmon_mydb
oracle   18554     1  0 15:22 ?        00:00:00 ora_dbw0_mydb
oracle   18556     1  0 15:22 ?        00:00:00 ora_lgwr_mydb
oracle   18558     1  0 15:22 ?        00:00:00 ora_ckpt_mydb
oracle   18560     1  0 15:22 ?        00:00:00 ora_smon_mydb
oracle   18562     1  0 15:22 ?        00:00:00 ora_reco_mydb
oracle   18564     1  0 15:22 ?        00:00:00 ora_s000_mydb
oracle   18566     1  0 15:22 ?        00:00:00 ora_d000_mydb
root     18782 18765  1 15:50 pts/2    00:00:00 su - oracle
oracle   18783 18782  1 15:50 pts/2    00:00:00 -bash
oracle   18817 18783  0 15:50 pts/2    00:00:00 ps -ef
oracle   18818 18783  0 15:50 pts/2    00:00:00 grep ora
[oracle@oracle ~]$ exp jiajia/jiajia@mydb file=mydb.dmp owner=jiajia

Export: Release 9.2.0.6.0 - Production on \uffff\uffff\uffff\uffff\uffff\uffff 10\uffff\uffff 30 15:50:31 2009

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


Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
Export done in ZHS16GBK character set and UTF8 NCHAR character set

About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 4068 encountered
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "SYS.DBMS_LOGREP_EXP", line 1815
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_LOGREP_EXP.schema_info_exp
. exporting foreign function library names for user JIAJIA
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user JIAJIA
About to export JIAJIA's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export JIAJIA's tables via Conventional Path ...
. . exporting table                     PLAN_TABLE          0 rows exported
. . exporting table                     STUDYTABLE          4 rows exported
. . exporting table                       TESTTEST          2 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
EXP-00008: ORACLE error 4068 encountered
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "SYS.DBMS_LOGREP_EXP", line 1815
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_LOGREP_EXP.schema_info_exp
. exporting statistics
Export terminated successfully with warnings.
[oracle@oracle ~]$

论坛徽章:
0
2 [报告]
发表于 2010-01-16 18:03 |只看该作者
杯具,真是杯具,木有人帮看看哦,帖子别沉哟
我是从9204升级到9206后做EXP出现的这个错误

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
3 [报告]
发表于 2010-01-16 22:51 |只看该作者
从字面看,是DBMS_LOGREP_UTIL这个包出现问题了。是不是升级过程中出错了啊。

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
4 [报告]
发表于 2010-01-18 12:35 |只看该作者
ORA-04068: existing state of packages has been discarded

我估计这个是主因,解决这个了就问题不大。

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
5 [报告]
发表于 2010-01-18 12:48 |只看该作者
估计是在升级过程中把包给整坏了。

论坛徽章:
0
6 [报告]
发表于 2010-01-19 11:32 |只看该作者
感谢上面坛友的跟贴,偶也觉得是升级过程出问题
不知有何解决方法吗?

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
7 [报告]
发表于 2010-01-19 16:57 |只看该作者
重新编译一下。看看那个包属于哪个SQL文件,然后从安装后的ORACLE目录中寻找到重新执行一次。

论坛徽章:
0
8 [报告]
发表于 2010-01-21 09:40 |只看该作者

回复 #7 renxiao2003 的帖子

你是说重新编译9206那个包吗?
哪位有ORACLE9204升级到9206的指导文档,我是LINUX平台的,补丁包是p3948480_9206_LINUX.zip这个

之前就是从9204用这个补丁包升级后发现EXP有问题,请高人支招。

[ 本帖最后由 atianyu 于 2010-1-21 09:52 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP