In the audit vault server database in the alert log I see the following error message.
Errors in file /u01/oracle/product/10.2.3/av_1/admin/av/bdump/av_j002_9157.trc: ORA-12012: error on auto execute of job 89 ORA-06550: line 1, column 97: PLS-00201: identifier 'DVSYS.SYNCHRONIZE_POLICY_FOR_OBJECT' must be declared ORA-06550: line 1, column 97: PL/SQL: Statement ignoredTrace file reports following entries.
*** SERVICE NAME:(SYS$USERS) 2011-12-11 11:55:52.892
*** SESSION ID:(203.673) 2011-12-11 11:55:52.892
*** 2011-12-11 11:55:52.892
ORA-12012: error on auto execute of job 89
ORA-06550: line 1, column 97:
PLS-00201: identifier 'DVSYS.SYNCHRONIZE_POLICY_FOR_OBJECT' must be declared
ORA-06550: line 1, column 97:
PL/SQL: Statement ignored
*** 2011-12-11 11:56:03.038
*** ACTION NAME:(GATHER_STATS_JOB) 2011-12-11 11:56:03.038
*** MODULE NAME:(DBMS_SCHEDULER) 2011-12-11 11:56:03.038
*** SERVICE NAME:(SYS$USERS) 2011-12-11 11:56:03.038
*** SESSION ID:(203.675) 2011-12-11 11:56:03.038
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.038
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV$METRICS"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.137
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV_NOTIFICATION_TEMPLATES"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.159
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV_LANG_MAP"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.164
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV_EXCLUDE_COLS"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.372
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV_ALERT_STATUSES"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.378
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV$POLICY_RETRIEVAL_STATUS"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.384
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV$UE_RETRIEVAL_STATUS"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.389
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV$UE_LABEL"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.395
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV$UE_SNAPSHOT"','""', ...)
ORA-01031: insufficient privileges
*** 2011-12-11 11:56:03.399
GATHER_STATS_JOB: GATHER_TABLE_STATS('"AVSYS"','"AV$UE_SNAPSHOT_LABEL_MAPPING"','""', ...)
ORA-01031: insufficient privileges
Too many errors... Rest of the erros are not reporded.
Cause of the Problem
Oracle is extremely buggy product and their audit vault has so many bugs too. This issue is also an Oracle bug. This will fire whenever you upgrade the AV RDBMS from 10.2.0.3.0 to 10.2.0.4.0. During the upgrade of Audit Vault database server the job dvsys.synchronize_policy_for_object is not dropped and this bug fires. Whenever you query what column on the table dba_jobs you will find similar entries like below:
SQL> select what from dba_jobs where SCHEMA_USER = 'DVSYS';
WHAT
--------------------------------------------------------------------------------
dvsys.synchronize_policy_for_object('TABLE','AVSYS','AV$RADS_MRG_20111128');
dvsys.synchronize_policy_for_object('TABLE','AVSYS','AV$RADS_MRG_20111201');
dvsys.synchronize_policy_for_object('TABLE','AVSYS','AV$RADS_MRG_20111202');
Solution of the Problem
You can simply ignore the error as from my experience I saw these error will not hurt to Audit Vault.
Otherwise, you can simply delete the job manually.







