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 21, 2017

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: myoidhost.example.com:3060:3131, type: OID, ctxt: cn=OracleContext,dc=example,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.

Changes

 

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