We upgraded our nagios xi server to 5.8.6 and the nagios.service is failing to start
[/usr/local/nagios]# systemctl status nagios
● nagios.service - Nagios Core 4.4.6
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2022-03-08 12:17:05 EST; 6min ago
Docs: https://www.nagios.org/documentation
Process: 3260 ExecStopPost=/bin/rm -f /usr/local/nagios/var/rw/nagios.cmd (code=exited, status=0/SUCCESS)
Process: 3243 ExecStart=/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Process: 3241 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Main PID: 3245 (code=exited, status=1/FAILURE)
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov nagios[3241]: Checking global event handlers...
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov nagios[3241]: Checking obsessive compulsive processor commands...
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov nagios[3241]: Checking misc settings...
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov nagios[3241]: Total Warnings: 0
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov nagios[3241]: Total Errors: 0
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov nagios[3241]: Things look okay - No serious problems were detected during the pre-flight check
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov systemd[1]: Started Nagios Core 4.4.6.
Mar 08 12:17:03 nsc-prd-nagios-210.is.cl.ssa.gov systemd[1]: nagios.service: main process exited, code=exited, status=1/FAILURE
Mar 08 12:17:05 nsc-prd-nagios-210.is.cl.ssa.gov systemd[1]: Unit nagios.service entered failed state.
Mar 08 12:17:05 nsc-prd-nagios-210.is.cl.ssa.gov systemd[1]: nagios.service failed.
[/usr/local/nagiosxi/tools]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 837 services.
Checked 130 hosts.
Checked 15 host groups.
Checked 9 service groups.
Checked 7 contacts.
Checked 2 contact groups.
Checked 141 commands.
Checked 12 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 130 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 12 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
nagios service won't start after upgrade to 5.8.7
Re: nagios service won't start after upgrade to 5.8.7
Hello @ssancc
Thanks for reaching out, want to have you send over the System Profile and 'upgrade.log' (which is written in the 'nagiosxi' install directory).
Then send the resulting /usr/local/nagiosxi/var/components/profile.zip file via Private Message.
Thanks,
Perry
p.s.
Thanks for reaching out, want to have you send over the System Profile and 'upgrade.log' (which is written in the 'nagiosxi' install directory).
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile.zip
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORTThen send the resulting /usr/local/nagiosxi/var/components/profile.zip file via Private Message.
Thanks,
Perry
p.s.
We're moving to a new support system!
The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.
Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users
After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.