ORA-942 Compiling Package SYS.DBMS_INTERNAL_LOGSTDBY (Doc ID 1112296.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 02-Nov-2016***

Symptoms

You become aware that package DBMS_INTERNAL_LOGSTDBY is invalid and attempts to compile the package fail with error ORA-942.

SQL> connect / as sysdba
Connected.
SQL> alter package SYS.DBMS_INTERNAL_LOGSTDBY compile;

Warning: Package Body altered with compilation errors.

SQL> show errors
Errors for PACKAGE BODY SYS.DBMS_INTERNAL_LOGSTDBY:

LINE/COL ERROR
-------- ---------------------------------------------------------
3630/11 PL/SQL: SQL Statement ignored
3631/22 PL/SQL: ORA-00942: table or view does not exist
3635/11 PL/SQL: SQL Statement ignored
3636/22 PL/SQL: ORA-00942: table or view does not exist
SQL>


The solutions to recreate the package in documents 797605.1 and 309814.1 have been attempted but do not result in the package being valid.

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