Database Vault Violation While Compiling A Public Synonynm (Doc ID 1352991.1)

Last updated on NOVEMBER 22, 2016

Applies to:

Oracle Database Vault - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

Compiling an invalid synonym fails with ORA-47401:


SQL> select object_id, status from dba_objects where owner='PUBLIC' and object_name = 'DBA_HIST_FILESTATXS';

OBJECT_ID STATUS
---------- -------
9339 INVALID

SQL> exec dbms_utility.validate(9339);

begin dbms_utility.validate(9339); end;

ORA-04045: errors during recompilation/revalidation of PUBLIC.DBA_HIST_FILESTATXS
ORA-47401: Realm violation for alter view on SYS.DBA_HIST_FILESTATXS
ORA-06512: at "DVSYS.AUTHORIZE_EVENT", line 55
ORA-06512: at line 31
ORA-06512: at "SYS.DBMS_UTILITY", line 932
ORA-06512: at line 2




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