[2.4.x] Squid/ClamAV: Fix for C-ICAP 0.5.x not starting
jvelez last edited by jvelez
Currently running pfSense 2.4.4-DEV snapshot, I found a problem where Squid+ClamAV would not work. Specifically, c-icap would not start.
If you were to start c-icap manually as instructed on the rc.d unit, you'd meet this error:
[2.4.4-DEVELOPMENT][root@pfsense]/usr/local/bin: c-icap -D -d 9 <...> Fatal error while parsing config file: "/usr/local/etc/c-icap/c-icap.conf" line: 134 The line is: ListenAddress 127.0.0.1 <...>
Googling, you'd find this: https://sourceforge.net/p/c-icap/mailman/message/36379708/
It seems, on 0.5.x, ListenAddress has been removed in favor of the Port statement.
To fix C-ICAP, you must:
ListenAddress 127.0.0.1statement on line 134 of c-icap.conf
Port 1344statement on line 142 of c-icap.conf with
- To prevent pfSense from overwriting,
chmod -wthat file to prevent writes to it.
Hopefully this helps someone. :)
iqjet last edited by iqjet
I always thought that there has been something wrong with my config. c-icap didn't start anymore.
The recommended changes I made via GUI by selecting Services -> Squid -> Antivirus selecting: Enable Manual Configuration to enabled, load advanced, show advanced and editing c-icap.conf.
Please file a bug on Redmine.pfsense.org