Search squid archive

Re: Squid3 error: CHILD: hello write test failed logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK Antony thank you!!!!!!!!!!

2016-06-22 18:28 GMT-03:00 Roberto Carna <robertocarna36@xxxxxxxxx>:
> 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@xxxxxxxxxxxxx>:
>> 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@xxxxxxxxxxxxxxxxxxxxx
>> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux