Re: [Lxr-general] apache (httpd) on f8 vs. fc6 running LXR
Brought to you by:
ajlittoz
From: Gene Sm(i)t. <gd...@gm...> - 2008-02-25 01:20:30
|
Jan-Benedict Glaw wrote, On 02/19/2008 06:57 PM: > On Mon, 2008-02-18 21:30:28 -0500, Gene Sm(i)th <gd...@gm...> wrote: >> Gene Smith wrote, On 02/03/2008 12:26 AM: >>> I have a LXR setup on fc6 that works fine. When I moved it to f8 (which >>> seems to have the same versions of httpd, perl, mysql etc) I can only >>> get it to work if I change the user/group in httpd.conf from >>> apache:apache to myusername:myusername. The files accessed by httpd, >>> perl etc are world readable and executable but owned by root, as they >>> were in fc6. These are in /usr/lib/perl5/site_perl/.... > [...] >> To answer my own post, the reason was because the files accessed by lxr >> were in my home directory with permission 700 and apache could not go >> there. Pretty simple actually but not much hint from apache or lxr as to >> what the problem was. Just was looking at the /home/me/lxr-file/ >> directory which was set to 755, I think, but was was overriden by the >> /home/me/ setting of 700. (Didn't realize the permission are inherited >> but I guess they are.) > > I hope you didn't need full two weeks to look at either strace output? > Were there no error messages in apache's error.log? No specific error > messages in HTTP output? > > MfG, JBG > Sorry, don't know much about strace. Didn't know it could be useful in debugging my problem. Also, saw no errors in apache logs since I think the "sources" script detected the error and generated OK html which just said file not found. No permission denied or such messages. Actually, didn't take 2 weeks to fix, just didn't reply immediately. Possibly you will say rtfm, but how do you use strace to debug lxr problems (if I dare ask). -gene |