Oracle資料庫從11.1.0.7升級到11.2.0.3 SYS.DBMS_AQADM_SYS包出現錯誤
Oracle資料庫從11.1.0.7升級到11.2.0.3 SYS.DBMS_AQADM_SYS包出現錯誤,最突出的表現是執行expdp備份時出現以下報錯:
[oracle@hisdb ~]$ expdp \'/ as sysdba\' directory=dump_dir2 dumpfile=orcl_full_bak040228.dmp full=y parallel=2
Export: Release 11.2.0.3.0 - Production on Fri Feb 28 23:16:59 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_FULL_02 for user SYS
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 798
ORA-39244: Event to disable dropping null bit image header during relational select
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPC$QUE_INT", line 1825
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
在metalink找到一篇文章用於解決該問題:
Data Pump Job Fails With ORA-31626 ORA-31637 ORA-39080 ORA-04063 And ORA-06508 (文件 ID 563701.1)
修改時間:2013-3-23型別:PROBLEM
In this Document
Symptoms |
Cause |
Solution |
References |
APPLIES TO:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]Information in this document applies to any platform.
SYMPTOMS
An error stack similar to the following occurs when running a Data Pump job:
With the Partitioning, OLAP and Data Mining options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user SYSTEM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 600
ORA-39080: failed to create queues "KUPC$C_1_20080413190701" and "" for Data Pump job
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPC$QUE_INT", line 1580
ORA-04063: package body "SYS.DBMS_AQADM_SYS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_AQADM_SYS"
CAUSE
This issue will happen if there is invalid SYS-owned objects, specially on these two scenarios:
i. Presence of user-created objects named the reserved word 'SYSTEM'. Naming any database object 'SYSTEM' can invalidate advanced queuing objects, which in turn can invalidate some components of the SYS.KUPC$DATAPUMP_QUETAB queue table, which Data Pump uses.
ii. Or if SYS.DBMS_AQADM is invalid.
SOLUTION
To resolve the problem, please apply the steps as described:
1. Remove any objects named the reserved word 'SYSTEM' as per Document 469895.1.
2. Then drop and recreate the SYS.KUPC$DATAPUMP_QUETAB queue table as per Document 361025.1
3. And finally, check and recompile SYS.DBMS_AQADM:
spool support.out
select owner, object_type, status from dba_objects where object_name = 'DBMS_AQADM';
alter package sys.DBMS_AQADM compile;
alter package sys.DBMS_AQADM compile body;
-- If any ALTER fails, then check the errors:
select * from dba_errors where name = 'DBMS_AQADM' and type = 'PACKAGE BODY';
-- If it indicates:
missing : SYS.AQ$_SCHEDULES ;
missing/invalid package specification : DBMS_PRVTAQIP
-- These are both created by catqueue.sql which is run from catproc.sql:
-- Execute catproc.sql:
$ORACLE_HOME/rdbms/admin/catproc.sql
$ORACLE_HOME//rdbms/admin/utlrp.sql
spool off
Still have questions ?
The goal of this community is to exchange knowledge and concepts about Oracle Streams Advanced Queuing (AQ) and distributed databases, with special consideration for the components listed below:
- Distributed Databases
- Streams Replication and Advanced Queuing
- Advanced Replication
- XA
1. Instance alert log file.
2. Trace file if generated
3. RDA report. Document 314422.1
4. Upload spooled text file 'support.out'
To provide feedback on this note, click on the "Rate this document" link above.
REFERENCES
NOTE:361025.1 - Invalid Objects After Installing a 10.2 PatchsetNOTE:469895.1 - CATUPGRD.SQL FOLLOWING MIGRATION LEAVES AQ OBJECTS INVALID
相關文章:
《Oracle Database 11.1.0.7 for Windows升級到11.2.0.3.4 for Linux遇到的問題》:http://blog.itpub.net/23135684/viewspace-751193/
--end--
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-1098482/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 資料庫從10.2.0.4升級到11.2.0.3Oracle資料庫
- oracle資料庫升級11.2.0.3升級到11.2.0.4Oracle資料庫
- oracle資料庫11.2.0.3升級到11.2.0.4Oracle資料庫
- oracle版本升級:從11.2.0.1到11.2.0.3Oracle
- 探索Oracle之資料庫升級二 11.2.0.3升級到11.2.0.4完整步驟Oracle資料庫
- 升級informix資料庫到10.0出現KAIO錯誤的解決辦法ORM資料庫AI
- Oracle 11.2.0.1 升級到11.2.0.3Oracle
- ORACLE 11.2.0.1升級到11.2.0.3Oracle
- Oracle 11.2.0.1升級到11.2.0.3Oracle
- 客戶資料庫升級後出現ORA-30004錯誤資料庫
- Oracle資料庫從 9.2.0.1 到 9.2.0.8升級步驟 for winOracle資料庫
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- ORACLE11.2.0.1升級到11.2.0.3Oracle
- Oracle資料庫從 9.2.0.1 到 9.2.0.8升級步驟for linuxOracle資料庫Linux
- ORACLE 使用DBCA安裝資料庫出現錯誤Oracle資料庫
- 探索Oracle之資料庫升級三 回退升級操作(11.2.0.4Downgrade 11.2.0.3)Oracle資料庫
- 如何升級Oracle Grid Infrastructure和RAC從11.2.0.3到11.2.0.4?OracleASTStruct
- 資料庫版本升級(upgrade 9.2.0.1 to11.2.0.3)資料庫
- solaris上建立oracle資料庫出現:out of memory 錯誤Oracle資料庫
- Oracle 資料庫升級Oracle資料庫
- oracle11.2.0.3升級到11.2.0.4出現查詢效能問題,分析處理Oracle
- 資料庫升級報錯資料庫
- 資料庫升級導致ORA-918錯誤資料庫
- Oracle Database 11.1.0.7 for Windows升級到11.2.0.3.4 for Linux遇到的問題OracleDatabaseWindowsLinux
- 升級到資料庫到10.2.0.5.0版本資料庫
- Oracle9i mount資料庫出現ORA-32700錯誤Oracle資料庫
- 資料庫升級後匯出報EXP-00056錯誤解決辦法資料庫
- 11.2.0.3 ASM例項出現ORA-4031錯誤導致資料庫歸檔失敗ASM資料庫
- 10g資料庫從10.2.0.4升級到10.2.0.5資料庫
- oracle 9i升級到oracle9208資料庫Oracle資料庫
- RAC資料庫升級到10.2.0.5資料庫
- Oracle資料庫升級(轉發)Oracle資料庫
- Oracle 資料庫 升級為 RACOracle資料庫
- ORA-39700錯誤(一般升級資料庫容易遇到)資料庫
- 解決升級資料庫時遇到的Text file busy錯誤資料庫
- Oracle10g升級時出現主目錄不相容錯誤Oracle
- Oracle資料庫關閉時,出現ORA-03113錯誤Oracle資料庫
- rac 升級crs 升級資料庫軟體,升級資料庫資料庫