oracle-04045,8170导出(exp)数据报错ORA-04045错误

给radius的linux系统数据库做备份,导出数据时报错,无法正确导出,信息如下:

Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production

With the Partitioning option

JServer Release 8.1.7.0.0 - Production

Export done in US7ASCII character set and US7ASCII NCHAR character set

About to export the entire database ...

. exporting tablespace definitions

. exporting profiles

. exporting user definitions

. exporting roles

EXP-00008: ORACLE error 4045 encountered

ORA-04045: errors during recompilation/revalidation of SYS.DBMS_AQ_SYS_EXP_INTERNAL

ORA-06552: PL/SQL: Compilation unit analysis terminated

ORA-06553: PLS-905: object SYS.AQ$_SUBSCRIBERS is invalid

ORA-06508: PL/SQL: could not find program unit being called

ORA-06512: at "SYS.DBMS_AQ_EXP_QUEUES", line 141

ORA-06512: at line 1

EXP-00083: The previous problem occurred when calling SYS.DBMS_AQ_EXP_QUEUES.grant_sysprivs_exp

. exporting resource costs

……………………

感觉是系统进程出现了什么问题,查metalink解释如下:

fact: Oracle Server - Enterprise Edition 8.1

fact: Advanced Queuing (QUEUE)

fact: Export Utility (EXP)

symptom: Export terminated unsuccessfully due to invalid advanced queuing

objects

symptom: EXP-00008: ORACLE error %lu encountered

symptom: ORA-04045: errors during recompilation/revalidation of %s.%s

symptom: SYS.DBMS_AQ_IMPORT_INTERNAL

symptom: ORA-06553: PLS-%s: %s

symptom: PLS-905: object %s is invalid

symptom: SYS.AQ$_SUBSCRIBERS

cause: The interdependency of DBMS_AQ_IMPORT_INTERNAL on AQ$_SUBSCRIBERS is

complex and indirect therefore the cause would be difficult to determine.

fix:

The solution is to perform the following

In your init.ora place

_SYSTEM_TRIG_ENABLED=FALSE

and stop and restart the database. As internal or sys with sysdba run

do the following with sqlplus.

ALTER SESSION SET EVENTS '10520 TRACE NAME CONTEXT FOREVER, LEVEL 10'

?/rdbms/admin/utlirp.sql

ALTER SESSION SET EVENTS '10520 TRACE NAME CONTEXT OFF'

Shutdown the database

Remove

_SYSTEM_TRIG_ENABLED=FALSE

from you init.ora and start the database up.

按照解决方法操作后,问题解决。老版本问题还是多多啊。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值