Weird Apache behavior

This server runs Apache 2.0 under Linux.  I tried to archive an access log using mv mcgees_access_log mcgees_access_log.2, then I executed touch mcgees_access_log, assuming that Apache would continue writing to mcgees_access_log.  It didn’t.  My second guess would have been that it would start appending to mcgees_access_log.2.  It didn’t do that either.  Instead it stopped writing log files and I lost three weeks’ worth.  Restarting Apache fixes the problem.

Your ad here for US$1/month.  Find out how.


Leave a Reply, but read first

  1. Feel free to leave replies even to very old posts.
  2. You have pretty much free rein to write whatever you like.  Just make it contentful and it will probably stay, even if you are abusing me.  Just:
  3. Don't bother spamming.  Your links are automatically tagged "nofollow".  You won't increase your Google rating.  Nobody will click them anyway.  Save us both some time.
  4. Advertising Policy: The URL field is for personal blogs, not commercial enterprises.  Have a valid website or product to advertise?  Those do get clicked, and it's cheap.  Click here to advertise.  Otherwise, your URL is subject to deletion at editor's discretion.