ORA-06508 / ORA-04068 / ORA-04065 on Valid Packages in 11g in RAC Database (Doc ID 1058873.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.1 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 21-Jul-2017***

Symptoms

The bug described below can only be hit in a RAC database.

When running different applications, we can receive the following errors in alert.log or at user end on valid packages:

Errors in file <trace_file>.trc :
ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped stored procedure "<owner>.<procedure>"
ORA-06508: PL/SQL: could not find program unit being called: "<owner>.<package>"
ORA-06512: at "<owner>.<package>", line 149

Changes

Upgrade the database to 11g version.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms