Solved

ora-04063: package body "SYS.DBMS_AQADM_SYS" has errors

Posted on 2014-10-15
4
1,165 Views
Last Modified: 2014-12-11
I'm seeing ora-04063: package body "SYS.DBMS_AQADM_SYS" has errors after database upgrade to oracle 12.1.0.2
0
Comment
Question by:JohnG316
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40382496
Is this database a CDB/PDB setup or a stand-along database?

What program are you running that generates that error?
Are you sure the upgrade completed without errors?

Try running utlrp.

If a stand-alone: from sqlplus, connect as sysdba and run:
@?/rdbms/admin/utlrp

Not messed with CDB/PDB but utlrp looks like it has changed with them:
http://docs.oracle.com/database/121/UPGRD/upgrade.htm#UPGRD12411

Run utlrp.sql to recompile any remaining stored PL/SQL and Java code.

$ORACLE_HOME/perl/bin/perl catcon.pl -n 1 -e -b utlrp -d '''.''' utlrp.sql
0
 

Author Comment

by:JohnG316
ID: 40386811
Its a stand alone db. I received the message originally while upgrading the db from 11.2.0.4 to 12.1.0.2. I used DBUA to upgrade and was given the option to ignore or abort. I chose ignore. The upgrade finished after that. I have run utlrp several times. It does have 114 invalid objects but this is not unusual for this db. SYS.DBMS_AQADM_SYS is Valid. I'm not finding any hits on Metalink(Oracle Support). The database appears to be running normally except this error will show up . Thanks for the input.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40386830
I would open an SR with Oracle Support on this once you can get a reproducible test case.

If you have the reproducible test case can you post it here?

I'm currently migrating from 12.1.0.1 to 12.1.0.2 as I type this...  I can run the test case on my system so see if I can reproduce it.  Might be a 12.1.0.2 new 'feature' (bug).
0
 

Author Closing Comment

by:JohnG316
ID: 40493797
I'm not sure where this request came from, because it wasn't from me, the account owner.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle RAC 12c 8 72
Need a replacement data type in Oracle 6 77
oracle 11g 23 80
Oracle Verification of DataPump Export and Import 17 56
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to recover a database from a user managed backup

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question