From owner-freebsd-questions@FreeBSD.ORG Tue Aug 28 17:33:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFCF16A417 for ; Tue, 28 Aug 2007 17:33:45 +0000 (UTC) (envelope-from ovi@unixservers.us) Received: from webserver.easyhosting.ro (unixware.iasi.rdsnet.ro [86.124.41.195]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA5113C47E for ; Tue, 28 Aug 2007 17:33:45 +0000 (UTC) (envelope-from ovi@unixservers.us) Received: from [10.0.0.14] (unknown [10.0.0.14]) (Authenticated sender: ovi@unixservers.us) by webserver.easyhosting.ro (Postfix) with ESMTP id 3F4D1FD018 for ; Tue, 28 Aug 2007 20:35:23 +0300 (EEST) Message-ID: <46D45CAD.4070204@unixservers.us> Date: Tue, 28 Aug 2007 20:34:37 +0300 From: Ovi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: c-icap problem loading srv_clamav module X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2007 17:33:45 -0000 Hello I've compiled and installed c-icap, clamav and squid, in order to configure a HTTP proxy with antivirus support. I am able to start c-icap process, but srv_clamav.so module is not loaded: Here is a log from c-icap (when I run it with "/usr/local/bin/c-icap -N -D -d 10"): -------------------------- Loading service :antivirus_module path srv_clamav.so Found handler C_handler for service with extension:.so Error loading service srv_clamav.so: (null) Error finding symbol "service" in module srv_clamav.so Error loading service Anybody had this problem in the past and solved it? I have installed c-icap, clamav and squid. Here is my c-icap.conf ------------------------ Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 600 StartServers 3 MaxServers 10 MinSpareThreads 10 MaxSpareThreads 20 ThreadsPerChild 10 MaxRequestsPerChild 0 Port 1344 User squid Group squid TmpDir /var/tmp MaxMemObject 131072 ServerLog /var/log/c_icap/server.log AccessLog /var/log/c_icap/access.log ModulesDir /usr/local/lib/c_icap Module logger sys_logger.so #Module perl_handler perl_handler.so sys_logger.Prefix "icap" sys_logger.Facility local1 Logger sys_logger acl localnet_respmod src 127.0.0.1 type respmod acl localnet src 127.0.0.1 acl externalnet src 0.0.0.0/0.0.0.0 icap_access allow localnet_respmod icap_access allow localnet icap_access deny externalnet ServicesDir /usr/local/lib/c_icap Service srv_clamav /usr/local/lib/c_icap/srv_clamav.so thank you ovidiu