SAP Knowledge Base Article - Preview

3333338 - Secondary HANA DB not starting due to FAIL: process hdbcompileserver HDB Compileserver not running

Symptom

When starting HANA using HDB start, the following error occurs:

FAIL: process hdbcompileserver HDB Compileserver not running

Command "sapcontrol -nr 00 -function GetProcessList" shows only hdbdaemon and hdbnameserver with status GREEN, the rest is GRAY:

name, description, dispstatus, textstatus, starttime, elapsedtime, pid
hdbdaemon, HDB Daemon, GREEN, Running, 2023 05 11 21:31:01, 0:48:18, 2488
hdbcompileserver, HDB Compileserver, GRAY, Stopped, , , 6406
hdbdiserver, HDB Deployment Infrastructure Server-ZEP, GRAY, Stopped, , , 6682
hdbindexserver, HDB Indexserver-ZEP, GRAY, Stopped, , , 6457
hdbnameserver, HDB Nameserver, GREEN, Running, 2023 05 11 21:31:01, 0:48:18, 2514
hdbpreprocessor, HDB Preprocessor, GRAY, Stopped, , , 6409
hdbwebdispatcher, HDB Web Dispatcher, GRAY, Stopped, , , 6685

In the Linux syslog (/var/log/messages) you can find "Unable to lockf() the lock file" errors (see also SAP Note 3109802):

May 11 17:24:57 l-rh7-zepdb1-r SAPHP1_00[4758]: Unable to lockf() the lock file /tmp/.sapstartsrv00_sapstartsrv.log, some other process already has a lock. (Error 11 Resource temporarily unavailable) [/bas/753_REL/src/proj/ntserv/ntservsserver.cpp 3381]
May 11 17:24:57 l-rh7-zepdb1-r SAPHP1_00[4758]: Unable to open trace file sapstartsrv.log. (Error 11 Resource temporarily unavailable) [/bas/753_REL/src/proj/ntserv/ntservsserver.cpp 4607]

In the nameserver trace there are messages like:

2023-05-11 18:25:27.391440 e ServiceHandler   RequestHandlerRegistry.cpp(00033) : Could not register request handler with key: pers/ (already registered)

When you try to start the hdbcompileserver individually, it gives a nameserver error as below:

nameserver zepdb1-r:30001 not responding. retry in 5 sec...


Read more...

Product

SAP HANA, platform edition 2.0

Keywords

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.