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: 10.2.0.3 to 10.2.0.3
Information in this document applies to any platform.

Symptoms

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:

10.2.0.3 <<patch 6989148>> MLR ON TOP OF 10.2.0.3 FOR AUDIT TRAIL CLEAN-UP

10.2.0.4 <<patch 6996030>> MLR ON TOP OF 10.2.0.4 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:

  - SET_AUDIT_TRAIL_LOCATION
  - INIT_CLEANUP

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 
invalidated 
ORA-06508: PL/SQL: could not find program unit being called: 
"SYS.DBMS_INTERNAL_LOGSTDBY" 
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 1489 
ORA-06512: at line 1 

Changes

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

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