[Xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.

phil design at 023.co.uk
Mon Apr 16 18:43:08 CEST 2012




Larry Barber <lebarber at ...> writes:

> 
> 
> You probably have your umask set more securely than the install program
assumes. You can either use chmod to loosen up the permissions on the files and
directories that Apache needs to read or use setfacl. You should also probably
set umask in one of the login files for your xymon user, or Apache will likely
not be able to read the files that Xymon creates. Thanks,Larry Barber
> On Wed, Jan 19, 2011 at 11:41 AM, Xymon User in Richmond
<hobbit at epperson.homelinux.net> wrote:
> On Wed, January 19, 2011 11:23, Jayanta Kundu wrote:
> > Hi Craig,
> >
> >
> >
> > How can I give read permission to apache user?
> >
> > My “www” and “web” folder is present in the path “/home/xymon/server/www”
> >
> Offhand I'd say to put the apache user in the xymon group if you have such
> problems.  But since a default Xymon install will normally have the
> permissions at 755 for folders and 644 for files in the Xymon www and cgi
> directories, the perms have apparently been mucked with on your system,
> perhaps the ownership as well.  In a normal install, in my experience,
> apache would be able to read everything without any permission
> adjustments.
> 
> >
> > If find apache from root then following output I got:
> >
> > /usr/sbin/apachectl
> You mean, like "find / -name 'apache*'"?  It's not clear how that would
> have any bearing on the discussion.
> 
> >
> >
> >
> > [root <at> RHEL5 sbin]# pwd
> >
> > /usr/sbin
> >
> > [root <at> RHEL5 sbin]# ls -lrt apachectl
> >
> > -rwxr-xr-x 1 root root 3916 Jul 15  2009 apachectl
> >
> Yep, that's what it looks like on my systems, too.  Your point?
> 
> 
> 
> To unsubscribe from the xymon list, send an e-mail
toxymon-unsubscribe at xymon.com
> 
> 
> 
> 
> 
> 

I have just experienced the same issue, as I have installed xymon and BB on
several occasions with no such issue before or adjusting any unix groups or
permissions I was not totally convinced by some of the answers.

My install gave the error when building Xymon 4.3.7 onto a RH6 platform, which
by default supplies Apache 2.2.15, if you look at the example apache conf file
provided by Xymon it states that it is for Apache 1.3 - 2.0, solution that
worked for me was install Apache 2.0.64 into /usr/local/ and use that instead (I
also needed to remove the all BB redirects .

I am no Apache expert and will allow others to debate the why's I just needed it
working and suspect that an increase in security which I do not know how to
unconfigure/configure is responsible. Bottom line change Apache version

Phil 





More information about the Xymon mailing list