Elastic unable to start

Hi, Please Help me

My elastic refuses to start. This is the systemctl status elasticsearch.service log

 ā— elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2020-05-01 08:22:02 UTC; 13s ago
     Docs: http://www.elastic.co
  Process: 19367 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
 Main PID: 19367 (code=exited, status=1/FAILURE)
    Tasks: 0
   CGroup: /system.slice/elasticsearch.service

May 01 08:22:02 serverPreformatted text.com elasticsearch[19367]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
May 01 08:22:02 server.com elasticsearch[19367]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareC...va:86)
May 01 08:22:02 server.com elasticsearch[19367]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
May 01 08:22:02 server.com elasticsearch[19367]: at org.elasticsearch.cli.Command.main(Command.java:90)
May 01 08:22:02 server.com elasticsearch[19367]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
May 01 08:22:02 server.com elasticsearch[19367]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
May 01 08:22:02 server.com systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
May 01 08:22:02 server.com systemd[1]: Failed to start Elasticsearch.
May 01 08:22:02 server.com systemd[1]: Unit elasticsearch.service entered failed state.
May 01 08:22:02 server.com systemd[1]: elasticsearch.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

The Elasticsearch service log is truncated. Can you show the full log?

I think the command for the full log was something like journalctl -u elasticsearch but don't take my word for it. Either way this is just saying that startup failed, it doesn't include enough actual details of the failure in the output.

1 Like