lm_sensors and nagios service won't start

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
awaller
Posts: 4
Joined: Fri Jul 20, 2018 8:20 am

lm_sensors and nagios service won't start

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: lm_sensors and nagios service won't start

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
awaller
Posts: 4
Joined: Fri Jul 20, 2018 8:20 am

Re: lm_sensors and nagios service won't start

Post by awaller »

I've attached a file showing the outcomes of the systemctl and journal.
Attachments
nagios errors.jpg
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: lm_sensors and nagios service won't start

Post by scottwilkerson »

What is the full output of

Code: Select all

systemctl status nagios.service
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
awaller
Posts: 4
Joined: Fri Jul 20, 2018 8:20 am

Re: lm_sensors and nagios service won't start

Post by awaller »

Ok here is the full output
Attachments
systemctl.jpg
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: lm_sensors and nagios service won't start

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
awaller
Posts: 4
Joined: Fri Jul 20, 2018 8:20 am

Re: lm_sensors and nagios service won't start

Post by awaller »

That command really helped. Was able to identify what was wrong and edit the cfg files.
Thanks,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: lm_sensors and nagios service won't start

Post by scottwilkerson »

awaller wrote:That command really helped. Was able to identify what was wrong and edit the cfg files.
Thanks,
Excellent.

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked