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

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
scottfree1
Posts: 2
Joined: Sun Apr 19, 2015 7:34 pm

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

Post 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..
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

What OS and version are you installing on? Are you installing from source or from a repo?
Former Nagios employee
scottfree1
Posts: 2
Joined: Sun Apr 19, 2015 7:34 pm

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

Post 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.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

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

Post 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?
Locked