Weblog entry #11 for lykwydchykyn
#11
Dansguardian and clamav broken in etch?
Posted by lykwydchykyn on Wed 9 Jan 2008 at 20:13
Trying to set up a proxy filtering server using pure, clean install of etch, and I've found that dansguardian will only start if I turn off the antivirus feature in dansguardian.conf. I'm not an expert at this setup, though I have successfully set it up on Ubuntu and Sarge machines using the same recipe.
My setup is squid + dansguardian + clamav. I've tried updating clamav out of debian-volatile but it does the same. It gives no errors, either at the terminal or in any log file I can find. When I try to restart the init script, it just sits there for a minute or so then silently times out. There are no dansguardian processes running after that.
But if I turn of av scanning, all is well (apart from no virus scanning).
Anyone successfully set this up? I've googled every which way, but I appear to be the "only one having this problem"(TM) (on multiple machines, I might add).
My setup is squid + dansguardian + clamav. I've tried updating clamav out of debian-volatile but it does the same. It gives no errors, either at the terminal or in any log file I can find. When I try to restart the init script, it just sits there for a minute or so then silently times out. There are no dansguardian processes running after that.
But if I turn of av scanning, all is well (apart from no virus scanning).
Anyone successfully set this up? I've googled every which way, but I appear to be the "only one having this problem"(TM) (on multiple machines, I might add).
Comments on this Entry
I never tried using the "clamav" method, but I found that support for the "clamdscan" method is not compiled in the Etch version of dansguardian. Try recompiling dansguardian after editting its debian/rules to include the configure option "--with-av-engine=clamav,clamdscan". Worked for me.
[ Parent | Reply to this comment ]
I have a similar situation at home working fine (I add privoxy in the equation).
Could you post your dangsguardian.conf for us to check?
Could you post your dangsguardian.conf for us to check?
[ Parent | Reply to this comment ]
Hrm.... got it working now. I purged everything, made sure debian-volatile was there, and reinstalled. Now it all works happily together.
I noticed on one of the machines I had trouble with, clamav wasn't running at all. Maybe just something screwy with the way I set it up.
Weird.
I noticed on one of the machines I had trouble with, clamav wasn't running at all. Maybe just something screwy with the way I set it up.
Weird.
[ Parent | Reply to this comment ]
Posted by Anonymous (195.14.xx.xx) on Wed 16 Jan 2008 at 22:50
Yes, reinstall fixes this issue. Problem is with clamav antivirus data. On some failing machine, start clamav-daemon or dansguardian and strace them (strace -p) and you will see real problem.
[ Parent | Reply to this comment ]
Had the same problem when updated two machines which link two schools where I work. Update broke more than that actually - quite strange behaviour for a 'stable'.
Cheers,
rjc
Cheers,
rjc
[ Parent | Reply to this comment ]