Changed IP of Nagios Syslog from dhcp to static (same IP) and now it gives Waiting for Database Startup
Posted: Wed Mar 05, 2025 8:28 pm
Changed IP of Nagios Syslog from dhcp to static (same IP) and now it gives Waiting for Database Startup after shutting down and placing server in rack and powering on.
http://10.1.0.48/nagioslogserver/waiting
In the GUI we have:
"Waiting for Database Startup
It looks like your local elasticsearch service is starting."
elasticsearch is running (maybe)
sudo service elasticsearch status
â— elasticsearch.service - LSB: Starts elasticsearch
Loaded: loaded (/etc/init.d/elasticsearch; generated)
Active: active (exited) since Thu 2025-03-06 10:25:38 JST; 3min 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 774 ExecStart=/etc/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
CPU: 17.183s
/var/log/logstash
tail logstash.log gives the following.
{:timestamp=>"2025-03-05T20:26:23.822000-0500", :message=>"Attempted to send a bulk request to Elasticsearch configured at '[\"http://localhost:9200\"]', but Elasticsearch appears to be unreachable or down!", :error_message=>"Connection refused (Connection refused)", :class=>"Manticore::SocketException", :level=>:error}
any ideas on how to resolve this? Thanks!
http://10.1.0.48/nagioslogserver/waiting
In the GUI we have:
"Waiting for Database Startup
It looks like your local elasticsearch service is starting."
elasticsearch is running (maybe)
sudo service elasticsearch status
â— elasticsearch.service - LSB: Starts elasticsearch
Loaded: loaded (/etc/init.d/elasticsearch; generated)
Active: active (exited) since Thu 2025-03-06 10:25:38 JST; 3min 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 774 ExecStart=/etc/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
CPU: 17.183s
/var/log/logstash
tail logstash.log gives the following.
{:timestamp=>"2025-03-05T20:26:23.822000-0500", :message=>"Attempted to send a bulk request to Elasticsearch configured at '[\"http://localhost:9200\"]', but Elasticsearch appears to be unreachable or down!", :error_message=>"Connection refused (Connection refused)", :class=>"Manticore::SocketException", :level=>:error}
any ideas on how to resolve this? Thanks!