My Oracle Support Banner

11g Automatic Maintenance Jobs Fail With ORA-01031 When Database Vault Is Enabled (Doc ID 950490.1)

Last updated on MARCH 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.