First of all, sorry for my bad english (I'm french).
My problem is when I type "service nagios restart". This brings me:
Code: Select all
Job for nagios.service failed. See 'systemctl1 status nagios.service' and 'journalctl -xn' for details.Code: Select all
systemctl status nagios.serviceCode: Select all
● nagios.service - LSB: Starts and stops the Nagios monitoring server
Loaded: loaded (/etc/init.d/nagios)
Active: failed (Result: exit-code) since mar. 2016-06-14 11:50:38 CEST; 1min 8s ago
Process: 2989 ExecStart=/etc/init.d/nagios start (code=exited, status=8)
juin 14 11:50:38 debian nagios[2989]: ***> One or more problems was encountered while processing the config files...
juin 14 11:50:38 debian nagios[2989]: Check your configuration file(s) to ensure that they contain valid
juin 14 11:50:38 debian nagios[2989]: directives and data defintions. If you are upgrading from a previous
juin 14 11:50:38 debian nagios[2989]: version of Nagios, you should be aware that some variables/definitions
juin 14 11:50:38 debian nagios[2989]: may have been removed or modified in this version. Make sure to read
juin 14 11:50:38 debian nagios[2989]: the HTML documentation regarding the config files, as well as the
juin 14 11:50:38 debian nagios[2989]: 'Whats New' section to find out what has changed.
juin 14 11:50:38 debian systemd[1]: nagios.service: control process exited, code=exited status=8
juin 14 11:50:38 debian systemd[1]: Failed to start LSB: Starts and stops the Nagios monitoring server.
juin 14 11:50:38 debian systemd[1]: Unit nagios.service entered failed state.
Code: Select all
journalctl -xnCode: Select all
-- Logs begin at mar. 2016-06-14 10:42:50 CEST, end at mar. 2016-06-14 11:53:37 CEST. --
juin 14 11:53:37 debian nagios[3083]: ***> One or more problems was encountered while processing the config files...
juin 14 11:53:37 debian nagios[3083]: Check your configuration file(s) to ensure that they contain valid
juin 14 11:53:37 debian nagios[3083]: directives and data defintions. If you are upgrading from a previous
juin 14 11:53:37 debian nagios[3083]: version of Nagios, you should be aware that some variables/definitions
juin 14 11:53:37 debian nagios[3083]: may have been removed or modified in this version. Make sure to read
juin 14 11:53:37 debian nagios[3083]: the HTML documentation regarding the config files, as well as the
juin 14 11:53:37 debian nagios[3083]: 'Whats New' section to find out what has changed.
juin 14 11:53:37 debian systemd[1]: nagios.service: control process exited, code=exited status=8
juin 14 11:53:37 debian systemd[1]: Failed to start LSB: Starts and stops the Nagios monitoring server.
-- Subject: L'unité (unit) nagios.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) nagios.service a échoué, avec le résultat failed.
juin 14 11:53:37 debian systemd[1]: Unit nagios.service entered failed state.