MS hangs with strange clamav database

Ronny T. Lampert telecaadmin at gmail.com
Mon Apr 7 12:29:07 IST 2008


Hi,

Usually the clamav database looks like this:

#> ls -l /var/clamav/
total 13152
-rw-r--r--  1 clamav clamav   396261 Apr  7 12:39 daily.cvd
-rw-r--r--  1 clamav clamav 13050207 Apr  7 12:39 main.cvd
-rw-------  1 clamav clamav       52 Apr  7 12:40 mirrors.dat


But sometimes the daily.cvd and main.cvd get strangely converted to
subdirectories with around 10 files in them - that's when MS starts to
hang and not process any mail at all.

Error is:

Apr  7 12:34:10 SERVER MailScanner[24956]: None of the files matched by
the "Monitors For ClamAV Updates" patterns exist!

... which of course is true because of my setting

Monitors for ClamAV Updates = /var/clamav/*.cvd


My question is twofold:

1) Has anybody seen a similar thing and why do the clamav files get strange?

2) What is the best value for "Monitors for ClamAV Updates" to prevent
such a breakdown in case clamav gets strange again?


Thanks and cheers,
Ronny



More information about the MailScanner mailing list