Page 1 of 1

lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 8:27 am
by awaller
I checked the systemctl and noticed that the lm_sensors and Nagios services aren't started. I can't seem to start them I just keep getting the following error:
Job for lm_sensors.service failed because the control process exited with error code. See "systemctl status lm_sensors.service" and "journalctl -xe" for details.
I get the same error for the Nagios service.
Can anyone help?

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 8:45 am
by scottwilkerson
What output do you get when looking at the details

Code: Select all

systemctl status nagios.service
or

Code: Select all

journalctl -xe

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 9:05 am
by awaller
I've attached a file showing the outcomes of the systemctl and journal.

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 9:37 am
by scottwilkerson
What is the full output of

Code: Select all

systemctl status nagios.service

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 10:31 am
by awaller
Ok here is the full output

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 11:21 am
by scottwilkerson
the problem is your config is failing verification, you need to resolve the issues found here

Code: Select all

/usr/sbin/nagios -v /etc/nagios/nagios.cfg

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 11:52 am
by awaller
That command really helped. Was able to identify what was wrong and edit the cfg files.
Thanks,

Re: lm_sensors and nagios service won't start

Posted: Fri Jul 20, 2018 12:03 pm
by scottwilkerson
awaller wrote:That command really helped. Was able to identify what was wrong and edit the cfg files.
Thanks,
Excellent.

Locking