hi all,
ive been struggling with this for a few weeks and hopefully one of you guys can help me out as im struggling finding solutions
ive installed on my centos 7 vm machine
c-icap
c-icap modules
http://c-icap.sourceforge.net/download.html
squid 4.9
http://www.squid-cache.org/Versions/v4/
clamav
https://hostpresto.com/community/tut...v-on-centos-7/
squidclamav
https://sourceforge.net/projects/squ...atest/download
and i followed this guide compiling them from source with the configure options make and make install on all of them
https://wiki.squid-cache.org/ConfigE...ptation/C-ICAP
squid works as a proxy just fine, just struggling with the c-icap with squidclamav part
this is the error i get -
Sun Dec 22 21:40:44 2019, 1586/40797952, squidclamav.c(2081) dconnect: Sun Dec 22 21:40:44 2019, 1586/40797952, ERROR Can't connect to clamd on local socket /run/clamd.scan/clamd.sock.
Sun Dec 22 21:40:44 2019, 1586/40797952, squidclamav.c(787) squidclamav_end_of_data_handler: Sun Dec 22 21:40:44 2019, 1586/40797952, ERROR Can't connect to Clamd daemon.
Mon Dec 23 10:10:11 2019, main proc, c-icap server already running!
Mon Dec 23 10:37:44 2019, main proc, c-icap server already running!
[root@squid ~]# ls /run/clamd.scan/
[root@squid ~]#
but i have changed all my services to a /services directory and there all running -
[root@squid ~]# ls /services/c-icap/
c-icap.ctl c-icap.pid
[root@squid ~]# ls /services/clamd.scan/
clamd.sock
[root@squid ~]#
so my question is why is squidclamav still looking in "/run/clamd.scan/clamd.sock"
i have even specified in my "/etc/squidclamav.conf" where the clamd service is
# clamd_port to the corresponding value.
clamd_local /services/clamd.scan/clamd.sock
#clamd_ip 127.0.0.1
#clamd_port 3310
thanks,
rob