Xymon Mailing List Archive search

permission denied

10 messages in this thread

list Kevin · Sun, 10 Sep 2006 11:01:55 -0400 ·
Hello all,
  I am installing Hobbit for the first time in over a year..( I am still 
running RC5 at work in production !! ) and I am having a stupid error 
that I could use help on. I can't see the web interface! I get :

 You don't have permission to access /hobbit/ on this server

but every directory and every file has 777 permissions on it!


any ideas please??

thanks

Kevin
list Henrik Størner · Sun, 10 Sep 2006 17:22:35 +0200 ·
quoted from Kevin
On Sun, Sep 10, 2006 at 11:01:55AM -0400, Kevin wrote:
Hello all,
 I am installing Hobbit for the first time in over a year..( I am still 
running RC5 at work in production !! ) and I am having a stupid error 
that I could use help on. I can't see the web interface! I get :

You don't have permission to access /hobbit/ on this server

but every directory and every file has 777 permissions on it!
Sounds like an apache configuration problem. Did you include the
provided hobbit-apache.conf file in your webserver configuration?

(BTW, you'd better tighten up those 777 permissions. Hackers love
those).


Regards,
Henrik
list Kevin · Sun, 10 Sep 2006 13:51:52 -0400 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Sun, Sep 10, 2006 at 11:01:55AM -0400, Kevin wrote:
  
Hello all,
 I am installing Hobbit for the first time in over a year..( I am still running RC5 at work in production !! ) and I am having a stupid error that I could use help on. I can't see the web interface! I get :

You don't have permission to access /hobbit/ on this server

but every directory and every file has 777 permissions on it!
    
Sounds like an apache configuration problem. Did you include the
provided hobbit-apache.conf file in your webserver configuration?

(BTW, you'd better tighten up those 777 permissions. Hackers love
those).


Regards,
Henrik

Hi Henrik, it's been a long time. Yes, I did include the hobbit-apache.conf piece in the httpd.conf file.  (and I only made the permissions 777 to troubleshoot this), but it makes no difference. It is running on RHEL 4.0, apache 2.0, and I can't see what else would be restricting permission to /hobbit/. Got any ideas?

Best regards

kevin
list Stephane Caminade · Sun, 10 Sep 2006 19:58:45 +0200 ·
quoted from Kevin
Kevin wrote:
Henrik Stoerner wrote:
On Sun, Sep 10, 2006 at 11:01:55AM -0400, Kevin wrote:
 
Hello all,
 I am installing Hobbit for the first time in over a year..( I am still running RC5 at work in production !! ) and I am having a stupid error that I could use help on. I can't see the web interface! I get :

You don't have permission to access /hobbit/ on this server

but every directory and every file has 777 permissions on it!
    
Sounds like an apache configuration problem. Did you include the
provided hobbit-apache.conf file in your webserver configuration?

(BTW, you'd better tighten up those 777 permissions. Hackers love
those).


Regards,
Henrik

Hi Henrik, it's been a long time. Yes, I did include the hobbit-apache.conf piece in the httpd.conf file.  (and I only made the permissions 777 to troubleshoot this), but it makes no difference. It is running on RHEL 4.0, apache 2.0, and I can't see what else would be restricting permission to /hobbit/. Got any ideas?

Best regards

kevin

Hi,

Have you had a look at your error log ? Usually you can find a pointer there.

Stephane
list Ralph Mitchell · Sun, 10 Sep 2006 13:03:19 -0500 ·
quoted from Kevin
On 9/10/06, Kevin <user-a004b26f09c6@xymon.invalid> wrote:
Hi Henrik, it's been a long time. Yes, I did include the
hobbit-apache.conf piece in the httpd.conf file.  (and I only made the
permissions 777 to troubleshoot this), but it makes no difference. It is
running on RHEL 4.0, apache 2.0, and I can't see what else would be
restricting permission to /hobbit/. Got any ideas?
You do have at least  a+x access on every directory in the path to the
hobbit directory, right??  Or equivalent group access for the
webserver group??  If not, your web server won't be able to traverse
the path to get there...

Ralph Mitchell
list Kevin · Sun, 10 Sep 2006 14:09:33 -0400 ·
quoted from Stephane Caminade
Stephane Caminade wrote:
Kevin wrote:
Henrik Stoerner wrote:
On Sun, Sep 10, 2006 at 11:01:55AM -0400, Kevin wrote:
 
Hello all,
 I am installing Hobbit for the first time in over a year..( I am still running RC5 at work in production !! ) and I am having a stupid error that I could use help on. I can't see the web interface! I get :

You don't have permission to access /hobbit/ on this server

but every directory and every file has 777 permissions on it!
    
Sounds like an apache configuration problem. Did you include the
provided hobbit-apache.conf file in your webserver configuration?

(BTW, you'd better tighten up those 777 permissions. Hackers love
those).


Regards,
Henrik

Hi Henrik, it's been a long time. Yes, I did include the hobbit-apache.conf piece in the httpd.conf file.  (and I only made the permissions 777 to troubleshoot this), but it makes no difference. It is running on RHEL 4.0, apache 2.0, and I can't see what else would be restricting permission to /hobbit/. Got any ideas?

Best regards

kevin

Hi,

Have you had a look at your error log ? Usually you can find a pointer there.

Stephane

Hi Stephane,
   Thanks for the reply. Yes, I checked the error log but it was about as useful as screen doors on a submarine. Here is the result of every time I try to access the page:

