OID 11g Starts On LDAP Non-SSL Port 0 (Zero) and Ldapbind Fails: 'Cannot connect to the LDAP server' / Log has ' Error: Listen failed, OS error = (98)' (Doc ID 1315329.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 13-DEC-2012***

Symptoms

Oracle Internet Directory (OID) 11g had been working before and no changes were made;

Backend Database (DB) was shutdown and after DB restarted, OID no longer worked.

OID startup via opmnctl reports OID is up and running, but shows nonssl port as 0 (zero).

Ldapbinds to either OID ports do not work.

> opmnctl status -l

Processes in Instance: asinst_1
--------+------------+----+------+----------+-------+-------+---------
ias-comp|process-type|pid |status| uid      |memused|uptime | ports
--------+------------+----+------+----------+-------+-------+---------
oid1    | oidldapd | 10324|Alive |1364152743| 346540|1:47:02| N/A
oid1    | oidldapd | 10240|Alive |1364152742|  94524|1:47:02| N/A
oid1    | oidmon   | 10139|Alive |1364152741|  80912|1:47:02|LDAP:0,LDAPS:3131
EMAGENT | EMAGENT  | 10138|Alive |1364152740|  63864|1:47:03| N/A

 

> ldapbind -h myoidhost.mycompany.com -p 3060 -D "cn=orcladmin" -w <password>
Cannot connect to the LDAP server

 

> ldapbind -h myoidhost.mycompany.com -p 3131 -D "cn=orcladmin" -w <password> -U 1
SSL handshake failed


Verified ports were free with netstat -an | grep <port#> command before attempting restart; also tried rebooting the server.

oidmon-0001.log shows:

...<snip>...

[2011-04-18T21:41:20+05:30] [OID] [NOTIFICATION:16] [] [OIDMON] [host: myoidhost.mycompany.com] [pid: 13676] [tid: 0] Guardian: gslmmonOpmnProcStatus:Sending OID Host and ports info to OPMN
HOST=myoidhost.mycompany.com LDAP NONSSL PORT = 0 LDAP SSL PORT = 3131

...<snip>...


oidldap01-0000.log shows:

...<snip>...

[2011-04-18T21:41:14+05:30] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.mycompany.com] [pid: 13772] [tid: 2] DispatcherListener: Thread Started

[2011-04-18T21:41:15+05:30] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.mycompany.com] [pid: 13772] [tid: 1] ProcessDispatcher: sgsluscpPollPort: Recvd connect from server process 13849

[2011-04-18T21:41:15+05:30] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.mycompany.com] [pid: 13772] [tid: 1] ProcessDispatcher: sgsluscHsHandShake : Sending Conn ACK to server process 13849

[2011-04-18T21:41:15+05:30] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.mycompany.com] [pid: 13772] [tid: 2] DispatcherListener: Listening on (IPV6) SSL port = 3131

[2011-04-18T21:41:15+05:30] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.mycompany.com] [pid: 13772] [tid: 2] DispatcherListener: sgslunlListen: Listen failed, OS error = (98)

[2011-04-18T21:41:15+05:30] [OID] [NOTIFICATION:16] [] [OIDLDAPD] [host: myoidhost.mycompany.com] [pid: 13772] [tid: 2] DispatcherListener: Listen on (IPV4) SSL port = 3131 failed, ignoring ...

...<snip>...

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