[CentOS] Clamd not working

Fri Jun 27 22:35:35 UTC 2008
Paul Schoonderwoerd <paul at pollux-it.nl>

On Friday 27 June 2008 19:43:06 Anne Wilson wrote:

> rm /var/clamav/* -rf
> which will remove all the signatures. Don't worry, you'll get them
> back in the next step. As root, type
> freshclam -v
> And that will download all the necessary signatures again.
> </quote>
>
> At that point I thought all was well - until I had to reboot, when I found
> that it hung with a message (from memory) 'self-checking 1800'.  Using
> Interactive boot I discovered that it came from clamd.
>
> I'm guessing that daily.cld  main.cld  and mirrors.dat are being sought
> somewhere other than /var/clamav.  Maybe a symlink is required?  If someone
> with a working clamd could advise me I'd be most grateful.  For now I have
> had to chkconfig clamd off.
>
> Anne

Does the /var/clamav dir still exist ? It is in the clamd rpm.
mirrors.dat, daily.cld and main.cld are in /var/clamav

It seems easiest to me to reinstall clamd and clamav.

Regards,
-- 
Paul Schoonderwoerd