Oracle/PLSQL: ORA-06508 ora Error
FranklinFaces.com
FranklinFaces.com - Oracle & SQL Server Database Forums for all IT Professionals
 Home          Members     Calendar     Who's On

Welcome Guest ( Login | Register )
        



Oracle/PLSQL: ORA-06508 ora Error Expand / Collapse
Message
Posted 2/19/2009 4:47:11 PM Post #86
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being
Recently we did an upgrade from 9.2 to 10g. After the upgrade we started seeing intermittent ORA-06508 along with ORA-06512 ora error codes.

We know everywhere we saw it shows the following:
We even opened up the TAR to find out what was going on back then and they weren't able to help at the time.

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

Cause:
You tried to call a stored procedure, but the stored procedure could not be found.

Action:
The options to resolve this Oracle error are:

1. The stored procedure may have been dropped. Try re-creating the stored procedure.
2. The stored procedure may have compiled with errors. Try fixing the errors and re-compiling.


After doing some research and even search metalink we came across a solution from the oracle do***entation.

To resolve it you have to follow these steps:

Shutdown your oracle database.
Startup in migrate mode (9i) or upgrade mode(10g).

Then Run the following script:


SQL> @?/rdbms/admin/utlirp


The utlirp script is in the $ORACLE_HOME/rdbms/admin directory.

Restart the database in normal and continue the activity. If any invalid objects still exist in the database, please also run:

SQL> @?/rdbms/admin/utlrp


This operation should be done because utlirp recompiles the plsql objects and set their status to the status of the current release.


Hope this helps. Now this is all do***ented in metalink : 370137.1 for those of you that have metalink accounts and for those that don't. Stick around
so we can help you in many other ways without having to pay.


Thanks,
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: silencer

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:17am

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.057. 7 queries. Compression Disabled.