Elasticsearch does not start without any logs

I am having trouble starting elasticsearch. I had to restart my amazon ===
instance running ES 5.5. This is what I see.

systemctl status elasticsearch

elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2017-11-20 19:18:25 UTC; 3min 30s ago
Docs: http://www.elastic.co
Process: 3213 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 3209 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 3213 (code=exited, status=1/FAILURE)

Nov 20 19:18:25 .us-west-2.compute.internal elasticsearch[3213]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114)
Nov 20 19:18:25 us-west-2.compute.internal elasticsearch[3213]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67)
Nov 20 19:18:25 us-west-2.compute.internal elasticsearch[3213]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)
Nov 20 19:18:25 us-west-2.compute.internal elasticsearch[3213]: at org.elasticsearch.cli.Command.main(Command.java:88)
Nov 20 19:18:25 us-west-2.compute.internal elasticsearch[3213]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91)
Nov 20 19:18:25 us-west-2.compute.internal elasticsearch[3213]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84)
Nov 20 19:18:25 us-west-2.compute.internal elasticsearch[3213]: Refer to the log for complete error details.
Nov 20 19:18:25 us-west-2.compute.internal systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Nov 20 19:18:25 us-west-2.compute.internal systemd[1]: Unit elasticsearch.service entered failed state.
Nov 20 19:18:25 us-west-2.compute.internal systemd[1]: elasticsearch.
service failed.

  1. No log files have been created in /var/log/elasticsearch

  2. I have tried increasing the heap size but that has not helped

  3. I have reinstalled ES and that has not helped.

Anything else I should try.

thanks

Rajesh

Hi @rpazhyannur
Did you do any configuration or update before restarting elasticsearch ? I had similar problem while upgrading elasticsearch from 5.4 to 6.0 Elasticsearch Service won't start after full cluster upgrade from 5.4 to 6.0. It was related to the start up script

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.