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 MARCH 06, 2024

Applies to:

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

Symptoms

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 (oracle.net.common.dataStore.DataStoreException) 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: oracle.net.config.SOExceptionConfig: TNS-04409: Directory service error
 caused by: oracle.net.config.DirectoryServiceException: TNS-04405: General error
 caused by: oracle.net.ldap.NNFLException
...<etc>...


Adding the tnsnames entry via command line fails with:


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

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


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