I had this problem after a new installation of Debian Etch on one of my machines at home. Fetchmail, Exim, Freshclam and all other mail related software could not connect to the ClamAV socket. The file /var/run/clamav/clamd.ctl was missing. Touching the file and changing rights and ownership didn’t do the trick. The trick is this under Etch;
Unofficial packages for sarge and etch are available through the Debian volatile project (AMD64 arch is also supported). They are usually more recent than official ones and they are maintained by Stephen Gran too, so they follow the same layout as the official ones.
Edit /etc/apt/sources.list and add a line like this to it:
deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
Than do an apt-get update;apt-get upgrade to upgrade the ClamAV and all related software ;-) The only thing you need to do is add the user clamav to the Debian-exim group, restart exim and clamd and open a bottle of that nice cold beer! All is okay now!
3 Responses to “Can’t connect to, or missing /var/run/clamav/clamd.ctl”
Leave a Reply
You must be logged in to post a comment.