[Wed Sep 13 03:59:24 2006] [error] [client 10.10.0.3] (13)Permission denied: access to /hobbit/ denied


I already know that my access is denied....I just want to know why. I am going through httpd.conf  one line at a time now.

any other input much appreiated


Kevin
list Kevin · Sun, 10 Sep 2006 14:21:30 -0400 ·
quoted from Ralph Mitchell
Ralph Mitchell wrote:
On 9/10/06, Kevin <user-a004b26f09c6@xymon.invalid> wrote:
Hi Henrik, it's been a long time. Yes, I did include the
hobbit-apache.conf piece in the httpd.conf file.  (and I only made the
permissions 777 to troubleshoot this), but it makes no difference. It is
running on RHEL 4.0, apache 2.0, and I can't see what else would be
restricting permission to /hobbit/. Got any ideas?
You do have at least  a+x access on every directory in the path to the
hobbit directory, right??  Or equivalent group access for the
webserver group??  If not, your web server won't be able to traverse
the path to get there...

Ralph Mitchell

Yes sir I do. I went one step further and gave every directory from / to 
the hobbit directory 777 permissions. How could access be denied?
list Francesco Duranti · Sun, 10 Sep 2006 20:30:14 +0200 ·
Not sure if it can help but some week ago i got some problem on a RHEL4
machine and apache (and php if I remember well) that was caused by
selinux security ...
I don't know if this can be the case... 
Francesco
quoted from Kevin
 
-----Original Message-----
From: Kevin [mailto:user-a004b26f09c6@xymon.invalid] Sent: Sunday, September 10, 2006 8:22 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] permission denied

Ralph Mitchell wrote:
On 9/10/06, Kevin <user-a004b26f09c6@xymon.invalid> wrote:
Hi Henrik, it's been a long time. Yes, I did include the >> hobbit-apache.conf piece in the httpd.conf file.  (and I only made >> the permissions 777 to troubleshoot this), but it makes no >> difference. It is running on RHEL 4.0, apache 2.0, and I can't see >> what else would be restricting permission to /hobbit/. Got any ideas?
You do have at least  a+x access on every directory in the path to the > hobbit directory, right??  Or equivalent group access for the > webserver group??  If not, your web server won't be able to traverse > the path to get there...

Ralph Mitchell
Yes sir I do. I went one step further and gave every directory from / to the hobbit directory 777 permissions. How could access be denied?

list Kevin · Sun, 10 Sep 2006 15:01:38 -0400 ·
quoted from Francesco Duranti
Francesco Duranti wrote:
Not sure if it can help but some week ago i got some problem on a RHEL4
machine and apache (and php if I remember well) that was caused by
selinux security ...
I don't know if this can be the case... 
Francesco
 
  
-----Original Message-----
From: Kevin [mailto:user-a004b26f09c6@xymon.invalid] Sent: Sunday, September 10, 2006 8:22 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] permission denied

Ralph Mitchell wrote:
    
On 9/10/06, Kevin <user-a004b26f09c6@xymon.invalid> wrote:
      
Hi Henrik, it's been a long time. Yes, I did include the hobbit-apache.conf piece in the httpd.conf file.  (and I only made the permissions 777 to troubleshoot this), but it makes no difference. It is running on RHEL 4.0, apache 2.0, and I can't see what else would be restricting permission to /hobbit/. Got         
any ideas?
    
You do have at least  a+x access on every directory in the       
path to the     
hobbit directory, right??  Or equivalent group access for the webserver group??  If not, your web server won't be able to       
traverse     
the path to get there...

Ralph Mitchell

Yes sir I do. I went one step further and gave every directory from / to the hobbit directory 777 permissions. How could access be denied?

YOU ARE CORRECT SIR !!  I was just thinking the same thing and disabling SElinux when I got your email! The system was a little bit TOO secure.
thanks for everyone's help!

kevin
list Jerry Yu · Sun, 10 Sep 2006 23:22:12 -0400 ·
you just need to change context for a few hobbit directories, to make Hobbit
happy on RHEL4 or FC2(3?)+.
quoted from Kevin

On 9/10/06, Kevin <user-a004b26f09c6@xymon.invalid> wrote:
Francesco Duranti wrote:
Not sure if it can help but some week ago i got some problem on a RHEL4
machine and apache (and php if I remember well) that was caused by
selinux security ...
I don't know if this can be the case...

Francesco

-----Original Message-----
From: Kevin [mailto:user-a004b26f09c6@xymon.invalid]
Sent: Sunday, September 10, 2006 8:22 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] permission denied

Ralph Mitchell wrote:
On 9/10/06, Kevin <user-a004b26f09c6@xymon.invalid> wrote:
Hi Henrik, it's been a long time. Yes, I did include the
hobbit-apache.conf piece in the httpd.conf file.  (and I only made
the permissions 777 to troubleshoot this), but it makes no
difference. It is running on RHEL 4.0, apache 2.0, and I can't see
what else would be restricting permission to /hobbit/. Got
any ideas?
You do have at least  a+x access on every directory in the
path to the
hobbit directory, right??  Or equivalent group access for the
webserver group??  If not, your web server won't be able to
traverse
the path to get there...

Ralph Mitchell

Yes sir I do. I went one step further and gave every
directory from / to the hobbit directory 777 permissions. How
could access be denied?

YOU ARE CORRECT SIR !!  I was just thinking the same thing and disabling
SElinux when I got your email! The system was a little bit TOO secure.
thanks for everyone's help!

kevin