ORA-6509, ORA-6512. RAN CATALOG.SQL AND CATPROC.SQL AS NON-SYS USER
(Doc ID 1015902.4)
Last updated on DECEMBER 11, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 7.3.0.0 to 10.1.0.2 [Release 7.3.0 to 10.1]Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
Problem Description:
====================
After having run CATALOG.SQL and CATPROC.SQL in a schema other than
SYS you may experience problems. You may find invalid packages that
do not compile, or other inconsistencies in the database.
You may also receive the following error when trying to run a script
from SQL*Plus:
ORA-06509 "PL/SQL: ICD VECTOR MISSING FOR THIS PACKAGE"
ORA-06512 "Error accessing package DBMS_APPLICATION_INFO"
These errors don't occur if you log on as SYS.
You may need to install the Oracle Procedural option.
SET APPINFO requires Oracle Server Release 7.2 or later.
You have tried the following with no success:
1. Reran CATPROC.SQL.
2. Reran DBMSUTIL.SQL.
3. ALTER PACKAGE DBMS_APPLICATION_INFO COMPILE.
4. Relinked procedural option (mk -f ins_rdbms.mk procopt)
and install (mk -f ins_rdbms.mk install).
For the purpose of this article it is assumed that CATALOG.SQL
and CATPROC.SQL have been run as SYSTEM, although the same symptoms
would occur if they had been run in another schema.
Changes
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! |