-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 31 May 2007 12:39:00 -0700
"Kurt Buff" <kurt.buff@gmail.com> wrote:
> I'm trying to implement clamav in tandem with squid, and installed
> c-icap from ports on a freshly installed FreeBSD 6.2 box with a newly
> updated ports tree.
>
> When I start the program via '/usr/local/etc/rc.d/c_icap start', or
> when the box is booted and 'c_icap_enable="YES"' is in /etc/rc.conf.
>
> I've left a substantially similar message on freebsd-questions, and
> have seen no response after about 24 hours, so am posting here in
> hopes of someone being able to help here.
>
> I get this from the command line:
>
> ----------
> Starting c_icap.
> Initialization of echo module......
> Initialization of url_check module......
> Segmentation fault (core dumped)
> ----------
>
> and this from /var/log/messages
>
> ----------
> May 31 12:32:28 zsquid c-icap: general, Setting parameter :Logger=sys_logger
> May 31 12:32:28 zsquid c-icap: general, Setting parameter
> :ServicesDir=/usr/local/lib/c_icap
> May 31 12:32:28 zsquid c-icap: general, Loading service :echo_module
> path srv_echo.so
> May 31 12:32:28 zsquid syslogd: sendto: No route to host
> May 31 12:32:28 zsquid syslogd: sendto: No route to host
> May 31 12:32:28 zsquid c-icap: general, Found handler C_handler for
> service with extension:.so
> May 31 12:32:28 zsquid c-icap: general, Loading service
> :url_check_module path srv_url_check.so
> May 31 12:32:28 zsquid c-icap: general, Found handler C_handler for
> service with extension:.so
> May 31 12:32:28 zsquid c-icap: general, Loading service
> :antivirus_module path srv_clamav.so
> May 31 12:32:28 zsquid c-icap: general, Found handler C_handler for
> service with extension:.so
> May 31 12:32:28 zsquid kernel: pid 3244 (c-icap), uid 0: exited on
> signal 11 (core dumped)
> ----------
>
>
> Many Thanks for any help you might be able to give.
>
> Kurt
>
Hi Kurt,
I did the c-icap install from FreeBSD-6.1 ports and c-icap seems to start with no problem.
/usr/local/etc/rc.d/c_icap forcestart
Starting c_icap.
Initialization of echo module......
Initialization of url_check module......
I followed the docs at: http://c-icap.sourceforge.net/install.html
Everything seems to be working fine until I try to access sites using the icap-squid proxy and get the following error:
ERROR
The requested URL could not be retrieved
While attempting to retrieve the URL: http://www.squid-cache.org/mail-archive/squid-dev/200411/0032.html
the following error was encountered:
* ICAP protocol error.
Some aspect of the ICAP communication failed. Possible problems:
* ICAP server is not reachable.
* Illegal response from ICAP server.
Can somebody shed some light on this or provide further documentation regarding icap-squid setup.
I think that I may have missed something regarding clamav setup in my system.
Both c-icap and squid are running in my system:
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
cicap c-icap 39904 5 tcp4 *:1344 *:*
cicap c-icap 39903 5 tcp4 *:1344 *:*
cicap c-icap 39902 5 tcp4 *:1344 *:*
cicap c-icap 39901 5 tcp4 *:1344 *:*
squid squid 1077 6 udp4 *:47467 *:*
squid squid 1077 11 tcp4 *:3128 *:*
squid squid 1077 12 udp4 *:3130 *:*
squid squid 1077 13 udp4 *:3401 *:*
- --
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
(TAG/TDG Group)
Jwl Systems Department
Worldlink Communications Pvt. Ltd.
Jawalakhel, Nepal
http://www.wlink.com.np
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)
iD8DBQFGYq4OVrOl+eVhOvYRArQtAJ9rZmDJy0J/ZXQKpKnaGQ4m5xA1ygCeKTwo
HOny51xsj8ob3sbn8/fq4t4=
=A9lY
-----END PGP SIGNATURE-----
Received on Sun Jun 03 2007 - 06:03:39 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:03 MDT