Fw : Re: error to access on nagios web

nadia kheffache nadiakheffache at yahoo.fr
Wed Jul 15 10:25:02 CEST 2009



 i have these error in my log file:
 
 [root at serveur nagios-plugins-1.4.11]# tail -f
 /etc/httpd/logs/error_log
 [Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25]
 Directory index forbidden by rule: /usr/local/nagios 
                
               /share/
 [Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25]
 Directory index forbidden by rule: /usr/local/nagios/share/ 
                
               
 [Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25]
 Directory index forbidden by rule: /usr/local/nagios/share/
          
 [Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 
 
 
> --- En date de : Mer 15.7.09, Guy Waugh <guidosh at gmail.com>
> a écrit :
> 
> > De: Guy Waugh <guidosh at gmail.com>
> > Objet: Re: [Nagios-users] error to access on nagios
> web
> > À: "nadia kheffache" <nadiakheffache at yahoo.fr>
> > Cc: nagios-users at lists.sourceforge.net
> > Date: Mercredi 15 Juillet 2009, 9h52
> > Hi Nadia,
> >  
> > What does the apache error log say?
> >  
> > Regards,
> > Guy.
> > 
> > 
> > On Wed, Jul 15, 2009 at 8:29 AM,
> > nadia kheffache <nadiakheffache at yahoo.fr>
> > wrote:
> > 
> > 
> > I'm having some issues setting up the web interface
> for
> > Nagios. I have follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html
> > instructions to the letter and I'm getting
> > 
> > 
> > Forbidden
> > 
> > You don't have permission to access /nagios on this
> > server.
> >
> __________________________________________________________________
> > 
> > Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
> > 
> > 
> > i have a right permission on these file:
> > 
> > [root at spvcol ~]# ll
> /usr/local/nagios/etc/htpasswd.users
> > -rwxrwxr-x 1 apache apache 26 sep 16  2008
> > /usr/local/nagios/etc/htpasswd.users
> > 
> >
> ------------------------------------------------------------
> > 
> > 
> > nagios.conf: "/etc/httpd/conf.d/nagios.conf"
> > 
> > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> > # Last Modified: 11-26-2005
> > #
> > # This file contains examples of entries that need
> > # to be incorporated into your Apache web server
> > 
> > # configuration file.  Customize the paths, etc. as
> > # needed to fit your system.
> > 
> > ScriptAlias /nagios/cgi-bin
> > "/usr/local/nagios/sbin"
> > 
> > <Directory "/usr/local/nagios/sbin">
> > #  SSLRequireSSL
> > 
> >   Options ExecCGI
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > #  Order deny,allow
> > #  Deny from all
> > #  Allow from 127.0.0.1
> >   AuthName "Nagios Access"
> >   AuthType Basic
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> > 
> >   Require valid-user
> > </Directory>
> > 
> > Alias /nagios "/usr/local/nagios/share"
> > 
> > <Directory "/usr/local/nagios/share">
> > #  SSLRequireSSL
> >   Options None
> >   AllowOverride None
> > 
> >   Order allow,deny
> >   Allow from all
> > #  Order deny,allow
> > #  Deny from all
> > #  Allow from 127.0.0.1
> >   AuthName "Nagios Access"
> >   AuthType Basic
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> > 
> >   Require valid-user
> > </Directory>
> > 
> >
> ________________________________________________________________
> > 
> > Thank for your help
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> ------------------------------------------------------------------------------
> > 
> > Enter the BlackBerry Developer Challenge
> > This is your chance to win up to $100,000 in prizes!
> For a
> > limited time,
> > vendors submitting new applications to BlackBerry App
> > World(TM) will have
> > the opportunity to enter the BlackBerry Developer
> > Challenge. See full prize
> > 
> > details at: http://p.sf.net/sfu/Challenge
> > _______________________________________________
> > 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
> > 
> > 
> > 
> 
> 
> 
> 


      


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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