My Oracle Support Banner

How to Start/Stop the 12c OID Server (in New WLST Commands replacing "OPMN") / Encountering "Unable To Bind To LDAP Server" Error after System Reboot. (Doc ID 2450451.1)

Last updated on OCTOBER 17, 2018

Applies to:

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


The following issue is described:

Issue: Unable to bind to LDAP server

Situation Description
 - New OID installation.
 - The "oid_setup" command completed successfully and initial testing was confirmed - ldapbind was working at this point.
 - Stopped Services and Rebooted the System.
 - Started Nodemanager and WLS AdminServer.
 - The "oid_instancestatus" shows the OID is up.

but ldapbind will no longer connect.

Error Output
-bash-4.2$ export ORACLE_HOME=/oracle/Middleware/Oracle_Home
-bash-4.2$ $ORACLE_HOME/bin/ldapbind -h hostname -p 3060 -D cn=orcladmin -w xxxxxxx
Cannot connect to the LDAP server

Environment Details
## List of OID instances:
## =======================
## [oid1]
## =======================
## Instance name, Host name, State
## ==================================
## oid1,, RUNNING
## ==================================
## ===============
## Host = localhost
## Port = 3060
## sslMode = -1
## sslwrl = /



The system was rebooted, and/or the OID Server processes were stopped (or simply not running),
by means other than the official 12c procedures.



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.