[CentOS] clamAV problem

Fri Feb 6 09:24:46 UTC 2009
Olaf Mueller <daily-planet at istari.de>

Anne Wilson wrote:

Hello,

>  daily.cld updated (version: 8950, sigs: 72593, f-level: 38, builder:
>  ccordes)

> service clamd status
> clamd: unrecognized service

> It has to be something stupid that I've missed.  Can someone kick me
> in the
> right direction?  Thanks
the following setup is here working. I'm using the clamav packages
from "RPMforge RPM Repository for Red Hat Enterprise 5".

1) # rpm -qa | grep clam
clamav-0.94.2-1.el5.rf
clamav-milter-0.94.2-1.el5.rf   # for mail
clamav-db-0.94.2-1.el5.rf
clamd-0.94.2-1.el5.rf

2) /etc/clamd.conf
LogFile /var/log/clamav/clamd.log
LogFileMaxSize 0
PidFile /var/run/clamav/clamd.pid
TemporaryDirectory /var/tmp
DatabaseDirectory /var/clamav
LocalSocket /var/clamav/clamd.socket
FixStaleSocket yes
MaxConnectionQueueLength 30
MaxThreads 50
ReadTimeout 120
SelfCheck 3600
User clamav
AllowSupplementaryGroups yes
ScanPE yes
ScanELF yes
DetectBrokenExecutables yes
ScanOLE2 yes
ScanPDF yes
ScanMail yes
PhishingSignatures yes
ScanHTML yes
ScanArchive yes
ArchiveBlockEncrypted no

3) /var/log/clamav/clamd.log
[...]
Loaded ClamAV 0.94.2/8959/Fri Feb  6 06:58:05 2009
ClamAV: Protecting against 951007 viruses
Database correctly reloaded (951007 signatures)
Database correctly reloaded (951007 viruses)

4) /var/log/freshclam.log
[...]
Current working dir is /var/clamav
Max retries == 3
ClamAV update process started at Fri Feb  6 10:12:01 2009
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 900
Software version from DNS: 0.94.2
main.cvd version from DNS: 49
Connecting via <MYSERVER>
main.cvd is up to date (version: 49, sigs: 437972, f-level: 35, builder:
sven)
daily.cvd version from DNS: 8959
Connecting via <MYSERVER>
daily.cld is up to date (version: 8959, sigs: 75562, f-level: 38,
builder: ccordes)


regards
Olaf