LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2006, 02:11 PM   #1
royeo
Member
 
Registered: Jun 2006
Posts: 150

Rep: Reputation: 15
How to update Clamav antivirus database


I have FC-5 and use KDE. I installed Clamav. Now on the splash screen it tells me that the antivirus database is too old and that I need to update it. I went to the Clamav web site yesterday hoping to find what I need. I didn't. Can anyone tell me what I need to do?

Also, I searched for *clam*, *clamav*, *Clam* and *Clamav* and the searches came up with no results. It's there, there are too many signs. But I don't know how to find it. I've looked on all of my menus but it's not there. I need to find it because I need to know what version it is and to be able to set it up and control it. Can somebody please tell how to find it, (directory, file name, etc.) and how I can set parameters in it?

Thanks,

royeo
 
Old 08-24-2006, 02:41 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
Quote:
Originally Posted by royeo
I have FC-5 and use KDE. I installed Clamav. Now on the splash screen it tells me that the antivirus database is too old and that I need to update it. I went to the Clamav web site yesterday hoping to find what I need. I didn't. Can anyone tell me what I need to do?

Also, I searched for *clam*, *clamav*, *Clam* and *Clamav* and the searches came up with no results. It's there, there are too many signs. But I don't know how to find it. I've looked on all of my menus but it's not there. I need to find it because I need to know what version it is and to be able to set it up and control it. Can somebody please tell how to find it, (directory, file name, etc.) and how I can set parameters in it?

Thanks,

royeo
Try running freshclam as root. You can also daemonize it to automatically check after specified time. Look for /etc/freshclam.conf file that has all the settings for it.

To daemonize it,
Code:
freshclam -d
Edit: Try man freshclam to learn more about it.
Tux,

Last edited by tuxrules; 08-24-2006 at 02:43 PM.
 
Old 08-25-2006, 03:48 AM   #3
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
This is schedule update

crontab -e (make sure you run this command as root)

25 1 * * * /usr/bin/freshclam --quiet -l /var/log/clamav/freshclam.log
 
Old 08-25-2006, 04:16 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It's also common to run freshclam as a daemon, in FC5 for example, it's in the clamav init script
 
Old 12-11-2011, 11:14 AM   #5
liju
LQ Newbie
 
Registered: Dec 2011
Location: KERALA, INDIA
Distribution: Ubuntu
Posts: 1

Rep: Reputation: Disabled
Smile updating clamav antivirus database

install clamav-freshclam

write following lines to etc/clamav/freshclam.conf
>>" DatabaseMirror database.clamav.net"

now run freshclam as root

(tried in ubuntu 10.04 amdx64)
 
  


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
SQUID to work with an antivirus (clamav, bitdefender or kasperski) ilnli Linux - Software 0 08-05-2006 04:20 PM
ClamAV Antivirus shipon_97 Linux - General 2 02-28-2006 03:25 AM
cannot update clamAV izquierdista Linux - Security 3 06-10-2005 08:34 AM
ClamAV wont update m3kgt Linux - Software 3 07-19-2004 02:15 PM
my clamav can't download new database? why? lzyking Linux - Software 1 03-31-2004 09:55 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration