Skip to Content
0

SAPSTART Error - soap_bind failed, Webservice thread enters retry loop

Jan 04, 2017 at 09:39 AM

588

avatar image

Good day Experts,

We installed NW 7.5 ( ABAP instance) on S/4 HANA (1610).

(Apologies for the lengthy message - The error dumps have been included as well)

SAP instance does not start - giving the following message:

Checking HDB Database

Database is running

-------------------------------------------

Starting Startup Agent

sapstartsrv OK

Instance Service on host coj4hana started

-------------------------------------------

starting SAP Instance ASCS02

Startup-Log is written to /home/startsap_ASCS02.log

-------------------------------------------

/usr/sap/HAT/ASCS02/exe/sapcontrol -prot NI_HTTP -nr 02 -function Start Instance

on host coj4hana started Starting

Startup Agent sapstartsrv FAIL: Timeout

Startup of Instance Service failed See /home/startsap_D01.log for details

***********************************************************************

The error message on the sapstartsrv.log file:

Trusted https connect via Unix domain socket '/tmp/.sapstream50114' enabled.

Webservice thread started, listening on port 50113

soap_bind failed, Webservice thread enters retry loop

***********************************************************************

netstat -nap | grep 50113 shows:

(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)

tcp 0 0 0.0.0.0:50113 0.0.0.0:* LISTEN -

***********************************************************************

sapcontrol -nr 01 -host coj4hana -function GetInstanceProperties -debug

shows:

Wed Jan 4 11:05:44 2017

[Thr 140442067355456] NiIInit: allocated nitab (2048 at 7fbb37812010)

[Thr 140442067355456] NiIHSBufInit: initialize hostname buffer (IPv4)

[Thr 140442067355456] NiHLInit: alloc host buf (100 entries)

[Thr 140442067355456] NiSrvLInit: alloc serv bufs (100 entries)

[Thr 140442067355456] NiISapServNameCheck: sapctrl01 not supported (len 9)

[Thr 140442067355456] NiPGetServInfoError: func NiPGetServByName; sys getaddrinfo; log 1; isErr 1; errorNo -8

[Thr 140442067355456] ***LOG Q0I=> NiPGetServByName: 'sapctrl01' not found: getaddrinfo [/bas/749_REL/src/base/ni/niuxi.c 1819]

[Thr 140442067355456] NiSrvLGetServNo: service name 'sapctrl01' not found by operating system

[Thr 140442067355456] NiInit3: NI already initializes (init=1;cur=2048)

[Thr 140442067355456] addrinfo of 'coj4hana':

[Thr 140442067355456] 0: 10.10.52.200:0 'coj4hana' RAW (2-2-3-0-16)

[Thr 140442067355456] NiHLGetNodeAddr: got hostname 'coj4hana' from operating system [Thr 140442067355456] NiIGetNodeAddr: hostname 'coj4hana' = addr 10.10.52.200

[Thr 140442067355456] NiIGetServNo: servicename '50113' = port 50113

[Thr 140442067355456] NiICreateHandle: hdl 1 state NI_INITIAL_CON

[Thr 140442067355456] NiIInitSocket: set default settings for new hdl 1/sock 3 (UD; ST) [Thr 140442067355456] NiIBlockMode: set blockmode for hdl 1 FALSE

[Thr 140442067355456] NiITraceByteOrder: CPU byte order: little endian, reverse network, low val .. high val

[Thr 140442067355456] NiIConnectSocket: hdl 1 is connecting to /tmp/.sapstream50113 (timeout=-1)

[Thr 140442067355456] NiHLGetHostName: found address 10.10.52.200 in cache (valid-address/name)

[Thr 140442067355456] NiIGetHostName: addr 10.10.52.200 = hostname 'coj4hana'

[Thr 140442067355456] NiPConnect: SiConnect failed for hdl 1/sock 3

[Thr 140442067355456] (SI_ECONN_REFUSE/2; UD; ST; /tmp/.sapstream50113)

[Thr 140442067355456] NiIInitSocket: set default settings for new hdl 1/sock 3 (I4; ST)

[Thr 140442067355456] BufSize: Min 0 Rcv 87380 Snd 16384

[Thr 140442067355456] NiIBlockMode: set blockmode for hdl 1 FALSE

