signature Dale Schroeder
Technical Issues
Del Sol Food Company, Inc.
(979)836-5978(979) 836-5978
On 09/11/2014 2:34 PM, Gilles Darold wrote:
Le 10/09/2014 20:49, Dale Schroeder a écrit :
On 09/10/2014 11:41 AM, Mathieu Parent (Debian) wrote:
2014-09-10 17:02 GMT+02:00 Dale Schroeder
<d...@briannassaladdressing.com>:
[...]
With the squidclamav service commented out in c-icap.conf and
squidclamav
package uninstalled, this is the backtrace output:
[...]
squidclamav directives were active in squid.conf. As mentioned in a
previous email, commenting the squidclamav directives in squid.conf
allows
squid3 to start/restart without error.
This looks like a squid problem then.
Quite possibly, or a squidclamav conflict. Gilles from squidclamav
offered to test with the Debian versions of squid3 and c-icap, but has
not yet reported back.
I have not heard from squid3 maintainer Luigi Gangitano. I'll add him
to the thread.
I have had no luck with tcpdump using the following command:
tcpdump -w /root/capture.log host 127.0.0.1 and port 1344
Try: tcpdump -i lo -w /root/capture.log host 127.0.0.1 and port 1344
No change; capture.log is still empty.
Note that I won't probably solve your problem as it seems too deep in
the code for me.
I appreciate your help.
Regards
I have play a little this night with a squid3+c-icap+squidanalyzer in
the same version as you. The most difficult for me was to understand how
to install testing packages.
Distributor ID: Debian
Description: Debian GNU/Linux 7.6 (wheezy)
Release: 7.6
Codename: wheezy
ii c-icap 1:0.3.4-1 amd64
ICAP server implementation
ii squid3 3.3.8-1.2 amd64
Full featured Web Proxy cache (HTTP proxy)
and squidclamav-6.11 compiled
Everything works great for me I was able to view my favorit concert of
the moment:-)
But after restarting squid3 I also have the following entries in my
syslog file
Sep 11 21:22:16 gilles-debian kernel: [ 9360.558097] squid3[4919]:
segfault at 0 ip 00007f8a88d8e010 sp 00007fff6eaddb50 error 4 in
squid3[7f8a88a28000+49b000]
Sep 11 21:22:17 gilles-debian squid3[4987]: Squid Parent: will start 1 kids
Sep 11 21:22:17 gilles-debian squid3[4987]: Squid Parent: (squid-1)
process 4992 started
Outside those entries in /var/log/syslog everything work like a charm, I
keep watching video through c-icap+squidclamav without any problem.
Here what I have in cache.log at the time of the segfault:
[...]
My experience is similar to yours. Even with the segfault, squid3
starts and functions. Additionally, the log rotation "seems" to fail.
I get an email showing errors and an exit code, but when I check the
logs, there is one for each day as defined in logratate.
/etc/cron.daily/logrotate:
2014/09/12 06:25:21| assertion failed: mem.cc:281: "size ==
StrPoolsAttrs[i].obj_size"
Aborted
error: error running shared postrotate script for '/var/log/squid3/*.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
I don't understand how a log rotation can fail, yet succeed.
Gilles, thank you for your efforts.
Dale