Failed to start Nagios Core 4.4.5.
Posted: Tue Jan 21, 2020 11:55 am
Hi Team,
Can you please check and help with this?
------------------------------------------------------------------------------------------------------------------------------------
service nagios status
Redirecting to /bin/systemctl status nagios.service
● nagios.service - Nagios Core 4.4.5
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-01-21 21:30:17 AEDT; 6h ago
Docs: https://www.nagios.org/documentation
Process: 10292 ExecStopPost=/bin/rm -f /usr/local/nagios/var/rw/nagios.cmd (code=exited, status=0/SUCCESS)
Process: 10289 ExecStop=/bin/kill -s TERM ${MAINPID} (code=exited, status=0/SUCCESS)
Process: 12023 ExecStart=/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Process: 17617 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)
Main PID: 12025 (code=exited, status=0/SUCCESS)
Jan 21 21:30:17 $hostaddress nagios[17617]: Check your configuration file(s) to ensure that they contain valid
Jan 21 21:30:17 $hostaddress nagios[17617]: directives and data definitions. If you are upgrading from a previous
Jan 21 21:30:17 $hostaddress nagios[17617]: version of Nagios, you should be aware that some variables/definitions
Jan 21 21:30:17 $hostaddress nagios[17617]: may have been removed or modified in this version. Make sure to read
Jan 21 21:30:17 $hostaddress nagios[17617]: the HTML documentation regarding the config files, as well as the
Jan 21 21:30:17 $hostaddress nagios[17617]: 'Whats New' section to find out what has changed.
Jan 21 21:30:17 $hostaddress systemd[1]: nagios.service: control process exited, code=exited status=1
Jan 21 21:30:17 $hostaddress systemd[1]: Failed to start Nagios Core 4.4.5.
Jan 21 21:30:17 $hostaddress systemd[1]: Unit nagios.service entered failed state.
Jan 21 21:30:17 $hostaddress systemd[1]: nagios.service failed.
Can you please check and help with this?
------------------------------------------------------------------------------------------------------------------------------------
service nagios status
Redirecting to /bin/systemctl status nagios.service
● nagios.service - Nagios Core 4.4.5
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-01-21 21:30:17 AEDT; 6h ago
Docs: https://www.nagios.org/documentation
Process: 10292 ExecStopPost=/bin/rm -f /usr/local/nagios/var/rw/nagios.cmd (code=exited, status=0/SUCCESS)
Process: 10289 ExecStop=/bin/kill -s TERM ${MAINPID} (code=exited, status=0/SUCCESS)
Process: 12023 ExecStart=/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Process: 17617 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)
Main PID: 12025 (code=exited, status=0/SUCCESS)
Jan 21 21:30:17 $hostaddress nagios[17617]: Check your configuration file(s) to ensure that they contain valid
Jan 21 21:30:17 $hostaddress nagios[17617]: directives and data definitions. If you are upgrading from a previous
Jan 21 21:30:17 $hostaddress nagios[17617]: version of Nagios, you should be aware that some variables/definitions
Jan 21 21:30:17 $hostaddress nagios[17617]: may have been removed or modified in this version. Make sure to read
Jan 21 21:30:17 $hostaddress nagios[17617]: the HTML documentation regarding the config files, as well as the
Jan 21 21:30:17 $hostaddress nagios[17617]: 'Whats New' section to find out what has changed.
Jan 21 21:30:17 $hostaddress systemd[1]: nagios.service: control process exited, code=exited status=1
Jan 21 21:30:17 $hostaddress systemd[1]: Failed to start Nagios Core 4.4.5.
Jan 21 21:30:17 $hostaddress systemd[1]: Unit nagios.service entered failed state.
Jan 21 21:30:17 $hostaddress systemd[1]: nagios.service failed.