LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-23-2005, 02:49 PM   #1
amer_58
Member
 
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:

Code:
Step 1:

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

Step 2:

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

Step 3:

./configure --sysconfdir=/et
make
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/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
DatabaseMirror db.XY.clamav.net

# 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.
DatabaseMirror database.clamav.net

# 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
127.1.1.1
8080

Last edited by amer_58; 03-23-2005 at 02:50 PM.
 
Old 03-24-2005, 04:35 PM   #2
dsegel
Member
 
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 04:36 PM.
 
  


Reply


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 02:26 AM
ClamAV depam Linux - Software 1 10-18-2005 08:33 PM
clamav merize147 Ubuntu 2 10-13-2005 08:29 AM
ClamAV dudeman41465 Linux - Software 3 10-11-2005 09:40 AM
help with clamAV Lleb_KCir Linux - Software 6 01-29-2005 04:45 PM


All times are GMT -5. The time now is 04:02 AM.

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