File::Scan::ClamAV module version 1.91 installed but AvClamdPort not ready
12-06-2010 @ 3:12AM EST
Quote:
File::Scan::ClamAV module version 1.91 installed but AvClamdPort not ready, error: Cannot connect to unix socket '/var/run/clamav/clamd.ct': connect: No such file or directory;
I go to the directory and the file and permissions look good but then I noticed this...
Quote:
hostname:/var/run/clamav# ls -la
total 16
drwxr-xr-x 2 clamav root 4096 2010-12-06 01:04 .
drwxr-xr-x 14 root root 4096 2010-12-06 01:00 ..
srw-rw-rw- 1 clamav clamav 0 2010-12-06 00:50 clamd.ctl
Yes, there is an "L" at the end of the file, weird. So I searched everywhere for an answer, nothing. I checked in the clamd.conf file and it is in fact pointing to clamd.ctl but for some reason ASSP is looking for clamd.ct which doesn't exist. I was tempted to rename it but I figured it might break something else or cause upgrade issues in the future so here's a quick fix for anybody else who encounters this seemingly undocumented issue:
Code:
hostname:~# cd /var/run/clamav/
hostname:/var/run/clamav# ln -s clamd.ctl clamd.ct
hostname:/var/run/clamav# ls -la
total 16
drwxr-xr-x 2 clamav root 4096 2010-12-06 01:04 .
drwxr-xr-x 14 root root 4096 2010-12-06 01:00 ..
lrwxrwxrwx 1 root root 9 2010-12-06 01:04 clamd.ct -> clamd.ctl
srw-rw-rw- 1 clamav clamav 0 2010-12-06 00:50 clamd.ctl
All set! :D
Comments
This article hasn't been commented yet.



Write a comment
* = required field