IBM Support

Elasticsearch can't startup for PID file is not readable

Troubleshooting


Problem

Elasticsearch service failed to start. The servicectl status output is:

$ systemctl status elasticsearch-for-lsf.service
● elasticsearch-for-lsf.service - Elasticsearch
Loaded: loaded (/etc/systemd/system/elasticsearch-for-lsf.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Mon 2021-03-29 14:52:58 CEST; 13s ago
Process: 8692 ExecStart=/opt/ibm/elastic/elasticsearch/bin/eslauncher.sh -p ${PID_DIR}/elasticsearch-for-lsf.pid (code=exited, status=0/SUCCESS)
Process: 8686 ExecStartPre=/opt/ibm/elastic/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Mar 29 14:52:50 fr0bip47 systemd[1]: Starting Elasticsearch...
Mar 29 14:52:50 fr0bip47 systemd[1]: PID file /var/run/elasticsearch/elasticsearch-for-lsf.pid not readable (ye...start. Mar 29 14:52:58 fr0bip47 systemd[1]: elasticsearch-for-lsf.service never wrote its PID file. Failing.
Mar 29 14:52:58 fr0bip47 systemd[1]: Failed to start Elasticsearch. Mar 29 14:52:58 fr0bip47 systemd[1]: Unit elasticsearch-for-lsf.service entered failed state.
Mar 29 14:52:58 fr0bip47 systemd[1]: elasticsearch-for-lsf.service failed. Hint: Some lines were ellipsized, use -l to show in full.

Document Location

Worldwide


[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSK5BC","label":"IBM Spectrum LSF Suite for Enterprise Plus"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6MQM","label":"IBM Spectrum LSF Explorer"},"ARM Category":[{"code":"a8m50000000L2nWAAS","label":"LSF Explorer"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Spectrum LSF Suite for Enterprise Plus

Software version:
All Version(s)

Document number:
6437455

Modified date:
29 March 2021

UID

ibm16437455

Manage My Notification Subscriptions