From owner-freebsd-questions@freebsd.org Thu Mar 17 16:00:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90E3EAD2D56 for ; Thu, 17 Mar 2016 16:00:19 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from shopzeus.com (shopzeus.com [87.229.70.149]) by mx1.freebsd.org (Postfix) with ESMTP id 5846CBAE for ; Thu, 17 Mar 2016 16:00:19 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [127.127.127.127] (localhost [127.127.127.127]) (Authenticated sender: gandalf) by shopzeus.com (Postfix) with ESMTPSA id 1CDA1889C60B for ; Thu, 17 Mar 2016 11:50:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1458229829; bh=O4JH4W574YYacXITYbm7Lv8Hkui1rdQoTB9FZTfUCS0=; h=To:From:Subject:Date:From; b=Xrf5JuBP6VUpzmsJTWZao7gih7DMchUQeYiPsSCaDLKSGvaOnIqQIAa4/QdEGk1Dv mydGEueBmYny3dXhO8prZ/zGHA1fa8HoRo2q9eJVNmpm1MQqs0bxu6K5+Low6az2jm iEhh/KB963qT6lUVwAJQL7F/LfUnN7b8rRLwae4sf7uE75oGHW8/AxjP051MWoiY+i 9UqoeDNIuLC9Qf8got/lTyUaPFv2oBs5m1BktjHseS1b07Peq1zEnSgKX3ecR/VjSU 2wqAex0iCEz3ayavIHFVHsaVcS4JZCmC6kwYMnWrezyla3DZooo77IHIT4k2KTgjUs XB2bSGwq/Uenw== To: freebsd-questions@freebsd.org From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Subject: c-icap exists without notice Message-ID: <56EAD246.7090009@shopzeus.com> Date: Thu, 17 Mar 2016 16:50:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2016 16:00:19 -0000 I have installed the c-icap server port and squidclamav. When I try to start it in foreground+debug mode, the following happens: # /usr/local/bin/c-icap -f /usr/local/etc/c-icap/c-icap.conf -D The acl spec all does not exists! squidclamav.c(183) squidclamav_init_service: DEBUG Going to initialize squidclamav LOG Reading configuration from /usr/local/etc/c-icap//squidclamav.conf LOG Reading directive maxsize with value 5000000 LOG Reading directive clamd_local with value /var/run/clamav/clamd.sock LOG Reading directive timeout with value 1 LOG Reading directive logredir with value 0 LOG Reading directive dnslookup with value 1 LOG Reading directive safebrowsing with value 0 Warning, alias is the same as service_name, not adding # In other words: it reads all config files. Apparently there are no errors (only LOG lines and a single WARNING). Then the program exits without any explanation and I get back the shell prompt. I think it should work as a service but it does not. If I try to start it from an rc script then the same happens: # /usr/local/etc/rc.d/c-icap start Starting c_icap. # /usr/local/etc/rc.d/c-icap status c_icap is not running. There is nothing in the system log. There seems to be no "error" except that it does not start. Without getting any error message, I find it very hard to figure this out. Environment: FreeBSD 10.2-RELEASE c-icap-0.3.5_2,2 squidclamav-6.13 Thanks.