Newbie question!

vivek sharma sharma vivek_222 at rediffmail.com
Thu Mar 3 07:50:08 CET 2005


  
Are you trying the same in explorer.If it is so have you configured authentication for cgi.
If you ahve and after giving password u r getting this error then try disabling the authentication by removing the .htaccess from /usr/local/nagios/share and /usr/local/nagios/sbin .

Thanks.
Vivek

On Thu, 03 Mar 2005 Gerard Marcel wrote :
>Nagios is running under user nagios and group nagios.  The
>/usr/local/nagios is owned by nagios:nagios.
>
>Regards,
>
>GM
>
>
>On 2 Mar 2005 20:44:46 -0000, vivek sharma sharma
><vivek_222 at rediffmail.com> wrote:
> >
> >
> >  Hi,
> >      U can check on the permissions given to that directory and moreover
> > have u made nagio user and group or not.
> >  It should be there.Check out.
> >
> >  Thanks
> >  Vivek
> >
> >
> >  On Thu, 03 Mar 2005 Gerard Marcel wrote :
> >
> >  >I am a newbie and I have been unable to shake the error below:
> >  >
> >  >Whoops!
> >  >
> >  >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:
> >  >
> >  >    1. 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.
> >  >    2. 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 have read the most of the documentation so far.  this error occurs
> >  >when I try  to run a script on web interface.  All of the files are
> >  >in their correct/default location.
> >  >
> >  >The documentation says that I am supposed to get config files from the
> >  >plugins installed, but I can't find any so I am using the samples that
> >  >come with nagios.  I have changed the samples to match my environment.
> >  >  My apache is running as user apache and it is a member of the nagios
> >  >group.
> >  >
> >  >Nagios-2.0.b2
> >  >pluggins 1.4
> >  >
> >  >TIA,
> >  >
> >  >GM
> >  >
> >  >
> >  >-------------------------------------------------------
> >  >SF email is sponsored by - The IT Product Guide
> >  >Read honest & candid reviews on hundreds of IT Products from real users.
> >  >Discover which products truly live up to the hype. Start reading now.
> >  >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
> >
> >
> >
> >
> >


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050303/1ea063b1/attachment.html>


More information about the Users mailing list