Yes clamd is running

ps aux | grep clam
clamav 93308 0.0 10.9 123804 112476 ?? Is Wed11AM 0:06.49 /usr/local/sbin/clamd

Here's the programs' versions are as following;
clamav-0.95.2
mod_clamav/0.11rc
proftpd-1.3.2

proftpd -vv
Loaded modules:
 mod_clamav.c
...

cat clamd.conf
LocalSocket /var/run/clamav/clamd.sock
FixStaleSocket no
TCPSocket 3310
TCPAddr 127.0.0.1
...


cat proftpd.conf
<IfModule mod_clamav.c>
  ClamAV on
  ClamServer 127.0.0.1
  ClamPort 3310
  ClamLocalSocket /var/run/clamav/clamd.sock
</IfModule>

ls -l /var/run/clamav/clamd.sock
srwxrwxrwx  1 clamav  clamav  0 Aug 26 11:02 /var/run/clamav/clamd.sock

But when I upload a file via ftp, I get an error as following;

Aug 13 23:30:56 proftpd[93135] (192.168.12.248[192.168.12.248]):
mod_clamav/0.11rc: error: Cannot connect to Clamd (2): No such file or
directory

How can I tell my mod_clamav where clamd's socket file is.

How can I correct that error?


I have upgraded mod_clamav to 0.11.

But when I upload a file via ftp, I get an error as following;


Aug 13 23:30:56 proftpd[93135] (192.168.12.248[192.168.12.248]):
mod_clamav/0.11rc: error: Cannot connect to Clamd (2): No such file or
directory

clamav and proftpd is running.
Does this mean that clamd is running?

Where am I doing wrong?
You are not telling your mod_clamav where clamd's socket file is. Or,
you haven't started clamd. Or, you have bad permissions on your clamd
socket. etc.... ;-)
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to