c-icap exists without notice
Nagy László Zsolt
gandalf at shopzeus.com
Thu Mar 17 16:00:19 UTC 2016
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
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
# /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
More information about the freebsd-questions