SAP Knowledge Base Article - Preview

3043091 - HA/DR Provider 'LaMaHADR' not specified correctly

Symptom

Your HANA Database system is failing to start with the following errors & events observed in the daemon and nameserver traces between restarts and shutdowns :

  • daemon_<host>.<port>.000.trc
2021-04-02 05:27:16.181644 i Daemon Daemon.cpp(00883) : Line up current runlevel 0 to 5; next event "check" due in 29885 ms
2021-04-02 05:27:16.181648 i Daemon Daemon.cpp(00904) : Runlevel 0 started
2021-04-02 05:27:16.181650 i Daemon Program.cpp(00115) : Update runlevel of program 'nameserver', instance 0
2021-04-02 05:27:16.181652 i Daemon Program.cpp(00248) : Instance 0 of program 'nameserver' will be started in 0 ms
2021-04-02 05:27:16.181654 i Daemon Program.cpp(00038) : Starting instance right now
2021-04-02 05:27:16.182925 i Daemon DaemonChild.cpp(00498) : Starting program 'hdbnameserver' with args ''
2021-04-02 05:27:16.189454 w Environment Environment.cpp(00263) : Changing environment set PYTHONDONTWRITEBYTECODE=1
2021-04-02 05:27:16.189849 i Daemon DaemonChild.cpp(00729) : Child program 'hdbnameserver', pid 8662 started in its own process group
2021-04-02 05:27:16.189875 i Daemon RunningInstance.cpp(00260) : Start 'hdbnameserver' as process 8662, process group 8662, instance 0 of <HDB Nameserver>
2021-04-02 05:27:16.189913 i Daemon Daemon.cpp(00916) : Runlevel 1 is not lined up
2021-04-02 05:27:16.190297 i Daemon Daemon.cpp(01150) : Daemon state "starting", runlevels [current:reached:target]=[1:1:5]
2021-04-02 05:27:16.190388 i Daemon Daemon.cpp(00170) : Shared memory updated, daemon runlevels changed [current:reached:target]=[0:0:0]=>[1:1:5]
2021-04-02 05:27:18.693879 i Daemon SignalsUNIX.cpp(00583) : signo 2=SIGINT from user. errno 0 code 0. Requested 'QUIT'. Sender pid 8662, real user 'sidadm'=100001317, executable 'hdbnameserver'
2021-04-02 05:27:18.694047 i Daemon Daemon.cpp(01076) : Comment file contains: nameserver: Could not load HA/DR Provider
2021-04-02 05:27:18.695488 i Daemon Daemon.cpp(01327) : Remove scheduled events and dead instances, time delay 270000
2021-04-02 05:27:18.695497 i Daemon Events.cpp(00021) : Remove event "check" due in 27371 ms
2021-04-02 05:27:18.695503 i Daemon Daemon.cpp(01338) : Keep instance 0 of program nameserver, pid 8662
2021-04-02 05:27:18.695506 i Daemon DaemonHandle.cpp(00094) : Got shutdown event (quit). Stop children processes with timeout 270000 ms
2021-04-02 05:27:18.695511 i Daemon RunningInstance.cpp(00293) : Stop process 'hdbnameserver', pid 8662, instance 0
2021-04-02 05:27:18.695550 i Daemon Utilities.cpp(00575) : Stopped child, pid 8662 with SIGTERM
2021-04-02 05:27:18.695556 i Daemon Events.cpp(00133) : "KillInstanceEvent" is due in 270000 ms. Program 'hdbnameserver', pid 8662
2021-04-02 05:27:18.695829 i Daemon Daemon.cpp(01150) : Daemon state "stopped", runlevels [current:reached:target]=[0:0:0]
2021-04-02 05:27:18.695891 i Daemon Daemon.cpp(00170) : Shared memory updated, daemon runlevels changed [current:reached:target]=[1:1:5]=>[0:0:0]
2021-04-02 05:27:18.697417 i Daemon Daemon.cpp(00791) : Scheduled all children for termination (SIGTERM)
2021-04-02 05:27:18.729261 i Daemon DaemonHandle.cpp(00324) : Instance count 1. Searching for terminated processes
2021-04-02 05:27:18.729303 i Daemon DaemonHandle.cpp(00335) : Process 'hdbnameserver', pid 8662 exited normally with status 1
2021-04-02 05:27:18.729309 i Daemon Events.cpp(00176) : "KillInstanceEvent" cancelled for 'hdbnameserver', pid 8662, was due in 269966 ms
  • nameserver_<host>.port.001.trc
2021-04-02 05:50:32.674548 i Basis TraceStream.cpp(00718) : ==== Starting hdbnameserver, version 2.00.053.00.1605092543 (fa/hana2sp05),
...............
2021-04-02 05:50:32.929616 e ha_dr_provider HADRProviderManager.cpp(00066) : HA/DR Provider 'LaMaHADR' not specified correctly (is global.ini/[ha_dr_provider_LaMaHADR]/provider set correctly?)
2021-04-02 05:50:32.929708 f NameServer TREXNameServer.cpp(03688) : exception 1: no.7010003 (TREXNameServer/TREXNameServer.cpp:1542) TID: 32523
abort
exception throw location:
1: 0x00007f67053c3fed in NameServer::AbortException::AbortException(char const*, int, ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> > const&)+0x29 at TREXNameServer.cpp:324 (libhdbns.so)
2: 0x00007f670563b895 in NameServer::TREXNameServer::startup() [clone .cold]+0x18d at TREXNameServer.cpp:1542 (libhdbns.so)
3: 0x0000564a257596dd in TRexAPI::TREXIndexServer::startup()+0x7f9 at TREXIndexServer.cpp:2350 (hdbnameserver)
4: 0x0000564a25702987 in nlsui_main+0x20e3 at TrexService.cpp:519 (hdbnameserver)
5: 0x00007f66dab0e1d1 in System::mainWrapper(int, char**, char**)+0x80 at IsInMain.cpp:334 (libhdbbasis.so)
6: 0x00007f66d8a2534a in __libc_start_main+0xe6 (libc.so.6)
7: 0x0000564a256d8608 in partitioning::PartPropertyDetails::PartPropertyDetails()+0x594 at start.S:112 (hdbnameserver)
exception type information:
- 0: public NameServer::AbortException@0x7f6705674b08 SI
- 0: public ltt::exception@0x7f66da3a7c70
2021-04-02 05:50:32.937823 f NameServer TREXNameServer.cpp(03709) : Could not load HA/DR Provider -> stopping instance ...
2021-04-02 05:50:32.939231 f NameServer TREXNameServer.cpp(03722) : stopping topology thread
2021-04-02 05:50:32.939237 f NameServer TREXNameServer.cpp(03724) : got shutdown scope
2021-04-02 05:50:32.939240 f NameServer TREXNameServer.cpp(03728) : stopped topology thread
2021-04-02 05:50:32.939253 e Basis TREXNameServer.cpp(03738) : Process exited due to an error via explicit exit call with exit code 1 , no crash dump will be written


Read more...

Environment

  • SAP HANA PLATFORM EDITION 1.0
  • SAP HANA PLATFORM EDITION 2.0

Product

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

Keywords

KBA , HAN-DB , SAP HANA Database , 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.