2010/9/16 Peter Albrecht <albrecht@xxxxxxxxxxxxxxxxxxxxx>: > 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 > Thanks Peter for read my mail carefully, no I haven't twice :) it was an error when copying... -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com Sergio Belkin -