SAP Knowledge Base Article - Preview

2095794 - Nameserver startup hangs due to socket wait

Symptom

Starting up the database does not work. When checking the current state of the database processes using command 'HDB info' it becomes clear that only the startup of the nameserver had been initiated:

HDB info

USER PID PPID %CPU VSZ RSS COMMAND
<sid>adm 9410 9409 0.3 13864 2768 -sh
<sid>adm 9496 9410 0.0 12880 1708 \_ /bin/sh/usr/sap/<SID>/HDB00/HDB info
<sid>adm 9519 9496 0.0 4924 852 \_ ps fx -U <sid>adm -o user,pid,ppid,pcpu,vsz,rss,args
<sid>adm 7313 7312 0.0 13868 2772 -sh<sid>adm 6004 6003 0.0 13868 2808 -sh
<sid>adm 6495 6004 0.0 19456 3192 \_ vi HDB
<sid>adm 8373 1 0.0 20036 1500 sapstart pf=/usr/sap/<SID>/SYS/profile/<SID>_HDB00_<hostname>
<sid>adm 8471 8373 1.7 815272 294984 \_ /usr/sap/<SID>/HDB00/<hostname>/trace/hdb.sap<SID>_HDB00 -d -nw -f /usr/sap/<SID>/HDB00/<hostname>/daemon.ini pf=/usr/sap/<SID>/SYS/profile/<SID>_HDB00_<hostname>
<sid>adm 8499 8471 1.8 6550116 425704 \_ hdbnameserver
<sid>adm 6094 1 0.0 223364 89752 /usr/sap/<SID>/HDB00/exe/sapstartsrv pf=/usr/sap/<SID>/SYS/profile/<SID>_HDB00_<hostname> -D -u <sid>adm

The nameserver trace does neither report any progress nor is updated with new entries.

When investigating the call stack of the nameserver, for example by creating an rtedump against the nameserver process as outlined in SAP Note 1813020, the following stack can be seen:

__libc_poll
SiPoll
NiIPeekListen
NiIAccept
NiAcceptEx2
comm::accept_vague
ChannelThread::setupStopHandles


Read more...

Environment

SAP HANA Database

Product

SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0

Keywords

network communication; network configuration; locahost; /etc/hosts; loopback address; Localhost mapping; IPv4; IPv6; , KBA , HAN-DB-HA , SAP HANA High Availability (System Replication, DR, etc.) , 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.