ORA-04065 ORA-06508 ORA-06512 ON PROGRAM UNITS THAT ARE VALID (Doc ID 1067179.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 09-Sep-2016***

Symptoms

Numerous trace files are generated with the following errors:
ORA-04065: not executed, altered or dropped
ORA-04065: not executed, altered or dropped stored procedure
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1

The object referenced in the errors is valid.
Flushing the shared pool temporarily alleviates the problem.

Changes

Database was migrated from 10.2.0.4 to 11.1.0.7.  The objects were constantly being updated.

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