11g Automatic Maintenance Jobs Fail With ORA-01031 When Database Vault Is Enabled

(Doc ID 950490.1)

Last updated on NOVEMBER 04, 2015

Applies to:

Oracle Server - Enterprise Edition - Version: and later   [Release: 11.1 and later ]
Information in this document applies to any platform.
Checked for relevance on 25-Aug-2011


In 11.1, system enabled jobs, ie: GATHER_STATS_JOB and/or DBMS_ADVISOR fail with ORA-1031
on objects protected by DV realms.
This situation is generally noticed in the alert log where errors like:
Errors in file /oracle/diag/rdbms/*****/*****/trace/*****_j001_1183862.trc:
ORA-12012: error on auto execute of job 67768
ORA-01031: insufficient privileges ORA-06512: at "SYS.DBMS_ADVISOR", line 201
ORA-06512: at "SYS.DBMS_SPACE", line 1544
ORA-06512: at "SYS.DBMS_SPACE", line 1610
would appear.


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