Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1434372
  • 博文数量: 556
  • 博客积分: 12626
  • 博客等级: 上将
  • 技术积分: 5799
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-11 15:56
个人简介

从事IT基础架构多年,发现自己原来更合适去当老师……喜欢关注新鲜事物,不仅限于IT领域。

文章分类

全部博文(556)

文章存档

2019年(6)

2018年(15)

2017年(17)

2016年(11)

2015年(2)

2014年(2)

2013年(36)

2012年(54)

2011年(100)

2010年(41)

2009年(72)

2008年(14)

2007年(82)

2006年(104)

分类: Oracle

2006-04-03 16:53:55

    给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.
  • 按照解决方法操作后,问题解决。老版本问题还是多多啊。
    阅读(3198) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~