Starting nagios, localhost appears DOWN

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.
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: Starting nagios, localhost appears DOWN

Post by volpeadmin »

/etc/init.d/nagios ...attached (changed file extension to known file type)
Attachments
nagios.txt
(5.19 KiB) Downloaded 572 times
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Starting nagios, localhost appears DOWN

Post by lmiltchev »

BTW, can you run the following command and see if this is going to fix your issue?

Code: Select all

usermod -s /bin/bash nagios
Be sure to check out our Knowledgebase for helpful articles and solutions!
volpeadmin
Posts: 21
Joined: Wed Sep 25, 2013 9:44 am

Re: Starting nagios, localhost appears DOWN

Post by volpeadmin »

I think that did it! "Nagios" user needed the bash shell..

# service nagios restart
Running configuration check...done.
Stopping nagios: done.
Starting nagios: done.

(no error.)

Thanks a bunch!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Starting nagios, localhost appears DOWN

Post by slansing »

Ah excellent, thanks for letting us know!
Locked