Thanks Marc. Turns out it was because I had a cfg_dir=/etc/nagios directive in nagios.cfg
Thanks again! Demian -----Original Message----- From: Marc Powell [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 1:26 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Problem starting nagios Do not list cgi.cfg as a cfg_file (or at all actually) in nagios.cfg. The daemon doesn't need to know about it and the CGI's automagically know about it. -- Marc > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ginther, Demian M > Sent: Monday, January 16, 2006 1:27 PM > To: nagios-users@lists.sourceforge.net > Subject: FW: [Nagios-users] Problem starting nagios > > > Here is the error: > > kiki-2:/Users/administrator root# /usr/local/nagios2/bin/nagios > -v /etc/nagios/nagios.cfg > > Nagios 2.0rc2 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 01-10-2006 > License: GPL > > Reading configuration data... > > Error: Unexpected token or statement in file > '/etc/nagios/cgi.cfg' on line 16. > > ***> One or more problems was encountered while processing the > config files... > > The permissions on the /etc/nagios folder are: > > > drwxr-xr-x 11 root www 374 12 Jan 15:54 nagios > > The /etc/nagios/cgi.cfg looks like: > > > ################################################################# > # > # CGI.CFG - Sample CGI Configuration File for Nagios > # > # Last Modified: 05-05-2005 > # > > ################################################################# > > > # MAIN CONFIGURATION FILE > # This tells the CGIs where to find your main configuration > file. > # The CGIs will read the main and host config files for any > other > # data they might need. > > > main_config_file=/etc/nagios/nagios.cfg > > with that last line being line 16. > > Thanks for your help. > > Demian > > > > -----Original Message----- > From: Andreas Brandino [mailto:[EMAIL PROTECTED] > Sent: Monday, January 16, 2006 5:37 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Problem starting nagios > > Hi Ginther, > > > > the permissions of /etc/nagios are correct? > > can u send the exact error? > > > > - Andreas Brandino > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p > i > 1[showUid]=14291 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Nagios-users mailing list Nagios-users@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