Hi all,
I've got a strange problem with my squid (2.7.6 stable).
The situation is as follows:
- if I start squid on the shell, using a script which executes
<path>/squid -D, squid works fine and I can use 'squid -k rotate' to
rotate the logfile.
- Now I've got a remote monitoring tools which also can restart squid
using the same script I use on the shell. Squid itself works fine but
once I try to rotate with 'squid -k' notthing happens. With debugging
activated (All,9) nothing can be seen in the cache.log.
- once I restart squid on the shell, the signal is recieve and the logs
are rotated like they should.
strace, ltrace and squid -X debugging always show the same output (only
pids differ)
I also tried to send the logrotate signal (USR1) with the same remote
tool, the results are the same, started on the shell logrotate works,
started with the remote software, logrotate doesn't work.
you can also send the rotate signal directly with kill (kill -USR1 `cat
<path>/squid.pid`) but the behaviour still is the same.
Now I running out of differences, I tried different env settings and
sudo but it keeps ending up in the exact same situation.
If someone might have an idea where to start looking for the cause, I'd
be very thankful for you to tell me.
Cheers, M. G.
|