Yavuz Maşlak schrieb: > 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
Is your proftpd running chrooted? In that case you'll have to put clamd.sock somewhere inside its chroot jail, and strip the chroot path from the "ClamLocalSocket" parameter. HTH T. -- Tilman Schmidt Phoenix Software GmbH Bonn, Germany
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml