Bug#755992: proftpd-mod-clamav: error: Can not stat file (9): Bad file descriptor
Jérémie LEGRAND
jeremie.legrand at komori-chambon.fr
Tue Nov 18 10:37:57 UTC 2014
Hello,
I have the same problem on Debian Wheezy. Some precisions:
1. Clamav can access the files when I test manually:
# clamscan /data/proftpd/TEST/eicar.com
/data/proftpd/TEST/eicar.com: Eicar-Test-Signature FOUND
2. The error appears whether DefaultChdir is activated or not (I thought that chroot could be the cause)
The configuration used to reproduce the error:
/etc/proftpd/proftpd.conf
LoadModule mod_clamav.c
<IfModule mod_clamav.c>
ClamAV on
ClamServer localhost
ClamPort 3310
ClamMaxSize 250 Mb
</IfModule>
/etc/clamav/clamd.conf:
TCPSocket 3310
TCPAddr 127.0.0.1
Best regards,
Jeremie L.
More information about the Pkg-proftpd-maintainers
mailing list