From owner-freebsd-questions@freebsd.org Sat Mar 19 15:02:30 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 4077FAD55E7 for ; Sat, 19 Mar 2016 15:02:30 +0000 (UTC) (envelope-from laszlo.danielisz@yahoo.com) Received: from nm32-vm9.bullet.mail.gq1.yahoo.com (nm32-vm9.bullet.mail.gq1.yahoo.com [98.136.216.232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A1161DA8 for ; Sat, 19 Mar 2016 15:02:29 +0000 (UTC) (envelope-from laszlo.danielisz@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1458399625; bh=UNJSe0f9W8rmKhdgAVkCmRzGIfSrLsRM2Ah6hy4zyJA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=Ldm604qAftP4NB7wpb1sMYgxCYd3+z+wvE0lKw7kJ0BoJQhA7p0HWct+CJM58j/R8FINfXRFgnPrLkzbExry3mcYH9mbYJMujyJ9xTjf7fNbnF6e+CI6EGreEJmm8nQa137220v2UKpfEZiUit0wiTxeoKiaJ4f1kcBDToT7FmVcdGNfDBZNQwQJLS9Fbzf6pI2vR6pmG/kX6A2n+19KLTNfAH1iRROTLm3yqEPqT+xRHTLbghYO0flav7AtxRey1TcYnII3oYFGpKN5pSGy9T53iLM/QKYKmEUgC8E8hHi7uLIE2EO+wOJTS/Bs0yKGamy47/wrUZYbkZHY1I3Abg== Received: from [127.0.0.1] by nm32.bullet.mail.gq1.yahoo.com with NNFMP; 19 Mar 2016 15:00:25 -0000 Received: from [98.137.12.57] by nm32.bullet.mail.gq1.yahoo.com with NNFMP; 19 Mar 2016 14:57:42 -0000 Received: from [98.139.215.143] by tm2.bullet.mail.gq1.yahoo.com with NNFMP; 19 Mar 2016 14:57:41 -0000 Received: from [98.139.212.214] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 19 Mar 2016 14:57:41 -0000 Received: from [127.0.0.1] by omp1023.mail.bf1.yahoo.com with NNFMP; 19 Mar 2016 14:57:41 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 649477.4106.bm@omp1023.mail.bf1.yahoo.com X-YMail-OSG: NWjOfnIVM1keiipee.tjsB1eBGCO8F6tLut2Bts0RYFupVUMwsKNEprHUXH3osi S5kcSMwkdG_dKoa4XXktBSHzFcdmC7BqNOQRMD0Gs9LY4JxXrMn6S7tG33HqkBmAmVTbezTPn3Sz IOFpPXh9Px8WIKIkl0XZ_PCLQQyogxuuGx8twMKlqdJfTBtP7HqyMq6ebNX_88pQR1RNOyGjrMWC K2B1ZBoMgzuwUFIKRnHTDuw_pAsoRv2n8ix3ohNghoGEaictq9MMa_iBpwWGae2BnQ0dNLS8sswW lrpPYFWU21Gg3_GZL59n4pSSbp4_NdcYx4q5qjABCkcIUQdYtbRKpHVjLbNoMDiiR4KIgUoP4L1O TaFE1.Va1bku8s09Vov24XkMFqiKIbE9eYhmoeHJL8Aog6lTQ8hVyNAY7Xc6fEUZNlsBbxg_9SsB ODkE8kAP5o._Ownt7zMEWsWlhzvx1MCM_mGNbuKvyjFUbPT7zRqLhQJggJ9YxFqHCjiu503P8JUM 4JUsOx0blLKwS4.EziTuuwVv_Ti1sO6uv Received: by 66.196.81.106; Sat, 19 Mar 2016 14:57:41 +0000 Date: Sat, 19 Mar 2016 14:57:40 +0000 (UTC) From: Reply-To: To: =?UTF-8?Q?Nagy_L=C3=A1szl=C3=B3_Zsolt?= , "freebsd-questions@freebsd.org" Message-ID: <794632038.1462836.1458399460917.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <56EAD246.7090009@shopzeus.com> References: <56EAD246.7090009@shopzeus.com> Subject: Re: c-icap exists without notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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: Sat, 19 Mar 2016 15:02:30 -0000 Hi Zsolt, It might be silly but have you tried running it with strace? Laci=20 On Thursday, March 17, 2016 12:00 PM, Nagy L=C3=A1szl=C3=B3 Zsolt wrote: =20 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. _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= " From owner-freebsd-questions@freebsd.org Sat Mar 19 15:19:54 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 BBAD0AD5B95 for ; Sat, 19 Mar 2016 15:19:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 98B7E76C for ; Sat, 19 Mar 2016 15:19:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.lan (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id 3668933C27; Sat, 19 Mar 2016 11:19:42 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 4344039822; Sat, 19 Mar 2016 11:19:40 -0400 (EDT) From: Lowell Gilbert To: Anton Sayetsky Cc: Polytropon , Timothy Macintyre , "freebsd-questions\@freebsd.org" Subject: Re: FreeBSD 9.0 16kb Page Size References: <20160319132752.932a5a1e.freebsd@edvax.de> <20160319134549.5bf3019f.freebsd@edvax.de> Date: Sat, 19 Mar 2016 11:19:40 -0400 In-Reply-To: (Anton Sayetsky's message of "Sat, 19 Mar 2016 14:49:02 +0200") Message-ID: <444mc2lckz.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain 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: Sat, 19 Mar 2016 15:19:54 -0000 Anton Sayetsky writes: > 2016-03-19 14:45 GMT+02:00 Polytropon : >> On Sat, 19 Mar 2016 14:37:14 +0200, Anton Sayetsky wrote: >>> 2016-03-19 14:27 GMT+02:00 Polytropon : >>> > On Fri, 18 Mar 2016 11:11:17 +0000, Timothy Macintyre wrote: >>> >> I'm trying to do some testing on FreeBSD 9.0 with the page size >>> >> set to 16kb on amd64 but I'm having trouble building a stable kernel. >>> >> >>> >> I've changed the PAGE_SHIFT to 14 under param.h and also updated >>> >> pmap.h/c with the following values so it doesn't complain about >>> >> invalid struct sizes at compile but I'm getting a crash after >>> >> install and reboot. Is there something I'm missing here? >>> >> >>> >> >>> >> #define _NPCM 12 >>> >> #define _NPCPV 677 >>> > >>> > You should probably repeat that experiment with a currently >>> > supported code base. FreeBSD 9.0 is already EOL. The best >>> > idea would be to use the FreeBSD 10.2 release (amd64) and >>> > make the required changes. >>> > >>> > In case you have a valid reason not to use FreeBSD 10, but >>> > instead need to keep FreeBSD 9, try the most current release, >>> > which is FreeBSD 9.3. Remember: it's a legacy release, not a >>> > production release. >>> You're wrong. I've just checked official FreeBSD site: >>> >LATEST RELEASES >>> >Production: 10.2, 10.1, 9.3 >> >> Hmmm... are we looking at different pages? > Doh, it's true. According to main page, you're wrong. According to > releases page, you're right. %) > But in fact I agree that one should not use 9.x at all. As far as I can see, the pages don't disagree, and you (Anton) and Polytropon are also saying the same thing. 9.0 is past end-of-life, 9.3 is supported, 10.2 is recommended for new installs.