Clam module broken after main.cvd update

Randal, Phil prandal at herefordshire.gov.uk
Wed Apr 11 10:16:23 IST 2007


In /etc/MailScanner/MailScanner.conf:

Monitors for ClamAV Updates = /usr/local/share/clamav/main.inc/*.?db
/usr/local/share/clamav/daily.inc/*.?db /usr/local/share/clamav/*.?db

Unfortunately the monitoring is looking for filesize changes, not
datestamps, so it's more complicated than it need be.

Phil
--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Raymond Dijkxhoorn
> Sent: 11 April 2007 01:53
> To: mailscanner at lists.mailscanner.info
> Subject: Clam module broken after main.cvd update
> 
> Hi!
> 
> We have seen several servers barfing due to a broken clamlib after a 
> update of freshclam.
> 
> Tonight clamav released a new main.cvd, when this happened the update 
> files were placed inside subdirs, this is part of the new 
> clamav update 
> scheme.
> 
> Mailscanner however dont take this and will report:
> 
> Apr 11 02:37:25 vmx120 MailScanner[1011]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:37:30 vmx120 MailScanner[1013]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:37:35 vmx120 MailScanner[1016]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:37:40 vmx120 MailScanner[1018]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:37:45 vmx120 MailScanner[1023]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:37:50 vmx120 MailScanner[1029]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:37:55 vmx120 MailScanner[1035]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:38:00 vmx120 MailScanner[1037]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:38:05 vmx120 MailScanner[1040]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> Apr 11 02:38:10 vmx120 MailScanner[1062]: None of the files 
> matched by the 
> "Monitors For ClamAV Updates" patterns exist!
> 
> This will give defuncts on all your MS processes.
> 
> The behaviour is only with 0.9x so be aware you will for sure 
> see your 
> incomming queue raise till you manually fix this.
> 
> On my system clam created dirs like:
> 
> /usr/local/share/clamav/daily.inc
> 
> I removed all inside /usr/local/share/clamav/ (all subdirs 
> also) and did a 
> freshclam. Now the main.cvd remains in the main dir again and 
> its going 
> again.
> 
> This is most likely a temp fix till someone fixes MS to 
> detect this. ;)
> 
> If you see the above behaviour, or wonder why your MS is 
> defuncting all 
> off the sudden, you know what to do....
> 
> Bye,
> Raymond.
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 


More information about the MailScanner mailing list