SAP Knowledge Base Article - Preview

3225998 - process is terminating, because lockfile is missing/wrong

Symptom

HANA DB became unresponsive and errors similar to the examples below can be seen in various HANA process traces.

indexserver:

"...
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 f self_watchdog    SelfWatchdog.cpp(00000) : process is terminating, because lockfile '/usr/sap/<SID>/HDB<INSTANCE>/<hostname>/lock/hdbindexserver@00000.pid' is missing/wrong.
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 i Service_Shutdown TrexService.cpp(00000) : Preparing for shutting service down
...
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 e Basis            TraceSegment.cpp(00000) : Exception while trace file compression: exception  0: no.0000000  (Basis/IO/FileAccess/impl/PathFile.cpp:000) TID: 00000
  DirectoryIterator on '/usr/sap/<SID>/HDB<INSTANCE>/<hostname>/trace/DB_XXX/' failed: rc= 20 (Not a directory)
..."


nameserver:

"...
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 f self_watchdog    SelfWatchdog.cpp(00000) : process is terminating, because lockfile '/usr/sap/<SID>/HDB<INSTANCE>/<hostname>/lock/hdbnameserver@00000.pid' is missing/wrong.
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 i Service_Shutdown TrexService.cpp(00000) : Preparing for shutting service down
...
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 e system_availabil HALogFileWriter.cpp(00000) : open for write failed for /usr/sap/<SID>/HDB<INSTANCE>/<hostname>/trace/system_availability_<hostname>.trc : 20 , Not a directory
..."


daemon:

"...
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 w FileIO           LockFile.cpp(00000) : Root directory </usr/sap/<SID>/HDB<INSTANCE>/<hostname>/> does not exist. Trying to create...
[00000]{-0}[-0/-0] 0000-00-00 00:00:00.000000 e FileIO           LockFile.cpp(00000) : Cannot create Root directory </usr/sap/<SID>/HDB<INSTANCE>/<hostname>/>: 20 (Not a directory)
..."


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

storage; NFS; IO; lockfile , KBA , HAN-DB , SAP HANA Database , HAN-DB-PER , SAP HANA Database Persistence , 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.