RE: problems rotating logs

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Tue, 20 Jul 1999 10:35:33 -0600 (MDT)

On Tue, 20 Jul 1999, [iso-8859-1] Gagliardi Sebastián wrote:

> I run
> kill -USR1 `cat /usr/local/squid/logs/squid.pid`
> as root and as the user id that squid is running but I don´t work.
> Note that in the file cache.log are the following lines although the rotate
> don´t really work.
>
> 1999/07/20 11:34:56| accessLogRotate: Rotating

It means that the Squid process does get the signal but for some reason
fails to rotate the logs. I suggest you enable full debugging right
after sending rotate signal to see what is going on:

$ ls -trla /usr/local/squid/logs/
$ sudo squid -kr; sudo squid -kd; sleep 15; sudo squid -kd;
$ ls -trla /usr/local/squid/logs/

The debugging will go into cache.log. You do not need "sudo" prefix if
you run that as a root.

Alex.
Received on Tue Jul 20 1999 - 10:18:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:28 MST