Elasticsearch restart issue

Hi Guys,

I changed network host to 0.0.0.0 from localhost and I restarted the machine that's all its gone below is the message, any suggestion thanks.

ubuntu@ip-1XX-XX-X-X:~/ELK$ sudo /etc/init.d/elasticsearch status
ā— elasticsearch.service - Elasticsearch
   Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-07-14 19:19:43 UTC; 3min 3s ago
     Docs: http://www.elastic.co
  Process: 21455 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=78)
 Main PID: 21455 (code=exited, status=78)

Jul 14 19:19:29 ip-1XX-XX-X-X systemd[1]: Starting Elasticsearch...
Jul 14 19:19:30 ip-XX-XX-X-X elasticsearch[21455]: OpenJDK 64-Bit Server VM ...
Jul 14 19:19:43 ip-1XX-XX-X-X elasticsearch[21455]: ERROR: [1] bootstrap chec...
Jul 14 19:19:43 ip-1XX-XX-X-X elasticsearch[21455]: [1]: the default discover...
Jul 14 19:19:43 ip-1XX-XX-X-X systemd[1]: elasticsearch.service: Main proces...a
Jul 14 19:19:43 ip-1XX-XX-X-X systemd[1]: Failed to start Elasticsearch.
Jul 14 19:19:43 ip-1XX-XX-X-X systemd[1]: elasticsearch.service: Unit entere....
Jul 14 19:19:43 ip-1XX-XX-X-X systemd[1]: elasticsearch.service: Failed with....
Hint: Some lines were ellipsized, use -l to show in full.

@Splunk

By changing network host you switched ES to run in Production mode. One of the bootstrap checks is failing. elastcsearch log will give more details on which check failed.

For list of checks see Bootstrap Checks | Elasticsearch Guide [8.11] | Elastic

1 Like

that link got so many checks, i do not understand. what kind of error i got.

You need to go through the list and check them all off, they are important to make sure your Elasticsearch is setup the best way possible.

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