Hi all, <br>i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work <br>on two proxy servers. I have installed :<br><br>squid-2.6.STABLE21-6.el5<br>logrotate-3.7.4-9.el5_5.2<br><br>On first server , squid logs never rotated, config is here <br>
<br>cat /etc/logrotate.d/squid <br>/var/log/squid/access.log {<br> weekly<br> rotate 5<br> copytruncate<br> compress<br> notifempty<br> missingok<br>}<br>/var/log/squid/cache.log {<br> weekly<br> rotate 5<br>
copytruncate<br> compress<br> notifempty<br> missingok<br>}<br><br>/var/log/squid/store.log {<br> weekly<br> rotate 5<br> copytruncate<br> compress<br> notifempty<br> missingok<br># This script asks squid to rotate its logs on its own.<br>
# Restarting squid is a long process and it is not worth<br># doing it just to rotate logs<br> postrotate<br> /usr/sbin/squid -k rotate<br> endscript<br>}<br><br>On second server squid logs rotated every day . Config : <br>
<br>/var/log/squid/access.log {<br> weekly<br> rotate 5<br> copytruncate<br> compress<br> notifempty<br> missingok<br>}<br>/var/log/squid/cache.log {<br> weekly<br> rotate 5<br> copytruncate<br>
compress<br> notifempty<br> missingok<br>}<br><br>/var/log/squid/store.log {<br> weekly<br> rotate 5<br> copytruncate<br> compress<br> notifempty<br> missingok<br># This script asks squid to rotate its logs on its own.<br>
# Restarting squid is a long process and it is not worth<br># doing it just to rotate logs<br> postrotate<br> /usr/sbin/squid -k rotate<br> endscript<br>}<br><br>Can someone help me ?<br><br><br><br>