** NEED HELP ** TRYING TO SOLVE THIS ERROR FOR 3 DAYS
Subhendu Ghosh
sghosh at sghosh.org
Thu May 12 04:09:42 CEST 2005
On Wed, 11 May 2005, Wasif Khan wrote:
> *Hi, All,
>
> I am new to Nagios. I have followed the documentation. Installed Nagios on
> Red Hat 7.0, IBM HTTP Apache Server. After all configurations,
> installations, I ran preflight as follows:-
>
> ./nagios -v /usr/local/nagios/etc/nagios.cfg
>
> It ran find and report 0 errors and 0 warnings.
>
> I went to the website http://linuxtest/nagios/ and got main screen. When I
> click any link on the side (eg. View Config, Status etc..) I get the
> following error.
>
>
> ===================================================
>
> Error: Could not open CGI config file './usr/local/nagios/etc/cgi.cfg' for
> reading!
>
> Here are some things you should check in order to resolve this error:
>
>
> Make sure you've installed a CGI config file in its proper location. See the
> error message about for details on where the CGI is expecting to find the
> configuration file. A sample CGI configuration file (named cgi.cfg) can be
> found in the sample-config/ subdirectory of the Nagios source code
> distribution.
> Make sure the user your web server is running as has permission to read the
> CGI config file.
>
> Make sure you read the documentation on installing and configuring Nagios
> thoroughly before continuing. If all else fails, try sending a message to one
> of the mailing lists. More information can be found at http://www.nagios.org.
>
> ===========================================================
>
> I am not sure what to do and where to look. All CGI are in right directory.
>
> Would really appreciate your help.
>
>
>
Did you add the "Script Alias" and "Alias" entries in Apache's config for
Nagios?
--
-sg
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
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