permission denied
list Kevin
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
▸
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
▸
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
▸
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, HenrikHi 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
▸
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
▸
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, HenrikHi 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 kevinHi, 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
▸
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
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 MitchellYes 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
▸
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 MitchellYes 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
you just need to change context for a few hobbit directories, to make Hobbit happy on RHEL4 or FC2(3?)+.
▸
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/. Gotany ideas?You do have at least a+x access on every directory in thepath to thehobbit directory, right?? Or equivalent group access for the webserver group?? If not, your web server won't be able totraversethe path to get there... Ralph MitchellYes 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