DBMS_AUDIT_MGMT.CREATE_PURGE_JOB Fails With Error 'ORA-46252: Cannot Complete The Operation, Overlapping Job Already Exists'
(Doc ID 1674110.1)
Last updated on DECEMBER 19, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Generic (Platform Independent)
Symptoms
On : 11.2.0.3 version, Database Security
When attempting to create a new purge job,
the following error occurs.
ERROR
-----------------------
ORA-46252: Cannot complete the operation, overlapping job already exists
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 61
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 2595
ORA-06512: at line 2
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. sqlplus / as sysdba
2. BEGIN
DBMS_AUDIT_MGMT.CREATE_PURGE_JOB (
AUDIT_TRAIL_TYPE => DBMS_AUDIT_MGMT.AUDIT_TRAIL_ALL,
AUDIT_TRAIL_PURGE_INTERVAL => 24,
AUDIT_TRAIL_PURGE_NAME => 'PURGE_ALL_AUDIT_TRAILS',
USE_LAST_ARCH_TIMESTAMP => TRUE );
END;
/
Cause
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
Symptoms |
Cause |
Solution |
References |