Page 1 of 1

No-go-r-us? CONFIG ERROR! Start aborted

Posted: Sun Apr 19, 2015 7:40 pm
by scottfree1
/etc/init.d/nagios start
Executable file /usr/local/nagios/bin/nagios not found. Exiting.
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

No dir /usr/local/nagios/bin/ so no nagios
Create /usr/local/nagios/bin/ Copy only "nagios" I can find

/etc/init.d/nagios start

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 465 (Check result path is not a valid directory)
Error processing main config file!

line 465 check_result_path=/usr/local/nagios/var/spool/checkresults

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

created dir set perm to 777

/etc/init.d/nagios start Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.

Set perms to 777 and owner to nogios /usr/local/nagios no change, ran out of ideas..

Re: No-go-r-us? CONFIG ERROR! Start aborted

Posted: Mon Apr 20, 2015 9:50 am
by tmcdonald
What OS and version are you installing on? Are you installing from source or from a repo?

Re: No-go-r-us? CONFIG ERROR! Start aborted

Posted: Tue Apr 21, 2015 1:39 am
by scottfree1
Debian 7.8 "Wheezy" from this guide http://nagios.sourceforge.net/docs/nagi ... buntu.html not a huge linux wonk, but from my limited understanding of compiling from source, at least in theory, it should work.

Re: No-go-r-us? CONFIG ERROR! Start aborted

Posted: Tue Apr 21, 2015 9:36 am
by jdalrymple
Did you do all these?

Code: Select all

make install

make install-init

make install-config

make install-commandmode
I'm wondering if maybe something failed in the make install bit. Where did you find that only nagios binary that you found?