Moving sys.aud$ from system tbs failed.
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