Database Administration (MOSC)

MOSC Banner

Moving sys.aud$ from system tbs failed.

edited May 3, 2020 2:25PM in Database Administration (MOSC) 4 commentsAnswered

The Standard Oracle provided procedure failed in Oracle 12.1 in Pluggable database (12.2 version and Root level database are fine)

BEGIN

   DBMS_AUDIT_MGMT.set_audit_trail_location(audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_AUD_STD,

                                            audit_trail_location_value => 'AUDIT_TBS');

END;

/

ERROR at line 1:

ORA-04068: existing state of packages has been discarded

ORA-04065: not executed, altered or dropped stored procedure "SYS.DBMS_STATS"

ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_STATS"

ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 2902

ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 677

ORA-06512: at line 2

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center