Hi Sergio,

> I use squid squid-2.6.STABLE21-3.el5 on CentOS 5.4. The problem is
> that squid can't be restarted and "rotate" isnt working, I mean log
> rotating is done but I have to start  the service by hand.
>

> /var/log/squid/store.log {
>     weekly
>     rotate 4
>     size 1000M
>     copytruncate
>     compress
>     notifempty
>     missingok
>     postrotate
>     postrotate
>       /usr/sbin/squid -k rotate
>     endscript
> }

Do you really have "postrotate" twice in the configuration? Maybe logrotate 
gets confused by that.

Regards,

Peter

Reply via email to