[squid-users] Squid3 error: CHILD: hello write test failed logrotate
Roberto Carna
robertocarna36 at gmail.com
Wed Jun 22 22:17:46 UTC 2016
OK Antony thank you!!!!!!!!!!
2016-06-22 18:28 GMT-03:00 Roberto Carna <robertocarna36 at gmail.com>:
> Amos, just a last comment:
>
> My squid.conf from Squid3 has this line:
>
> #Default:
> # logfile_rotate 0
>
> So the parameter you mentiones it's just setup.
>
> Any other thing relative to log problem?
>
> 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