On 31.08.09 23:28, Yavuz Maşlak wrote:
My problem has solved with hardlink.
it can fail after clamd is restarted. Better use TCP socket on localhost
instead of unix socket. It also helps when you are chrooting each user to
its home directory.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ;
Thank you
My problem has solved with hardlink.
- Original Message -
From: Tilman Schmidt t.schm...@phoenixsoftware.de
To: Yavuz Maşlak yavuz.mas...@netiletisim.net
Cc: clamav-users@lists.clamav.net
Sent: Sunday, August 30, 2009 1:58 PM
Subject: Re: [Clamav-users] clamav + proftpd
Yavuz Maşlak schrieb:
Is your proftpd running chrooted?
Yes I running proftpd as chrooted. when I remove chrooted, proftpd will
run with clamd.
Ok, that explains it.
In that case you'll have
to put clamd.sock somewhere inside its chroot jail, and
strip the chroot path from the
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
Is your proftpd running chrooted?
Yes I running proftpd as chrooted. when I remove chrooted, proftpd will run
with clamd.
In that case you'll have
to put clamd.sock somewhere inside its chroot jail, and
strip the chroot path from the ClamLocalSocket parameter.
I have some virtual users.
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
Hello
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