﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-00000 Through ORA-09989   / Oracle/PLSQL: ORA-06508 ora Error / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Tue, 07 Sep 2010 09:40:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Oracle/PLSQL: ORA-06508 ora Error</title><link>http://franklinfaces.com/Topic86-54-1.aspx</link><description>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.&lt;BR&gt;&lt;BR&gt;We know everywhere we saw it shows the following:&lt;BR&gt;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.&lt;BR&gt;&lt;BR&gt;Error:&lt;BR&gt;ORA-06508: PL/SQL: could not find program unit being called&lt;BR&gt;&lt;BR&gt;Cause:&lt;BR&gt;You tried to call a stored procedure, but the stored procedure could not be found.&lt;BR&gt;&lt;BR&gt;Action:&lt;BR&gt;The options to resolve this Oracle error are:&lt;BR&gt;&lt;BR&gt;1. The stored procedure may have been dropped. Try re-creating the stored procedure.&lt;BR&gt;2. The stored procedure may have compiled with errors. Try fixing the errors and re-compiling.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;After doing some research and even search metalink we came across a solution from the oracle do***entation.&lt;BR&gt;&lt;BR&gt;To resolve it you have to follow these steps:&lt;BR&gt;&lt;BR&gt;Shutdown your oracle database.&lt;BR&gt;Startup in migrate mode (9i) or upgrade mode(10g).&lt;BR&gt;&lt;BR&gt;Then Run the following script:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; @?/rdbms/admin/utlirp&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;The utlirp script is in the $ORACLE_HOME/rdbms/admin directory.&lt;BR&gt;&lt;BR&gt;Restart the database in normal and continue the activity. If any invalid objects still exist in the database, please also run:&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; @?/rdbms/admin/utlrp&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;This operation should be done because utlirp recompiles the plsql objects and set their status to the status of the current release.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;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&lt;BR&gt;so we can help you in many other ways without having to pay.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks,</description><pubDate>Thu, 19 Feb 2009 16:47:11 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>