My Oracle Support Banner

Registering a Database With DBCA to OID 11g Fails with TNS-04409 and TNS-04405 (Doc ID 1566290.1)

Last updated on MAY 02, 2018

Applies to:

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

Symptoms

Registering a database with Database Configuration Assistant (DBCA) to Oracle Internet Directory (OID) 11g for Enterprise User Security (EUS) fails with TNS-04409 and TNS-04405.

The database (DB) gets partially registered in OID; an entry is created in OID however EUS login authentication fails.

Running DBCA in debug mode provides the following information:

...<snip>...
[Thread-34] [ 2013-03-21 13:42:22.539 EDT ] [NetworkUtils.registerDBWithDirSrvc:1916]  gdbName = EUSDB
[Thread-34] [ 2013-03-21 13:42:22.539 EDT ] [NetworkUtils.registerDBWithDirSrvc:1917]  sid = EUSDB
[Thread-34] [ 2013-03-21 13:42:22.539 EDT ] [NetworkUtils.registerDBWithDirSrvc:1918]  regWithFile = false
[Thread-34] [ 2013-03-21 13:42:22.540 EDT ] [NetworkUtils.registerDBWithDirSrvc:1919]  regWithDS = true
[Thread-34] [ 2013-03-21 13:42:22.704 EDT ] [NetworkUtils.registerDBWithDirSrvc:1976]  Before dbService.save SID: EUSDB gdbName: EUSDB
[Thread-34] [ 2013-03-21 13:42:22.705 EDT ] [NetworkUtils.registerDBWithDirSrvc:1978]  dbService:(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myoidhost.mycompany.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=EUSDB.mycompany.com)))
oracle.net.config.ServiceAliasException: TNS-04409: Directory service error
  caused by: oracle.net.config.DirectoryServiceException: TNS-04405: General error
  caused by: oracle.net.ldap.NNFLException
oracle.net.config.DirectoryServiceException: TNS-04405: General error
  caused by: oracle.net.ldap.NNFLException
oracle.net.ldap.NNFLException
    at oracle.net.config.DirectoryService.throwException(Unknown Source)
    at oracle.net.config.DirectoryService.update(Unknown Source)
    at oracle.net.config.DirectoryService.update(Unknown Source)
    at oracle.net.config.DatabaseService.addDBToSecurityDomain(Unknown Source)
    at oracle.sysman.assistants.util.NetworkUtils.registerDBWithDirSrvc(NetworkUtils.java:1987)
    at oracle.sysman.assistants.util.NetworkUtils.registerDBWithDirSrvc(NetworkUtils.java:1831)
    at oracle.sysman.assistants.util.step.network.DirServiceStep.executeImpl(DirServiceStep.java:248)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
    at oracle.sysman.assistants.dbca.backend.PreDBConfigureStep.executeImpl(PreDBConfigureStep.java:250)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
    at java.lang.Thread.run(Thread.java:637)
oracle.sysman.assistants.util.NetAPIException: TNS-04409: Directory service error
  caused by: oracle.net.config.DirectoryServiceException: TNS-04405: General error
  caused by: oracle.net.ldap.NNFLException
    at oracle.sysman.assistants.util.NetworkUtils.registerDBWithDirSrvc(NetworkUtils.java:1996)
    at oracle.sysman.assistants.util.NetworkUtils.registerDBWithDirSrvc(NetworkUtils.java:1831)
    at oracle.sysman.assistants.util.step.network.DirServiceStep.executeImpl(DirServiceStep.java:248)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:251)
    at oracle.sysman.assistants.dbca.backend.PreDBConfigureStep.executeImpl(PreDBConfigureStep.java:250)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2708)
    at java.lang.Thread.run(Thread.java:637)
...<snip>...

 

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.