Eu apenas segui este guia de instalação do Elasticsearch via APT:
link
Quando executo curl -X GET 'http://127.0.0.1:9200/'
(ou localhost), recebo um erro: Failed to connect to 127.0.0.1 port 9200: Connection refused
Na minha configuração, estou usando:
network.bind_host: localhost
network.publish_host: 0.0.0.0
network.host: 0.0.0.0
http.port: 9200
Meu log em /var/log/elasticsearch/
está em branco, mas olhando para sudo journalctl --unit elasticsearch
, vejo:
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'.
...
Como posso rastrear o atraso na obtenção deste serviço on-line?