SAP Knowledge Base Article - Preview

1845121 - Address already in use - how to find the process listening on port ...

Symptom

SAP Message Server, Dispatcher, Gateway, WebDispatcher, ICM etc. is not able to start a communication port.
The corresponding traces dev_ms, dev_disp, dev_rd, dev_webdisp, dev_icm, dev_enqsrv, etc. write similar messages as shown below:

Windows:

***LOG Q0I=> NiIBindSocket: bind (10013: WSAEACCES: Permission denied)
[Thr 8548] *** ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 9
(SI_EPORT_INUSE/10013; I4; ST; 0.0.0.0:3600)
*** ERROR => MsSCommInit: NiBufListen(3600) (rc=NIESERV_USED)

Linux:


NiIBindSocket: bind (98: Address already in use)
*** ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 9
(SI_EPORT_INUSE/98; I4; ST; 0.0.0.0:3600)
*** ERROR => MsSCommInit: NiBufListen(3600) (rc=NIESERV_USED)

AIX:

NiIBindSocket: bind (67: Address already in use)
*** ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 9
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:3600)
*** ERROR => MsSCommInit: NiBufListen(3600) (rc=NIESERV_USED)

HP-UX:

NiIBindSocket: bind (226: Address already in use)
*** ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 9
(SI_EPORT_INUSE/226; I4; ST; 0.0.0.0:3600)
*** ERROR => MsSCommInit: NiBufListen(3600) (rc=NIESERV_USED)

Solaris:

NiIBindSocket: bind (125: Address already in use)
*** ERROR => NiIBindSocket: SiBind failed for hdl 1 / sock 9
(SI_EPORT_INUSE/125; I4; ST; 0.0.0.0:3600)
*** ERROR => MsSCommInit: NiBufListen(3600) (rc=NIESERV_USED)

SAP Hana Database cannot be started. The Daemon trace contains lines like:

[115220]{-1} Network TrexHDB DaemonDaemon.cpp(02186) : cannot bind socket to 127.0.0.1:12345: Address already in use (98)
[115220]{-1} Network TrexDaemon.cpp(02192) : cannot listen on socket to 127.0.0.1:12345: Address already in use (98)


Read more...

Product

SAP NetWeaver all versions

Keywords

NiPBind:, icmbnd, ListenerThread:Init: unable to listen, IcmBindService: NiBuf2Listen failed, MsHttpCommInit, MsHttpPortBind:, DpCommInit: NiBufListen, GwInitService: NiDgBind,  Error address in use, , rc=98: Address already in use, bind failed, cannot bind to handle, Could not start service, rc=-22, figure opened ports, process, open ports, netstat, port already in use, cannot bind port, SI_EPORT_INUSE, NIESERV_USED , KBA , BC-NET , Formerly used for network tests , HAN-DB , SAP HANA Database , BC-CST , Client/Server Technology , BC-OP-NT , Windows , BC-OP-LNX , Linux , BC-OP-AIX , IBM AIX , BC-OP-HPX , HP-UX , BC-OP-SUN , SUN Solaris , BC-FES-IGS , Internet Graphics Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.