View Single Post

  #10 (permalink)  
Old 07-05-2004
Gerry T
 
Posts: n/a
Default Re: Apache doesn't write access_log

tseitlin@post.tau.ac.il (tseitlin) wrote in message news:<b843499b.0407050030.7da1fa4@posting.google.c om>...

> Good news!
> The problem was found!
> There was a log moving script that was running without properly
> shuting down the server. We added "apachectl stop" before and
> "apachectl start" after the log moving, now it seems to work.


Well that's of course is good.
I must say though that httpd does not have to stopped and
started in order to rotate logs. A simple mv, apachectl restart
sequence is all you need. Also, Apache 1.x comes with
"rotatelogs" and man pages for it. Revisit your script : >