Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2005, 01:49 PM   #1
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
Support with clamAV

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:

Step 1:

./configure --prefix=/home/gary/clamav --disable-clamav
make install

Step 2:

groupadd clamav
useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav

Step 3:

./configure --sysconfdir=/et
make install

Step 4:

./configure --enable-milter

Step 5:

with this command $ clamd I get:
ERROR: Please edit the example config file /etc/clamd.conf

Step 6:

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)

Step 7:
touch /var/log/clam-update.log
chmod 600 /var/log/clam-update.log
chown clamav /var/log/clam-update.log

Step 8:
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/

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 for the full list.
# Default: There is no default, which results in an error when running freshclam

# is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case 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)
MaxAttempts 5

# Number of database checks per day.
# Default: 12 (every two hours)
Checks 24

# Proxy settings
Default: Enabled

Last edited by amer_58; 03-23-2005 at 01:50 PM.
Old 03-24-2005, 03:35 PM   #2
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
Did you comment out or delete the 'Example' line in the two config files? That's what it really wants you to do when it says "Please edit the example config file ...".

Also, your "DatabaseMirror" line posted above needs to have XY replaced with your country code, like it says....

Last edited by dsegel; 03-24-2005 at 03:36 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV Features depam Linux - Software 1 10-25-2005 01:26 AM
ClamAV depam Linux - Software 1 10-18-2005 07:33 PM
clamav merize147 Ubuntu 2 10-13-2005 07:29 AM
ClamAV dudeman41465 Linux - Software 3 10-11-2005 08:40 AM
help with clamAV Lleb_KCir Linux - Software 6 01-29-2005 03:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration