Xymon Mailing List Archive search

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

14 messages in this thread

list Jayanta Kundu · Wed, 19 Jan 2011 18:10:23 +0530 ·
Hi,


I install xymon collector server and agent in the same machine. Apache
server is running in the same server.

Now I start collector server and agent both.

After that I am trying to open web page with:

http://19x.xxx.xxx.xxx/xymon/index.html


I am getting following error:

*Forbidden*

You don't have permission to access /xymon/index.html on this server.

*Apache/2.2.3 (Red Hat) user-e4132cd0d72a@xymon.invalid Port 80*


Kindly let me know how can I resolved this problem?


With Regards,
Jayanta.
list Henrik Størner · Wed, 19 Jan 2011 12:50:21 +0000 (UTC) ·
quoted from Jayanta Kundu
In <user-cee8fd761897@xymon.invalid> Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
I install xymon collector server and agent in the same machine. Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this server.

Make sure you have configured Apache with the configuration
provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
reload of the Apache configuration.


Regards,
Henrik
list Jayanta Kundu · Wed, 19 Jan 2011 18:32:32 +0530 ·
Hi Henrik,


I already appended following:

*#cat /home/xymon/server/etc/hobbit-apache.conf >>
/etc/httpd/conf/httpd.conf*
After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-cee8fd761897@xymon.invalid<user-3aac6a2e47c4@xymon.invalid>>
quoted from Jayanta Kundu
Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
I install xymon collector server and agent in the same machine. Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this server.

Make sure you have configured Apache with the configuration
provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
reload of the Apache configuration.


Regards,
Henrik

list Craig Whilding · Wed, 19 Jan 2011 13:48:17 -0000 ·
Just put the whole file in the httpd/conf.d directory and then restart apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig
quoted from Jayanta Kundu

-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.
 
Hi Henrik,
 

I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >> /etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.
 
With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:


	In <user-cee8fd761897@xymon.invalid <mailto:user-3aac6a2e47c4@xymon.invalid> > Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
	
I install xymon collector server and agent in the same machine. Apache
server is running in the same server.
	
	
I am getting following error:
	
*Forbidden*
	
You don't have permission to access /xymon/index.html on this server.
	
	
	Make sure you have configured Apache with the configuration
	provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
	reload of the Apache configuration.
	
	
	Regards,
	Henrik
list Paul Root · Wed, 19 Jan 2011 08:10:45 -0600 ·
My guess as to the problem would be your web directory for xymon is owned by xymon and your web server is being run as apache, and the user apache can't read the directory.


Paul Root
Lead Internet Systems Eng
Qwest Network Services
quoted from Craig Whilding


From: Whilding, Craig [mailto:user-9ce31bfa66c3@xymon.invalid]
Sent: Wednesday, January 19, 2011 7:48 AM
To: xymon at xymon.com
Subject: RE: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.


Just put the whole file in the httpd/conf.d directory and then restart apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig

-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.

Hi Henrik,


I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >> /etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:


        In <user-cee8fd761897@xymon.invalid <mailto:user-3aac6a2e47c4@xymon.invalid> > Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
I install xymon collector server and agent in the same machine. Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this server.

        Make sure you have configured Apache with the configuration
        provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
        reload of the Apache configuration.


        Regards,
        Henrik


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Jayanta Kundu · Wed, 19 Jan 2011 19:59:03 +0530 ·
Hi Craig,

If i put the whole file(hobbit-apache.conf) in the /etc/httpd/conf/ path and
rename it into httpd.conf and restart the service httpd then its getting
failed.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 7:18 PM, Whilding, Craig
quoted from Paul Root
<user-9ce31bfa66c3@xymon.invalid>wrote:
Just put the whole file in the httpd/conf.d directory and then restart
apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig


-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid <user-d0758a3e63c3@xymon.invalid>]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access
/xymon/index.html on this server.

Hi Henrik,


I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >>
/etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:


        In <user-cee8fd761897@xymon.invalid<user-3aac6a2e47c4@xymon.invalid><

mailto:user-3aac6a2e47c4@xymon.invalid<user-3aac6a2e47c4@xymon.invalid>>
quoted from Jayanta Kundu
Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
I install xymon collector server and agent in the same machine.
Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this
server.

        Make sure you have configured Apache with the configuration
        provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
        reload of the Apache configuration.


        Regards,
        Henrik

list Jayanta Kundu · Wed, 19 Jan 2011 20:02:38 +0530 ·
Hi Paul,

Its correct that web directory is owned by xymon. But we have existing setup
which is running fine having web directory owned by xymon. Kindly let me
know how can i resolv this problem.
quoted from Jayanta Kundu

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 7:40 PM, Root, Paul <user-c80045f511e8@xymon.invalid> wrote:
 My guess as to the problem would be your web directory for xymon is owned
by xymon and your web server is being run as apache, and the user apache
can't read the directory.


Paul Root
Lead Internet Systems Eng
Qwest Network Services


*From:* Whilding, Craig [mailto:user-9ce31bfa66c3@xymon.invalid]
*Sent:* Wednesday, January 19, 2011 7:48 AM
*To:* xymon at xymon.com
*Subject:* RE: [xymon] Forbidden : You don't have permission to access
/xymon/index.html on this server.


Just put the whole file in the httpd/conf.d directory and then restart
apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig

-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid <user-d0758a3e63c3@xymon.invalid>]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access
/xymon/index.html on this server.

Hi Henrik,


I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >>
/etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:


        In <user-cee8fd761897@xymon.invalid<user-3aac6a2e47c4@xymon.invalid><
mailto:user-3aac6a2e47c4@xymon.invalid<user-3aac6a2e47c4@xymon.invalid>>
Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
I install xymon collector server and agent in the same machine.
Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this
server.

        Make sure you have configured Apache with the configuration
        provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
        reload of the Apache configuration.


        Regards,
        Henrik


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Paul Root · Wed, 19 Jan 2011 08:45:55 -0600 ·
No, that's not what was stated.

You need the original httpd.conf file. It lives in /etc/httpd/conf
Then you put the hobbit-apache.conf file, named as is, into /etc/httpd/conf.d. This is a directory for additional config files.

I still think your problem is file and directory ownership. Your web directory, which I'm going to guess is
/home/hobbit/server/www is owned by the xymon or hobbit user. Next your web server is being run by apache, and apache has no permissions to get to /home/hobbit/server/www.

You need to do one of a couple of things. The best of which is to get apache and xymon users in the same group and have the web directory and it's files in that group.  This is basic Unix admin stuff, not an issue with Xymon.
quoted from Jayanta Kundu


Paul Root
Lead Internet Systems Eng
Qwest Network Services


From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
Sent: Wednesday, January 19, 2011 8:29 AM
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.

Hi Craig,

If i put the whole file(hobbit-apache.conf) in the /etc/httpd/conf/ path and rename it into httpd.conf and restart the service httpd then its getting failed.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 7:18 PM, Whilding, Craig <user-9ce31bfa66c3@xymon.invalid<mailto:user-9ce31bfa66c3@xymon.invalid>> wrote:


Just put the whole file in the httpd/conf.d directory and then restart apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig


-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.

Hi Henrik,


I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >> /etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> wrote:


        In <user-cee8fd761897@xymon.invalid<mailto:user-3aac6a2e47c4@xymon.invalid> <mailto:user-3aac6a2e47c4@xymon.invalid> > Jayanta Kundu <user-d0758a3e63c3@xymon.invalid<mailto:user-d0758a3e63c3@xymon.invalid>> writes:
I install xymon collector server and agent in the same machine. Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this server.

        Make sure you have configured Apache with the configuration
        provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
        reload of the Apache configuration.


        Regards,
        Henrik


        xymon-unsubscribe at xymon.com<mailto:xymon-unsubscribe at xymon.com>
quoted from Jayanta Kundu


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Paul Root · Wed, 19 Jan 2011 08:46:32 -0600 ·
give the apache user read access to that directory.
quoted from Paul Root


Paul Root
Lead Internet Systems Eng
Qwest Network Services


From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
Sent: Wednesday, January 19, 2011 8:33 AM
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.

Hi Paul,

Its correct that web directory is owned by xymon. But we have existing setup which is running fine having web directory owned by xymon. Kindly let me know how can i resolv this problem.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 7:40 PM, Root, Paul <user-c80045f511e8@xymon.invalid<mailto:user-c80045f511e8@xymon.invalid>> wrote:
My guess as to the problem would be your web directory for xymon is owned by xymon and your web server is being run as apache, and the user apache can't read the directory.


Paul Root
Lead Internet Systems Eng
Qwest Network Services


From: Whilding, Craig [mailto:user-9ce31bfa66c3@xymon.invalid<mailto:user-9ce31bfa66c3@xymon.invalid>]
Sent: Wednesday, January 19, 2011 7:48 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.


Just put the whole file in the httpd/conf.d directory and then restart apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig

-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.

Hi Henrik,


I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >> /etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid<mailto:user-ce4a2c883f75@xymon.invalid>> wrote:


        In <user-cee8fd761897@xymon.invalid<mailto:user-3aac6a2e47c4@xymon.invalid> <mailto:user-3aac6a2e47c4@xymon.invalid> > Jayanta Kundu <user-d0758a3e63c3@xymon.invalid<mailto:user-d0758a3e63c3@xymon.invalid>> writes:
I install xymon collector server and agent in the same machine. Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this server.

        Make sure you have configured Apache with the configuration
        provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
        reload of the Apache configuration.


        Regards,
        Henrik


        xymon-unsubscribe at xymon.com<mailto:xymon-unsubscribe at xymon.com>


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Craig Whilding · Wed, 19 Jan 2011 15:57:21 +0000 ·
Yes that is what was meant, thanks for elaborating Paul.

Jayanta, have you tried just accessing a simple /index.html in your root 
web directory to make sure your apache user can access it? I normally 
use Redhat or Fedora and keep the default directory at /var/www/html for 
the web root and the file Xymon provided placed as Paul mentions sorts 
out allowing apache access to the subdirectories which in my case are 
installed under /usr/local which apache has read on.

Regards,
Craig
quoted from Paul Root

On 19/01/11 14:45, Root, Paul wrote:
No, that's not what was stated.
You need the original httpd.conf file. It lives in /etc/httpd/conf
Then you put the hobbit-apache.conf file, named as is, into 
/etc/httpd/conf.d. This is a directory for additional config files.
I still think your problem is file and directory ownership. Your web 
directory, which I'm going to guess is
/home/hobbit/server/www is owned by the xymon or hobbit user. Next 
your web server is being run by apache, and apache has no permissions 
to get to /home/hobbit/server/www.
You need to do one of a couple of things. The best of which is to get 
apache and xymon users in the same group and have the web directory 
and it's files in that group.  This is basic Unix admin stuff, not an 
issue with Xymon.

Paul Root
Lead Internet Systems Eng
Qwest Network Services


    *From:* Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
    *Sent:* Wednesday, January 19, 2011 8:29 AM
    *To:* xymon at xymon.com
    *Subject:* Re: [xymon] Forbidden : You don't have permission to
    access /xymon/index.html on this server.

    Hi Craig,
    If i put the whole file(hobbit-apache.conf) in the
    /etc/httpd/conf/ path and rename it into httpd.conf and restart
    the service httpd then its getting failed.
    With Regards,
    Jayanta.

    On Wed, Jan 19, 2011 at 7:18 PM, Whilding, Craig
    <user-9ce31bfa66c3@xymon.invalid <mailto:user-9ce31bfa66c3@xymon.invalid>> wrote:


        Just put the whole file in the httpd/conf.d directory and then
        restart apache, its easier to update it in the future if you
        keep the file separate.

        Regards,
        Craig


        -----Original Message-----
        From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid]
        Sent: Wed 19/01/2011 13:02
        To: xymon at xymon.com <mailto:xymon at xymon.com>
        Subject: Re: [xymon] Forbidden : You don't have permission to
        access /xymon/index.html on this server.

        Hi Henrik,


        I already appended following:

        #cat /home/xymon/server/etc/hobbit-apache.conf >>
        /etc/httpd/conf/httpd.conf

        After that I restart apache.
        Still i am facing following error.

        With Regards,
        Jayanta.

        On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner
        <user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid>> wrote:


                In
        <user-cee8fd761897@xymon.invalid
Jayanta Kundu <user-d0758a3e63c3@xymon.invalid
quoted from Paul Root
        <mailto:user-d0758a3e63c3@xymon.invalid>> writes:
I install xymon collector server and agent in the same
        machine. Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this
        server.

                Make sure you have configured Apache with the
        configuration
                provided in the $XYMONHOME/etc/xymon-apache.conf, and
        done a
                reload of the Apache configuration.


                Regards,
                Henrik


                xymon-unsubscribe at xymon.com <mailto:xymon-unsubscribe at xymon.com>
quoted from Paul Root


This communication is the property of Qwest and may contain 
confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Jayanta Kundu · Wed, 19 Jan 2011 21:53:43 +0530 ·
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”

If find apache from root then following output I got:

/usr/sbin/apachectl


[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

[root at RHEL5 sbin]#


Also Kindly let me know "how accessing a simple /index.html in my root web
directory"


With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 9:27 PM, Craig Whilding
quoted from Craig Whilding
<user-9ce31bfa66c3@xymon.invalid>wrote:
Yes that is what was meant, thanks for elaborating Paul.

Jayanta, have you tried just accessing a simple /index.html in your root
web directory to make sure your apache user can access it? I normally use
Redhat or Fedora and keep the default directory at /var/www/html for the web
root and the file Xymon provided placed as Paul mentions sorts out allowing
apache access to the subdirectories which in my case are installed under
/usr/local which apache has read on.

Regards,
Craig


On 19/01/11 14:45, Root, Paul wrote:

No, that's not what was stated.

You need the original httpd.conf file. It lives in /etc/httpd/conf
Then you put the hobbit-apache.conf file, named as is, into
/etc/httpd/conf.d. This is a directory for additional config files.

I still think your problem is file and directory ownership. Your web
directory, which I'm going to guess is
/home/hobbit/server/www is owned by the xymon or hobbit user. Next your web
server is being run by apache, and apache has no permissions to get to
/home/hobbit/server/www.

You need to do one of a couple of things. The best of which is to get
apache and xymon users in the same group and have the web directory and it's
files in that group.  This is basic Unix admin stuff, not an issue with
Xymon.


Paul Root
Lead Internet Systems Eng
Qwest Network Services


*From:* Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid<user-d0758a3e63c3@xymon.invalid>]
quoted from Craig Whilding

*Sent:* Wednesday, January 19, 2011 8:29 AM
*To:* xymon at xymon.com
*Subject:* Re: [xymon] Forbidden : You don't have permission to access
/xymon/index.html on this server.

Hi Craig,

If i put the whole file(hobbit-apache.conf) in the /etc/httpd/conf/ path
and rename it into httpd.conf and restart the service httpd then its getting
failed.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 7:18 PM, Whilding, Craig <
user-9ce31bfa66c3@xymon.invalid> wrote:
Just put the whole file in the httpd/conf.d directory and then restart
apache, its easier to update it in the future if you keep the file separate.

Regards,
Craig


-----Original Message-----
From: Jayanta Kundu [mailto:user-d0758a3e63c3@xymon.invalid <user-d0758a3e63c3@xymon.invalid>
]
Sent: Wed 19/01/2011 13:02
To: xymon at xymon.com
Subject: Re: [xymon] Forbidden : You don't have permission to access
/xymon/index.html on this server.

Hi Henrik,


I already appended following:

#cat /home/xymon/server/etc/hobbit-apache.conf >>
/etc/httpd/conf/httpd.conf

After that I restart apache.
Still i am facing following error.

With Regards,
Jayanta.

On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:


        In <user-cee8fd761897@xymon.invalid<user-3aac6a2e47c4@xymon.invalid><
mailto:user-3aac6a2e47c4@xymon.invalid<user-3aac6a2e47c4@xymon.invalid>>
Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> writes:
I install xymon collector server and agent in the same machine.
Apache
server is running in the same server.
I am getting following error:
*Forbidden*
You don't have permission to access /xymon/index.html on this
server.

        Make sure you have configured Apache with the configuration
        provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
        reload of the Apache configuration.


        Regards,
        Henrik

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

list Xymon User in Richmond · Wed, 19 Jan 2011 12:41:30 -0500 ·
quoted from Jayanta Kundu
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.
quoted from Jayanta Kundu
[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?
list Larry Barber · Wed, 19 Jan 2011 15:37:44 -0600 ·
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 <
quoted from Xymon User in Richmond
user-24d6f8323faa@xymon.invalid> 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?

list Phil · Mon, 16 Apr 2012 16:43:08 +0000 (UTC) ·
quoted from Larry Barber

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
quoted from Larry Barber
On Wed, Jan 19, 2011 at 11:41 AM, Xymon User in Richmond
<user-24d6f8323faa@xymon.invalid> 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
user-6c3cc63c20cd@xymon.invalid

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