[CentOS] ClamAV Problem

Mon Sep 17 12:13:08 UTC 2012
Shiv. Nath <prabhpal at digital-infotech.net>

On 9/17/12 11:45 AM, jiten jha wrote:
> Dear Friends,
> I have postfix mail server   When I try to install amavisd-new, clamAV,
> SpamAssassin follow this link "http://wiki.centos.org/HowTos/Amavisd".
> I have done all the configuration after that when I restart clamav
> So It is giving my this error message
> Stopping Clam AntiVirus Daemon:                            [FAILED]
> Starting Clam AntiVirus Daemon: LibClamAV Error: cl_cvdhead: Can't read CVD
> header in /var/clamav/daily.cld
> LibClamAV Error: cli_loaddbdir(): error parsing header of
> /var/clamav/daily.cld
> ERROR: Malformed database
>                                                             [FAILED]
> When I send mail to any one after that i check log so it is showing me
> unable to understand why it is giving me this error . Please help me .

This is not critical error, it simply means that database of clamav that 
contains definition information has corrupted. there are more than one 
way to fix it.
1.) yum remove clam clamav-db* followed by yum install clamav-db
2.) find & move the following files to temp location run freshclam.
daily.cvd main.cld, mirrors.dat