My Oracle Support Banner

OUD11g/12c - Unable to Unregister DB in OUD with "[FATAL] Unable to delete database entry from the directory service. - TNS-04411: Directory service: permission denied" (Doc ID 2817826.1)

Last updated on NOVEMBER 03, 2021

Applies to:

Oracle Unified Directory - Version 11.1.2.3.0 and later
Advanced Networking Option - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to unregister DB with OUD
the following error occurs.

ERROR
-----------------------

$ dbca -silent -configureDatabase -sourceDB <ORACLE_SID> -unregisterWithDirService true -dirServiceUserName 'cn=<EUS_USER>,dc=<DOMAIN>' -dirServicePassword <password> -walletPassword <wallet_password>
Prepare for db operation
40% complete
Preparing to Configure Database
44% complete
80% complete
100% complete
[FATAL] Unable to delete database entry from the directory service. - TNS-04411: Directory service: permission denied
  caused by: oracle.net.config.DirectoryServiceException: TNS-04411: Directory service: permission denied
  caused by: oracle.net.ldap.NNFLException
Look at the log file "<PATH_TO_LOG>/<SID>.log" for further details.
and
OUD access logs:

[27/Oct/2021:09:16:34 +0200] DELETE RES conn=6512176 op=8 msgID=9 result=50 message="The entry cn=ADDRESS_0,cn=DESCRIPTION_0,cn=<ORACLE_SID>,cn=OracleContext,dc=<DOMAIN> cannot be deleted due to insufficient access rights" etime=1



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


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