My Oracle Support Banner

ORA-04065 ORA-06508 Running A PL/SQL Application (Doc ID 605008.1)

Last updated on SEPTEMBER 05, 2023

Applies to:

Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Private synonyms are defined for PLSQL packages

Calls to the packages may fail with:

ORA-04065 "not executed, altered or dropped %s"
ORA-06508 "PL/SQL: could not find program unit being called"

Or other similar issues such as:

PLS-00907: cannot load library unit XXXXX.XXXXX (referenced by )

Executing the query in:

<Note 456338.1>  ORA-4068 ORA-4065 ORA-06508 Errors Signalled For Valid Objects

Shows a list of private synonyms are out of sync.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.