Requesting for help with Elasticsearch.
I installed Elasticsearch in my ubuntu server 20.04 but unable to get it to work.
The command : systemctl status Elasticsearch.service yielded the following:
$ systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Tue 2021-09-28 17:20:33 EDT; 1h 5min ago
Docs: https://www.elastic.co
Process: 707743 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=k>
Main PID: 707743 (code=killed, signal=TERM)
Sep 28 17:19:14 eooubuserver systemd[1]: Starting Elasticsearch...
Sep 28 17:20:30 eooubuserver systemd[1]: elasticsearch.service: start operation timed out. Terminating.
Sep 28 17:20:33 eooubuserver systemd[1]: elasticsearch.service: Failed with result 'timeout'.
Sep 28 17:20:33 eooubuserver systemd[1]: Failed to start Elasticsearch.
eugene@eooubuserver:~$
The command " journalctl -xe" gave out the following:
$ journalctl -xe | grep Elasticsearch | tail
Sep 28 18:46:25 eooubuserver logstash[1167]: [2021-09-28T22:46:25,237][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:46:30 eooubuserver logstash[1167]: [2021-09-28T22:46:30,267][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:46:35 eooubuserver logstash[1167]: [2021-09-28T22:46:35,324][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:46:40 eooubuserver logstash[1167]: [2021-09-28T22:46:40,343][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:46:45 eooubuserver logstash[1167]: [2021-09-28T22:46:45,383][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:46:50 eooubuserver logstash[1167]: [2021-09-28T22:46:50,404][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:46:55 eooubuserver logstash[1167]: [2021-09-28T22:46:55,427][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:47:00 eooubuserver logstash[1167]: [2021-09-28T22:47:00,454][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:47:05 eooubuserver logstash[1167]: [2021-09-28T22:47:05,490][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
Sep 28 18:47:10 eooubuserver logstash[1167]: [2021-09-28T22:47:10,535][WARN ][logstash.outputs.Elasticsearch][main] Attempted to resurrect connection to dead ES instance, but got an error {:url=>"http://127.0.0.1:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [http://127.0.0.1:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
eugene@eooubuserver:~$
Can I please get someone to help me solve this problem. Thanks.