nagios bailing out

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
HTNAGIOSADMIN
Posts: 2
Joined: Tue Jan 12, 2016 10:38 am

nagios bailing out

Post by HTNAGIOSADMIN »

Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL

Error: Cannot open main configuration file '/etc/init.d/stop' for reading!
Nagios 3.0.6 starting... (PID=20642)
Local time is Wed Oct 26 09:26:54 EDT 2016
Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=20642)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: nagios bailing out

Post by tmcdonald »

What command are you running to start nagios? It should not be reading the /etc/init.d/stop file for its configuration, but rather a nagios.cfg file located somewhere on your filesystem.
Former Nagios employee
HTNAGIOSADMIN
Posts: 2
Joined: Tue Jan 12, 2016 10:38 am

Re: nagios bailing out

Post by HTNAGIOSADMIN »

/etc/init.d/nagios stop

Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: nagios bailing out

Post by avandemore »

Locking thread, handled in tickets.
Previous Nagios employee
Locked