My Oracle Support Banner

DBCA Registering DB with OID Fails with: TNS-04409: Directory service error caused by: oracle.net.config.DirectoryServiceException: TNS-04427: DirectoryService: could not connect (Doc ID 2506710.1)

Last updated on APRIL 03, 2023

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Advanced Networking Option - Version 11.0 and later
Oracle Net Services - Version 1.1.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Registering database (DB) with Oracle Internet Directory (OID) using Database Configuration Assistant (DBCA) fails.

DBCA trace.log shows errors:

...<snip>...
[Thread-43] [ 2019-02-13 15:19:26.121 GMT ] [BasicStep.execute:250]  Executing Step : DIR_SERVICE
[Thread-43] [ 2019-02-13 15:19:26.121 GMT ] [BasicStep.configureSettings:353]  messageHandler being set=null
[Thread-43] [ 2019-02-13 15:19:26.122 GMT ] [DirServiceStep.executeImpl:235]  bRegister: false
[Thread-43] [ 2019-02-13 15:19:26.122 GMT ] [NetworkUtils.bindToDirSrvc:1477]  Trying NNFL_AUTH_SSL_NOAUTH
[Thread-43] [ 2019-02-13 15:19:26.293 GMT ] [NetworkUtils.bindToDirSrvc:1481]  Bind successful with NNFL_AUTH_SSL_NOAUTH
[Thread-43] [ 2019-02-13 15:19:26.294 GMT ] [DirServiceStep.executeImpl:416]  Database CN : <DB>
[Thread-43] [ 2019-02-13 15:19:26.294 GMT ] [NetworkUtils.deleteDBFromDirSrvc:1607]  dbName = <DB>
[Thread-43] [ 2019-02-13 15:19:35.204 GMT ] [NetworkUtils.deleteDBFromDirSrvc:1622]  TNS-04409: Directory service error
  caused by: oracle.net.config.DirectoryServiceException: TNS-04427: DirectoryService: could not connect
  caused by: oracle.net.ldap.NNFLException
oracle.net.config.ServiceAlias.delete(Unknown Source)
oracle.net.config.DatabaseService.delete(Unknown Source)
oracle.net.config.DatabaseService.delete(Unknown Source)
oracle.sysman.assistants.util.NetworkUtils.deleteDBFromDirSrvc(NetworkUtils.java:1617)
oracle.sysman.assistants.util.step.network.DirServiceStep.executeImpl(DirServiceStep.java:417)
oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:259)
oracle.sysman.assistants.util.step.BasicStep.callStep(BasicStep.java:300)
oracle.sysman.assistants.dbca.backend.PreDBConfigureStep.executeImpl(PreDBConfigureStep.java:217)
oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:259)
oracle.sysman.assistants.util.step.Step.execute(Step.java:135)
oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2883)
java.lang.Thread.run(Thread.java:761)
...<snip>...


OID debugged logs show no related errors and no occurrences of the DB name, as if the connection never made it into OID server.

Changes

 

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
Changes
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.