[squid-users] Squid3 error: CHILD: hello write test failed logrotate

Roberto Carna robertocarna36 at gmail.com
Wed Jun 22 16:32:21 UTC 2016

Amos and Antony, thanks a lot for your help.

At first, I'll enable IPv6 in my Debian box.

And for the log problem, I couldn't understand what yoy said
Amos...please can you detail what I have to do in order to avoid log
rotation problems???

And at last, why do you think the log problem arrives when several
clients access to my reverse proxy??? Because when I test it only from
2 or 3 PC's, everything was OK.

Thanks a lot, regards!!!

2016-06-22 11:42 GMT-03:00 Amos Jeffries <squid3 at treenet.co.nz>:
> On 23/06/2016 1:44 a.m., Roberto Carna wrote:
>> Dear Antony, thanks for your help..below is the
>> /etc/logrotate.d/squid3 file....but before I have to say I've seen in
>> the web that this problem is solved by enabling IPv6, and was reported
>> by a ticket (https://forum.opnsense.org/index.php?topic=879.0) ..can
>> this be true???
> You misread that ticket. It is not about logging. It is about other things.
> If you are logging with the TCP or UDP log modules then IPv6 might
> matter. For local files its not related.
>> /var/log/squid3/*.log {
>>         daily
>>         compress
>>         delaycompress
>>         rotate 2
>>         missingok
>>         nocreate
>>         sharedscripts
>>         postrotate
>>                 test ! -e /var/run/squid3.pid || test ! -x
>> /usr/sbin/squid3 || /usr/sbin/squid3 -k rotate
>>         endscript
>> }
> Okay, thats the script that used to be bundled with Squid in Debian.
> However, you need to know that use of logrotate requires Squid to have
> "logfile_rotate 0" configured. Debian packages patch that in as a
> default config setting.
> If you don't have that some weird things happen.
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

More information about the squid-users mailing list