Strange Error w/ cgi.cfg
Westlake, Simon
simon.westlake at twcable.com
Thu Nov 18 19:01:23 CET 2004
Hi,
I'm setting up Nagios 1.2 for the first time and am having a strange error.
I originally installed Nagios+NAGAT and created my configuration files (nagios.cfg and cgi.cfg). All files are installed to the default location (/usr/local/nagios/etc)
After generating the files, I ran nagios -v and it said there was an error in my cgi.cfg (specifically Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 8.)
Thinking perhaps Nagat was creating the file out of order, I tried re-creating the file by hand following the guidelines. Same error.
As a last resort, I tried doing make install-config and modifying cgi.cfg-sample (not changing line 15 at all, the default was correct.) I now get:
Error: Unexpected token or statement in file '/usr/local/nagios/etc/cgi.cfg' on line 15.
Searching the archives, it appears someone else having this issue modified the sample config to get around it. Not working for me.
Anyone have any other ideas?
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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