Debian & Linux Daantje on 22 Jan 2008 04:22 pm
Can’t connect to, or missing /var/run/clamav/clamd.ctl
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.
on 07 May 2008 at 11:15 am 1.Frans said …
Ik zie keer op keer deze verwijzing maar als je deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free toevoegt geeft ubuntu na apt-get update de melding dat een public key is needed. Tot nu toe heeft niemand mij kunnen uitleggen hoe die te verkrijgen. Jij misschien wel. Bedankt alvast
on 07 May 2008 at 1:38 pm 2.Daantje said …
Had het zelfde met een andere package die uit een Ubuntu stream kwam. Ik denk dat die gpg keys niet compatible zijn. Elke maintainer van een package heeft een gpg key. Zo ziet apt-get volgens mij of het een officiele package of een unofficial package is. Maar precies weet ik het niet. Maar ik heb het ook als ik zelf een debian package compile zonder eerst de changelog aan te passen. Begint apt ook te janken over dat de gpg key niet available is voor dat emailadres. Dus jij moet niet die key hebben, maar de server volatile… Tenminste, dat denk ik…
on 05 Oct 2008 at 11:11 pm 3.Daantje said …
Ik ben er inmiddels achter dat iedereen die gpg warnings negeerd. Het scheint niet echt te werken op Etch.