weird file issue - apache logs following moved file

From: Iain Miller (iainonthemove@gmail.com)
Date: Fri Dec 02 2005 - 11:43:28 EST


Hi Guys,

Very strange one here and I am hoping that someone can shed some light.

We are running apache 1.3.33 on Solaris 8 on an old legacy box here.
One of our access log files is getting a bit big so I planned on
moving it to a temp file (access.temp) and then compressing the moved
file in case anyone ever needed access to the data contained therein.

However when I move the file, apache still logs to the newly moved
file (access.temp). I expected that it would either recreate the
original log file (access) or barf that it didn't exist and I'd have
to manually touch it.

It's very repeatable, but I am at a loss to describe it. I don't
really want to stop apache and then move the file as it's an important
box.

Thanks in advance,

I will summarise.

Iain.

--
Iain Miller
iainonthemove@gmail.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:23 EDT