David,

> >I've obviously gone mental this week.  ;-)  I looked at the
> >ownership/permissions on /var/log/httpd but for some reason didn't look at
> >the parent directories.  The problem was incorrect permissions on the log
> >directory.

>I considered and discarded that thought, because the bits on log/ are
>irrelevant to this problem as long as httpd/ below it is correct, and
>you said it was.  Unless of course /var/log isn't world-traversable, but
>that would cause all kinds of other problems.  Please explain, that I
>may learn from your goof?

Essentially I was trying to iron out too many little 7.2 "growing pains" 
problems at once.  I *assumed* the kernel upgrade/compile was the source of 
the problem because it was the last major change I made before the problem 
with apache.  Part of your above analogy is correct in that /var/log/ 
wasn't world readable.  It did cause problems with the ssl portion of 
apache but didn't with most other logging as generally daemons that log 
here run as root, or at least the master daemon does.  Oddly enough, having 
/var/log set to 0750 didn't cause any other problems that I'm aware of.  I 
was working on a a problem with a cron job and had set the group and 
permissions on /var/log incorrectly.  I found the solution after searching 
apache's website, which described my problem exactly and suggested that the 
problem was usually due to incorrect permissions on the logfile or *parent 
of the logfile* directory.  I also used 'rpm -V' to check for things out of 
whack and it reported an incorrect group on /var/log.  (How I love rpm.)

This is normally one of those things I would have checked immediately, but 
as I've gone mental this week, I didn't.  ;-)  It's one of those weeks when 
I need to put a note on my monitor that says "Don't forget what you already 
know."

-Eric, who hopes most of his 7.2 issues have now been solved.


Eric Sisler
Applications Specialist
Westminster Public Library
Westminster, CO USA

Linux - Don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to