Re: [users@httpd] Can't delete apache2's logfile under windows 2003

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 May 2005, Cheng-Lin Yang wrote:

> Hi all,
> Three days, I helped my friend to setup a server with apache2(IIS Sucks!) on 
> Windows Server 2003. Everything runs fine. In httpd.conf I reset the 
> configure of CustomLog to:
> CustomLog "|c:/apache/apache2/bin/cronolog.exe e:/logs/access%Y%m%d.log" 
> combined
> Which can help him to manager his log by day. It works! But when he tried to 
> compress the old logfile. He got error message which said that "that file is 
> using by another program." But he can delete the file. Can someone here help 
> on this problem? Thank you in advanced!
> 
> ---
> Under FreeBSD I can compress the file freely.
> 
> --
> Cheng-Lin Yang, Sun Certified Java Programmer <s0170154@xxxxxxxxxxxxxxx>
> 
> 

Tell him to do a graceful restart on Apache before attempting to compress the
file.  It's only a workaround, but it'll probably get what you want.

-- 
Craig Dunigan



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux