Just installed LDAP Server and DEBUG STDERR shows message EDC8115I Address already in use
search cancel

Just installed LDAP Server and DEBUG STDERR shows message EDC8115I Address already in use

book

Article ID: 11130

calendar_today

Updated On:

Products

LDAP SERVER FOR Z/OS Top Secret - LDAP

Issue/Introduction

Just installed LDAP Server and when enabling DEBUG STDERR shows message:
EDC8115I Address already in use.

Resolution

The stderr shows the following error:

ldap_url_parse_ext(LDAP://:4389)
daemon: bind(6) failed errno=1115 (EDC8115I Address already in use.)
slap_open_listener: failed on LDAP://:4389

This is an indication that the port specified in the slap.conf is already in use and that an alternate port should be selected.

To address the "EDC8115I Address already in use." message when trying to start the CA LDAP Server, the following can be done to determine if the port is in use.

If the selected socket address/port is in the range INADDRANYPORT + INADDRANYCOUNT, then the
socket address/port is reserved. Change INADDRANYPORT + INADDRANYCOUNT or select a different
socket address/port for CA LDAP Server.

To determine if the socket address/port 4289 is in use, issue the TSO command netstat (po 4389).

If the socket address/port 4289 is available you will see the following:

netstat (po 4389)                                                           
MVS TCP/IP NETSTAT CS V1R12       TCPIP Name: TCPIP           13:18:33     
User Id     Conn        State                                                
-------      ----           -----                                                 
                                                
  READY                                                                      
     
To determine if the socket address/port 389 is in use, issue the TSO command netstat (po 389).      

                                                                 
If the socket address/port 389 is in use you will see display output similar to the following:  
     
netstat (po 389)                                                                       
MVS TCP/IP NETSTAT CS V1R12       TCPIP Name: TCPIP           13:39:48 
User Id     Conn        State                                                
-------      ----           -----                                                
LDAPR15  00001740 Establsh                                             
  Local Socket:   141.202.22.113..389                                  
  Foreign Socket: 141.202.22.113..1031                                 
LDAPR15  000002BA Listen                                               
  Local Socket:   0.0.0.0..389                                         
  Foreign Socket: 0.0.0.0..0                                           
LDAPR15  000002B9 Listen                                               
  Local Socket:   ::..389 (IPV6_ONLY)                                  
  Foreign Socket: ::..0                                                
TOMCAT   0000173F Establsh                                             
  Local Socket:   ::ffff:141.202.22.113..1031                          
  Foreign Socket: ::ffff:141.202.22.113..389