I have followed all the instruction except the etc/freshclam.conf and etc/clamd.conf I think I have missed it up, this is what I done:
I would really appreciate all kind of support here:
./configure --prefix=/home/gary/clamav --disable-clamav
useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
with this command $ clamd I get:
ERROR: Please edit the example config file /etc/clamd.conf
clamscan -r -l scan.txt
Known viruses: 30736
Scanned directories: 54
Scanned files: 734
Infected files: 5
Data scanned: 19.73 MB
I/O buffer size: 131072 bytes
Time: 20.694 sec (0 m 20 s)
chmod 600 /var/log/clam-update.log
chown clamav /var/log/clam-update.log
freshclam -d And I get this:
ERROR: Please edit the example config file /etc/freshclam.conf.
ERROR: Please edit the example config file /etc/clamd.conf.
ERROR: Can't parse the config file /etc/clamd.co
Now I have loaded my vi /etc/freshclam.conf and I have removed the # almost from all lines.... is that right :confused:
For example this is a few lines from the file
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# Default: There is no default, which results in an error when running freshclam
# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
# How many attempts to make before giving up.
# Default: 3 (per mirror)
# Number of database checks per day.
# Default: 12 (every two hours)
# Proxy settings