Cannot Delete ACL Privilege For A User ORA-4020 (Doc ID 1934103.1)

Last updated on NOVEMBER 10, 2016

Applies to:

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

Symptoms

On : 11.1.0.7 version, Database Security

When attempting to delete an ACL privilege
the following error occurs.

ERROR
-----------------------
ORA-04020: deadlock detected while trying to lock object ACLek7SJAUGRDaCpg+zn4ozGA==


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. sqlplus / as sysdba

2.SQL> BEGIN
  2 DBMS_NETWORK_ACL_ADMIN.DELETE_PRIVILEGE(
  3 acl => 'mailserver_acl.xml',
  4 principal => 'MROSKOWINSKI');
  5 END;
  6 /

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.07
SQL>

3.SQL> COMMIT;

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