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.
-
No log files have been created in /var/log/elasticsearch
-
I have tried increasing the heap size but that has not helped
-
I have reinstalled ES and that has not helped.
Anything else I should try.
thanks
Rajesh