Elasticsearch status show faild

● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-09-30 13:32:10 IST; 14s ago
Docs: http://www.elastic.co
Process: 6783 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfile={PID_DIR}/elasticsearch.pid -Des.default.path.home={ES_HOME} -Des.default.path.logs={LOG_DIR} -Des.default.path.data={D
Process: 6774 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 6783 (code=exited, status=1/FAILURE)

Sep 30 13:32:10 inctashok-ThinkPad-X1-Yoga-1st systemd[1]: Starting Elasticsearch...
Sep 30 13:32:10 inctashok-ThinkPad-X1-Yoga-1st systemd[1]: Started Elasticsearch.
Sep 30 13:32:10 inctashok-ThinkPad-X1-Yoga-1st systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Sep 30 13:32:10 inctashok-ThinkPad-X1-Yoga-1st systemd[1]: elasticsearch.service: Unit entered failed state.
Sep 30 13:32:10 inctashok-ThinkPad-X1-Yoga-1st systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

already change network.host:0.0.0.0 and port.host:9200

Hey,

can you give some more context, on how you installed Elasticsearch, what distribution this is, what version of Elasticsearch?

Also, please take a look at /var/log/elasticsearch/ - there is a logfile with the same name than your cluster name (by default elasticsearch), please show the startup by putting it into a gist.

Thanks!

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