[users] clamav pkg and clamd.conf

Marcelo M. Garcia marcelo.maia.garcia at googlemail.com
Thu Aug 26 13:38:54 CEST 2010


I installed the package clamav[1] and in the logwatch there is a message 
that cannot find /etc/clamd.conf[2].

There is not "clamd.conf" in the package[3], only "freshclam.conf", but 
in "freshclam" makes references to "clamd.conf"[4].

 From where should come "clamd.conf"? Or should I comment out the 
reference to it in "NotifyClamd /etc/clamd.conf"?



doraemon (Linux)$ yum list installed clam*
Loaded plugins: fastestmirror, priorities
Installed Packages
clamav.x86_64                                 0.96.2-2.el5.rf 
clamav-db.x86_64                              0.96.2-2.el5.rf 
doraemon (Linux)$

  WARNING: Clamd was NOT notified: Can't find or parse configuration 
file /etc/clamd.conf

doraemon (Linux)$ rpm -q --list clamav.x86_64
doraemon (Linux)$

doraemon (Linux)$ grep -n -C 2 clamd.conf /etc/freshclam.conf
7-# Path to the database directory.
8:# WARNING: It must match clamd.conf's directive!   <----- *
9-# Default: hardcoded (depends on installation options)
10-DatabaseDirectory /var/clamav
110-# Send the RELOAD command to clamd.
111-# Default: no
112:NotifyClamd /etc/clamd.conf   <------ *
114-# Run command after successful database update.
145-# will then use this data to determine what types of malware are the 
146-# detected in the field and in what geographic area they are.
147:# This feature requires LogTime and LogFile to be enabled in clamd.conf.
148-# Default: no
149:#SubmitDetectionStats /path/to/clamd.conf <----- *
151-# Country of origin of malware/detection statistics (for statistical
doraemon (Linux)$

More information about the users mailing list