Error in configuration File..... Line 1 Null Value?

Edward St Pierre edward.stpierre at gmail.com
Fri Jul 16 19:21:22 CEST 2010


Do:

sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg

That should sort that out

On 16 Jul 2010 18:12, "Scott Voll" <svoll.voip at gmail.com> wrote:

So I'm a first timer to Nagios.  Loved it at my old job, but I never managed
it.  Looks like I may be managing it at the new job.

I've read through install guides and Googled a lot.  Maybe it's something
easy I'm just not getting.

When I try and test the config I get:

[root at localhost bin]# sudo nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg

Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL

Error in configuration file '/usr/bin/nagios' - Line 1 (NULL value)  <--
 Looks like the Nagios Program has an issue?????  or the config file?
Nagios 2.9 starting... (PID=17206)
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=17206)

I have double check that the files are there.  They are pointing in the
right directories, permissions seem to be set and and file access allowed.

Can someone give me a pointer in the right direction?

TIA

Scott

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100716/92ac4264/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list