My ELK setup on unix box was working fine, but elasticsearch and kibana stopped working.
I restarted both services using /etc/init.d/elasticsearch restart
and /etc/init.d/kibana restart
.
Kibana started working but elasticsearch did not.
# /etc/init.d/elasticsearch restart
Stopping elasticsearch: [ OK ]
/etc/init.d/elasticsearch: line 105: result: command not found
Tue Jan 28 14:32:59 EST 2020 [INFO] Setting elasticsearch heap to -Xms64531m -Xmx64531m as Preformatted textdefault. Override this in /etc/elasticsearch/elasticsearch.conf if needed.
Starting elasticsearch: nohup: appending output to `nohup.out'