Logstby Error When DBMS_AUDIT_MGMT Procedures Are Invoked For FGA_LOG$

(Doc ID 579038.1)

Last updated on MARCH 14, 2010

Applies to:

Oracle Audit Vault - Version: 10.2.3 to 10.2.3
Oracle Server - Enterprise Edition - Version: to
Information in this document applies to any platform.


DBMS_AUDIT_MGMT is a new package that is part of the management features of Audit Vault and is distributed as a patch you can apply on the source database.

Please use the following patches for the respective versions: <> MLR ON TOP OF FOR AUDIT TRAIL CLEAN-UP <> MLR ON TOP OF FOR AUDIT TRAIL CLEAN-UP

The Logical Standby package gets invalidated when one of the following APIs from DBMS_AUDIT_MGMT is invoked for DBMS_AUDIT_MGMT.AUDIT_TRAIL_FGA_STD or DBMS_AUDIT_MGMT.AUDIT_TRAIL_DB_STD or DBMS_AUDIT_MGMT.AUDIT_TRAIL_ALL:


In other words, when the FGA Audit table is involved in either DBMS_AUDIT_MGMT.INIT_CLEANUP or DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION, because of the static reference in SYS.DBMS_INTERNAL_LOGSTDBY, the package gets invalidated.

Hence, an error similar to the following can be seen:

ERROR at line 1: 
ORA-00942: table or view does not exist 
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 2670 
ORA-04061: existing state of has been invalidated 
ORA-04061: existing state of package body "SYS.DBMS_INTERNAL_LOGSTDBY" 
has been 
ORA-06508: PL/SQL: could not find program unit being called: 
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 1489 
ORA-06512: at line 1 


Any of the above patches is installed on the respective source database version.


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