Page 1 of 3
post upgradeNagios Log Server - Waiting For Database Startup
Posted: Mon Sep 23, 2019 2:53 pm
by P201420
2 cluster NLS
both have latest applied
post upgrade got waiting for DB message
have rebooted both per kb site
getting
Nagios Log Server - Waiting For Database Startup
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Mon Sep 23, 2019 4:43 pm
by benjaminsmith
Hello,
Have you checked the status of elasticsearch, is it running on the server?
Code: Select all
systemctl status elasticsearch.service
Please post the output to the following commands from the terminal. Thanks.
Code: Select all
curl -XGET 'http://localhost:9200'
tail -n 50 /var/log/elasticsearch/*.log
ps aux | grep java
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Tue Sep 24, 2019 7:42 am
by P201420
0
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Tue Sep 24, 2019 9:44 am
by P201420
o
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Tue Sep 24, 2019 3:51 pm
by scottwilkerson
On nl85u1016 can you show the output of the following
Code: Select all
cat /usr/local/nagioslogserver/var/cluster_hosts
I thing there is an errant blank line in there
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Wed Sep 25, 2019 6:52 am
by P201420
-
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Wed Sep 25, 2019 6:57 am
by scottwilkerson
On nl85u1016 can you edit
/usr/local/nagioslogserver/var/cluster_hosts and remove the blank line
then restart elasticsearch
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Wed Sep 25, 2019 7:08 am
by P201420
-
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Wed Sep 25, 2019 7:17 am
by P201420
-
Re: post upgradeNagios Log Server - Waiting For Database Sta
Posted: Wed Sep 25, 2019 9:01 am
by scottwilkerson
So, at the bottom of each log I see one node says
new_master
Code: Select all
[2019-09-25 12:05:52,407][INFO ][cluster.service ] [0358e3fa-37dc-45fc-afe0-65853775d580] new_master [0358e3fa-37dc-45fc-afe0-65853775d580][nwLWtBlqRZSSpYF9jpzJKQ][nl85u1015.resideo.com][inet[/10.86.2.81:9300]]
and the other says
detected_master
Code: Select all
[2019-09-25 12:05:58,822][INFO ][cluster.service ] [a7805855-0b0a-4d41-bf96-ba7d5940f677] detected_master [0358e3fa-37dc-45fc-afe0-65853775d580][nwLWtBlqRZSSpYF9jpzJKQ][nl85u1015.resideo.com][inet[/10.86.2.81:9300]]
This looks like they should be connected