I just followed this install guide for Elasticsearch via APT: https://www.elastic.co/guide/en/elasticsearch/reference/5.0/deb.html
When I run curl -X GET 'http://127.0.0.1:9200/'
(or localhost) I receive an error: Failed to connect to 127.0.0.1 port 9200: Connection refused
In my configuration, I'm using:
network.bind_host: localhost
network.publish_host: 0.0.0.0
network.host: 0.0.0.0
http.port: 9200
My log at /var/log/elasticsearch/
is blank, but looking at sudo journalctl --unit elasticsearch
I see:
Starting Elasticsearch...
Started Elasticsearch.
elasticsearch.service: Main process exited, code=killed, status=9/KILL
elasticsearch.service: Unit entered failed state.
elasticsearch.service: Failed with result 'signal'.
Starting Elasticsearch...
Started Elasticsearch.
elasticsearch.service: Main process exited, code=killed, status=9/KILL
elasticsearch.service: Unit entered failed state.
elasticsearch.service: Failed with result 'signal'.
Starting Elasticsearch...
Started Elasticsearch.
elasticsearch.service: Main process exited, code=killed, status=9/KILL
elasticsearch.service: Unit entered failed state.
elasticsearch.service: Failed with result 'signal'.
...
How can I track down the holdup in getting this service online?