This site is now 100% read-only, and retired.

XML logo

Dansguardian and clamav broken in etch?
Posted by lykwydchykyn on Wed 9 Jan 2008 at 20:13
Tags: none.
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).

 

Comments on this Entry

Re: Dansguardian and clamav broken in etch?
Posted by rossen (84.72.xx.xx) on Mon 14 Jan 2008 at 13:01
[ View Weblogs ]
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 ]

Re: Dansguardian and clamav broken in etch?
Posted by oxtan (82.95.xx.xx) on Mon 14 Jan 2008 at 20:37
[ View Weblogs ]
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?

[ Parent ]

Re: Dansguardian and clamav broken in etch?
Posted by lykwydchykyn (72.237.xx.xx) on Tue 15 Jan 2008 at 21:05
[ View Weblogs ]
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.

[ Parent ]

Re: Dansguardian and clamav broken in etch?
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 ]

Re: Dansguardian and clamav broken in etch?
Posted by rjc (78.32.xx.xx) on Sun 20 Jan 2008 at 16:22
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

[ Parent ]