Page 1 of 1

nagios is not running after upgrade

Posted: Thu Mar 07, 2019 6:11 am
by Cpt.Ackbar
Hello,

Today we have upraded nagios XI from version 5.5.8 to 5.5.11. I didi it via manual steps.

After upgrade, nagios service is not running and when I try to run it it does not work either.

Code: Select all

[root@frkgnagxip1 mplisek]# service nagios status
nagios is not running
[root@frkgnagxip1 mplisek]# service nagios start
Starting nagios: done.
[root@frkgnagxip1 mplisek]# service nagios status
nagios is not running
I am attaching upgrade.log. I have not found any errors.

We are also using modgearman. I have a script which I am using to restart services.

Code: Select all

#Service Stop Order:
service nagios stop
service mod_gearman_worker stop
service gearmand stop

#Service Start Order:
service gearmand start
#service mod_gearman_worker start
service nagios start
service nagios status
After applying the script it looks like this.

Code: Select all

[root@frkgnagxip1 user]# ./fixworkers.sh
Stopping nagios: /etc/init.d/nagios: line 153: kill: (6515) - No such process
done.
Stopping mod_gearman_worker.... Not running.
Stopping gearmand:                                         [  OK  ]
Starting gearmand:                                         [  OK  ]
Starting nagios: done.
nagios is not running
Please advice as this is affecting monitoring for 66% devices around the globe.

Re: nagios is not running after upgrade

Posted: Thu Mar 07, 2019 12:01 pm
by cdienger
The upgrade didn't recognize the gearman install for some reason and the core 4.4.3 was installed which can cause issues. See https://support.nagios.com/kb/article/n ... e-823.html to downgrade core.

Re: nagios is not running after upgrade

Posted: Thu Mar 07, 2019 12:03 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.