[Thr 140442067355456] NiThrInit enter

[Thr 140442067355456] NiIConnectSocket: hdl 1 is connecting to 10.10.52.200:50113 (timeout=-1)

[Thr 140442067355456] SiPeekPendConn: connection of sock 3 established

[Thr 140442067355456] NiICheckPendConnection: connection of hdl 1 to 10.10.52.200:50113 established

[Thr 140442067355456] NiIConnect: hdl 1 took local address 10.10.52.200:62512

[Thr 140442067355456] NiIConnect: state of hdl 1 NI_CONNECTED

[Thr 140442067355456] NiIBlockMode: set blockmode for hdl 1 TRUE

[Thr 140442067355456] NiIWrite: hdl 1 SSLState 0

[Thr 140442067355456] NiIWrite: hdl 1 sent data (wrt=863,pac=1,RAW_IO)

[Thr 140442067355456] NiIRead: hdl 1 SSLState 0

[Thr 140442067355456] NiIRead: hdl 1 received data (rcd=963,pac=1,RAW_IO)

[Thr 140442067355456] Wed Jan 4 11:05:44 2017

[Thr 140442067355456] NiICloseHandle: shutdown and close hdl 1/sock 3 04.01.2017 11:05:44

GetInstanceProperties

FAIL: HTTP error, HTTP/1.1 404 Not Found

*****************************************************************

Your assistance is much appreciated,

Kind Regards,

Brandon

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

8 Answers

Isaias Freitas
Jan 06, 2017 at 09:47 PM
1

Hello Brandom,

In fact, there is something listening on port 50113, as you can see in the screenshot you have provided (sapstreamfiles).

The process could not be identified as it would be running under a different user ID (not hatadm).

Try running the netstat command for port 50113 as root.

After you stop the process using the port 50113, restart the sapstartsrv and it should work then.

To restart it, use the command "sapcontrol -nr 01 -prot NI_HTTPS -function RestartService".

Regards,

Isaías

Share
10 |10000 characters needed characters left characters exceeded
Isaias Freitas
Jan 04, 2017 at 05:48 PM
0

Hello Brandon,

Is there something listening to the TCP/IP port 50114?

Besides that, please also verify the "sapstream" files with the command

ls -la /tmp/.sapstream501*

(the command is correct, the file name filter is indeed "/tmp/.sapstream501*)

You should see two files (.sapstream50113 and .sapstream50114), both owned by the "SIDadm" user.

Kind regards,

Isaías

Share
10 |10000 characters needed characters left characters exceeded
Brandon Chetty Jan 05, 2017 at 06:54 AM
0

Hi Isaias

Thanks for your reply.

See screenshot attached.

1. There is something running on port 50114.

2. There is sapstream file 50114

3. There is nothing running on port 50113

4. There is NO sapstream file 50113

Regards,

Brandonsapstreamfiles.png


sapstreamfiles.png (36.1 kB)
Share
10 |10000 characters needed characters left characters exceeded
Brandon Chetty Jan 05, 2017 at 07:11 AM
0

Hi Isaias,

From another message posting, it was mentioned to copy/replace the central EXE to the instance EXE.

When this was done - the following message shows - see screenshot attached.

Maybe this helps in isolating the error?

Regards,

Brandonstartsap-after-kernel-copy.png


Share
10 |10000 characters needed characters left characters exceeded
Prashant Dhas Jan 05, 2017 at 06:49 PM
0

Can you start your HDB first using the command HDB start

Share
10 |10000 characters needed characters left characters exceeded
Brandon Chetty Jan 06, 2017 at 07:14 AM
0

Hi Prashant

See screenshot attached,

The HANA db is started BUT its still giving the same error message

Regards

Brandon


hdb-start.png (11.7 kB)
Share
10 |10000 characters needed characters left characters exceeded
Brandon Chetty Jan 13, 2017 at 11:49 AM
0

Hi Isaias,

Thanks - this solution worked.

Much appreciated!

Regards,

Brandon

Share
10 |10000 characters needed characters left characters exceeded
Isaias Freitas
Jan 13, 2017 at 06:23 PM
0

Hello Brandon,

You are welcome! Please mark this question as answered ;-)

Best regards,

Isaías

Share
10 |10000 characters needed characters left characters exceeded