My Oracle Support Banner

OID 11g - Adding/Modifying a TNS Entry Via Oracle Network Manager (NetMan / NetMgr) Fails with: Invalid Entry | Unable to write changes to the directory | TNS-04412 TNS-04409 TNS-04405. Via LDAP (ldapadd) Fails with: DSA is unwilling to perform (Doc ID 2297401.1)

Last updated on AUGUST 17, 2021

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.


Adding a TNS / TNSNAMES entry via Oracle Network Manager (Netman / Net Manager / NetMgr) to Oracle Internet Directory (OID) fails with errors:

Invalid Entry

Unable to write changes to the directory

Error Details show:

The exception ( occurred.
 message: error writing ServiceAlias to: LDAPDataStore [svr: <OID_HOSTHAME>:<NON_SSL_PORT>:<SSL_PORT>, type: OID, ctxt: cn=OracleContext,dc=<COMPANY>,dc=com, home: <path>]
original exception message: TNS-04412: A problem reading or writing an address
 caused by: TNS-04409: Directory service error
 caused by: TNS-04405: General error
 caused by:

Adding the tnsnames entry via command line fails with:

These same operations were working before, and this issue started suddenly.


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.