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=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

Reply via email to