Page 1 of 4
New Nagios 4 installation will not start up
Posted: Mon Feb 10, 2014 1:29 pm
by Bigpaddy_Irl
Hi Guys,
for the past 9 years I have tried every single year to get Nagios up and running to no avail. I spend days and days every year trying to get it going before I eventually give up.
there always seems to be some problem with it.
so this is truly the final time I am putting my heart back into it again
I have installed a brand new version of Ubuntu 13.10 server edition.
I have followed this tutorial to the T.....
http://www.ubuntugeek.com/how-to-instal ... ander.html
apache is working fine, but when I try to start nagios I get the following error (Attached)
I honestly do not know what to call this problem, as I have trolled the web for an answer
Please help me.!!
Re: New Nagios 4 installation will not start up
Posted: Mon Feb 10, 2014 1:38 pm
by sreinhardt
Well let's start with the easy ones, where are your nagios binaries (/usr/bin/nagios ?) and where are your nagios configs(/etc/nagios?) What I would like to do is start with a config verification and move on from there.
Re: New Nagios 4 installation will not start up
Posted: Mon Feb 10, 2014 4:55 pm
by Bigpaddy_Irl
Hi,
The bins are in;
/usr/local/nagios
config's are in;
/usr/local/nagios/etc/nagios.cfg
Re: New Nagios 4 installation will not start up
Posted: Mon Feb 10, 2014 5:45 pm
by slansing
Lets verify your configuration files what is the output of:
Code: Select all
/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg
Re: New Nagios 4 installation will not start up
Posted: Mon Feb 10, 2014 6:20 pm
by Bigpaddy_Irl
cannot open main configuration file......error processing main config file...
Re: New Nagios 4 installation will not start up
Posted: Mon Feb 10, 2014 6:25 pm
by Bigpaddy_Irl
but when I do a
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
I get
0 Warnings
0 Errors.
Is it my imagination or are all my Nagios directories all over the place like?
Re: New Nagios 4 installation will not start up
Posted: Tue Feb 11, 2014 11:17 am
by abrist
Looks like you may have init script issues. Can you try starting nagios manually?
Code: Select all
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Re: New Nagios 4 installation will not start up
Posted: Tue Feb 11, 2014 2:23 pm
by Bigpaddy_Irl
no errors came back when I done that....but still nothing is coming up in my browser.
Re: New Nagios 4 installation will not start up
Posted: Tue Feb 11, 2014 2:57 pm
by slansing
Before we go further, I would like to recommend you use our quick install guide, and not a random one off the web, though I am sure it works fine. Since it sounds like for whatever reason you constantly have issues getting Nagios up and running in your environment, it might be a good idea to spool up a new VM or server, and BE SURE to follow the outlines we provide. Do not use anything other than a Fresh, clean, minimal Ubuntu installation "NO GUI, or anything like that."
http://assets.nagios.com/downloads/nagi ... Source.pdf
Re: New Nagios 4 installation will not start up
Posted: Tue Feb 11, 2014 3:03 pm
by Bigpaddy_Irl
Hi, I did install a fresh install of 13.10 on a vm just for this type of occasion.
I will follow your guide and let ye know how I get on.
Cheers