SAP Knowledge Base Article - Preview

2941189 - HANA start fails with FATAL error: exception no.70012012 ; $TYPE$=Listen; $MESSAGE$=cannot bind to handle

Symptom

Start HANA database fails with "FAIL: process hdbdaemon HDB Daemon not running". nameserver trace shows below error message or similar:

e Stream NetworkChannel.cpp(01054) : [4acccb2e30cb0014,127.0.0.1:30001,-,UNK,0] Cannot bind to a local address: tcp port 30001 on 127.0.0.1 => socket[270847859], user ""hdbadm:1004", process "/hana/shared/HDB/exe/linuxx86_64/HDB_2.00.048.00.1591276203_3b3006937cf5d7407fa8d1e7c7c000cf57910206/hdbnameserver:17032"
e commlib commlibImpl.cpp(01008) : ERROR/Exception: comm::listen to Host: 127.0.0.1, port: 30001, Error: Error address in use: $msg$, rc=$sysrc$: $sysmsg$
e TrexNet Responder.cpp(00349) : can't listen on port 127.0.0.1:30001: (host unknown)
details: Internal Error Details. Basis/IO/Stream/impl/NetworkChannel.cpp:1057: Error address in use: $msg$, rc=98: Address already in use; $[1]$=NetworkChannelBase::bindLocal. bind failed; $Context$=[4acccb2e30cb0014,127.0.0.1:30001,-,UNK,0]; $channel$={<NetworkChannelBase>={this=140565783847560, fd=30, refCnt=1, local=127.0.0.1/30001_tcp, remote=(invalid), state=New, pending=[----]}}
$[2]$=
tcp port 30001 on 127.0.0.1 => socket[270847859], user ""hdbadm:1004", process "/hana/shared/HDB/exe/linuxx86_64/HDB_2.00.048.00.1591276203_3b3006937cf5d7407fa8d1e7c7c000cf57910206/hdbnameserver:17032"
f TrexNet Responder.cpp(00602) : exception during change of listen configuration, connectivity might be lost, restart system: exception 1: no.70012012 (TrexNet/Responder.cpp:543) TID: 12345
; $TYPE$=Listen; $MESSAGE$=cannot bind to handle
exception 2: no.70012012 (TrexNet/Responder.cpp:354) TID: 12345
host unknown; $TYPE$=Listen; $MESSAGE$=cannot bind to handle; $INFO$=host unknown; $PARAM$=127.0.0.1:30001
f Service TrexService.cpp(00504) : FATAL: initialization of communication failed with exception exception 1: no.70012012 (TrexNet/Responder.cpp:543) TID: 12345
; $TYPE$=Listen; $MESSAGE$=cannot bind to handle
exception throw location:
1: 0x00007fd91ea397c1 in TrexNet::NetException::NetException(TrexNet::NetException::_ExceptionType, char const*, unsigned int, char const*, char const*)+0x60 at Exception.cpp:89 (libhdbbasement.so)
2: 0x00007fd91ea36245 in TrexNet::Responder::reconfigureListenIfaces(TrexNet::Responder::ListenConfiguration const&, ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> >&)+0x251 at Responder.cpp:543 (libhdbbasement.so)
3: 0x00007fd91ea37759 in TrexNet::Responder::reconfigureListenIfaces()+0x425 at Responder.cpp:651 (libhdbbasement.so)
4: 0x00007fd91ea37ca1 in TrexNet::Responder::engage()+0x40 at Responder.cpp:255 (libhdbbasement.so)
5: 0x0000558bac345b28 in nlsui_main+0x1c74 at TrexService.cpp:477 (hdbnameserver)
6: 0x00007fd9197aa9ce in System::mainWrapper(int, char**, char**)+0xaa at IsInMain.cpp:334 (libhdbbasis.so)
7: 0x00007fd9179246e5 in __libc_start_main+0xf1 (libc.so.6)
8: 0x0000558bac32687d in partitioning::PartPropertyDetails::PartPropertyDetails()+0x579 at start.S:112 (hdbnameserver)
exception type information:
- 0: public ltt::exception@0x7fd9190f1960
exception 2: no.70012012 (TrexNet/Responder.cpp:354) TID: 12345
host unknown; $TYPE$=Listen; $MESSAGE$=cannot bind to handle; $INFO$=host unknown; $PARAM$=127.0.0.1:30001
exception throw location:
1: 0x00007fd91ea397c1 in TrexNet::NetException::NetException(TrexNet::NetException::_ExceptionType, char const*, unsigned int, char const*, char const*)+0x60 at Exception.cpp:89 (libhdbbasement.so)
2: 0x00007fd91ea34b81 in TrexNet::Responder::addListener(ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> > const&, char const*, unsigned short, unsigned int, char, ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> > const&, ltt_adp::vector<comm::Network, ltt::integral_constant<bool, true> > const&, ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> >&, Synchronization::LockHandle<Synchronization::Mutex, false>&)+0x760 at Responder.cpp:354 (libhdbbasement.so)
3: 0x00007fd91ea364a1 in TrexNet::Responder::reconfigureListenIfaces(TrexNet::Responder::ListenConfiguration const&, ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> >&)+0x4b0 at Responder.cpp:565 (libhdbbasement.so)
4: 0x00007fd91ea37759 in TrexNet::Responder::reconfigureListenIfaces()+0x425 at Responder.cpp:651 (libhdbbasement.so)
5: 0x00007fd91ea37ca1 in TrexNet::Responder::engage()+0x40 at Responder.cpp:255 (libhdbbasement.so)
6: 0x0000558bac345b28 in nlsui_main+0x1c74 at TrexService.cpp:477 (hdbnameserver)
7: 0x00007fd9197aa9ce in System::mainWrapper(int, char**, char**)+0xaa at IsInMain.cpp:334 (libhdbbasis.so)
8: 0x00007fd9179246e5 in __libc_start_main+0xf1 (libc.so.6)
9: 0x0000558bac32687d in partitioning::PartPropertyDetails::PartPropertyDetails()+0x579 at start.S:112 (hdbnameserver)
i Service_Shutdown TrexService.cpp(00582) : Preparing for shutting service down


"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • HANA database platform 1.0
  • HANA database platform 2.0

Product

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

Keywords

listener, port, hdbnameserver, resetUserSystem, HDB start, sapcontrol , KBA , HAN-DB , SAP HANA Database , How To

About this page

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

Search for additional results

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