SAP Knowledge Base Article - Preview

1918943 - HANA Database startup fails during revision upgrade

Symptom

When upgrading the HANA revision, the first startup with the new revision which takes place during the upgrade fails. The HLM logs display the following error:

INFO:       Waiting for hdbdaemon
ERR :       FAIL: process hdbdaemon HDB Daemon not running
ERR :     Start instance 00 on master host <hostname> failed.
INFO:     Messages from trace files
ERR :     Check the log file for SAP HANA Database error messages
ERR :   Cannot start system
ERR :   error upgrading
ERR :   Upgrade failed
INFO:   Summary of critical errors
ERR :     Upgrade failed
ERR :       error upgrading
ERR :         Cannot start system
ERR :           Start instance 00 on master host <hostname> failed.
ERR :             FAIL: process hdbdaemon HDB Daemon not running
ERR :           Check the log file for SAP HANA Database error messages

Subsequent startup attempts (for example directly using 'HDB start' on the master node) either fail immediately or hang forever. It is important to note that the only database process which at least is attempted to be started is the hdbdaemon process. Other processes like indexserver or nameserver are not even started and hence, their logfiles are not updated by the startup. 

The trace file of the HANA daemon on the master node (daemon_<hostname>_<port>_<>number) contains the following entries:

program "nameserver" has runlevel 1, which is larger than the target runlevel 0, it won't be started
program "preprocessor" has runlevel 2, which is larger than the target runlevel 0, it won't be started
program "indexserver" has runlevel 3, which is larger than the target runlevel 0, it won't be started
program "indexserver.c" has runlevel 3, which is larger than the target runlevel 0, it won't be started
program "scriptserver" has runlevel 3, which is larger than the target runlevel 0, it won't be started
program "statisticsserver" has runlevel 3, which is larger than the target runlevel 0, it won't be starte
program "xsengine" has runlevel 3, which is larger than the target runlevel 0, it won't be started
program "sapwebdisp" has runlevel 4, which is larger than the target runlevel 0, it won't be started
program "compileserver" has runlevel 2, which is larger than the target runlevel 0, it won't be started

OR

Basis LttImportProvider.cpp(00280) : >>>> DUMP: exception occurred:
file ltt/impl/memory.cpp, line 000063, errno 1000002: Out of memory ;
$size$=549755813897; $name$=<malloc allocator>; $type$=MallocAllocatorImpl; $inuse_count$=0; $allocated_size$=0
exception throw location:
1: ... in ltt::string_base ... at memory.hpp:737 (hdbdaemon)
2: ... in ltt::basic_stringbuf ... string.hpp:718 (hdbdaemon)
3: ... in ltt::basic_streambuf ... streambuf.hpp:693 (hdbdaemon)
4: ... in ltt::basic_ostream ... streambuf.hpp:340 (hdbdaemon)
5: ... in ltt::basic_ostream ... ostream.hpp:600 (hdbdaemon)
6: ... in SAPStartsrvInfoWriter::add ... TrexTrace.h:81 (hdbdaemon)
7: ... in TeeInfoWriter::add ...


Read more...

Environment

SAP HANA Database

Product

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

Keywords

database parameters; filesystem; Directory; /usr/sap/<SID>/HDB<xx>/exe/config; /hana/shared/<SID>/global/hdb/custom; configuration file; daemon.ini; , KBA , HAN-LM-PLT , SAP HANA Platform Lifecycle Management , 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.