Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2016 14:57:40 +0000 (UTC)
From:      <laszlo.danielisz@yahoo.com>
To:        =?UTF-8?Q?Nagy_L=C3=A1szl=C3=B3_Zsolt?= <gandalf@shopzeus.com>,  "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: c-icap exists without notice
Message-ID:  <794632038.1462836.1458399460917.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <56EAD246.7090009@shopzeus.com>
References:  <56EAD246.7090009@shopzeus.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <gand=
alf@shopzeus.com> 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: <owner-freebsd-questions@freebsd.org>
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 <freebsd-questions@mailman.ysv.freebsd.org>;
 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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions-local@be-well.ilk.org>
To: Anton Sayetsky <vsasjason@gmail.com>
Cc: Polytropon <freebsd@edvax.de>, Timothy Macintyre <tmacintyre@outlook.com>,
 "freebsd-questions\@freebsd.org" <freebsd-questions@freebsd.org>
Subject: Re: FreeBSD 9.0 16kb Page Size
References: <VI1PR05MB1343B48CB99607A90FB15C09DA8C0@VI1PR05MB1343.eurprd05.prod.outlook.com>
 <20160319132752.932a5a1e.freebsd@edvax.de>
 <CAA2O=b_3Yrd3fydDrw-H6AY7UHh-6=T0Pvuig9D2Gs7VUV9tMg@mail.gmail.com>
 <20160319134549.5bf3019f.freebsd@edvax.de>
 <CAA2O=b-JG6V+DMYPq0pQXWhBniDqNzWc1mD9VohpjgndwWD-PQ@mail.gmail.com>
Date: Sat, 19 Mar 2016 11:19:40 -0400
In-Reply-To: <CAA2O=b-JG6V+DMYPq0pQXWhBniDqNzWc1mD9VohpjgndwWD-PQ@mail.gmail.com>
 (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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Mar 2016 15:19:54 -0000

Anton Sayetsky <vsasjason@gmail.com> writes:

> 2016-03-19 14:45 GMT+02:00 Polytropon <freebsd@edvax.de>:
>> On Sat, 19 Mar 2016 14:37:14 +0200, Anton Sayetsky wrote:
>>> 2016-03-19 14:27 GMT+02:00 Polytropon <freebsd@edvax.de>:
>>> > 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. 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?794632038.1462836.1458399460917.JavaMail.yahoo>