LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2010, 11:10 AM   #1
Runge_Kutta
Member
 
Registered: Jul 2006
Location: H-town, TX
Distribution: SuSE10.1, Ubuntu 9.10, RHEL-4-WS, Fedora Core 6, CentOS 5.x, Fedora 13
Posts: 35

Rep: Reputation: 16
Clamav update using clanscan -d daily.cvd


Hey Guys,

I have a server that is installed with clamav but is not directly connected to internet. Is it possible to update the virus database with following command:

clamscan -d daily.cvd

where "daily.cvd" is the current file available from clamav's website.

Would that change the entire virus database to just that file, or will it update incrementally based on what is already in virus database? Do I need to update main.cvd and daily.cvd as well?

Note, using command "freshclam" is out of the question because I cannot directly connect machine to internet.

Thanks in advance . . .
 
Old 03-03-2010, 01:17 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

"clamscan -d daily.cvd" runs clamscan using the virus database file from the current directory. It won't update the daily virus database.
If you somehow can copy daily.cvd from clamav's site to the box that has no internet connection, then you can move the file to the directory where the databases are located (usually /var/lib/clamav) overwriting the previous one and keep the database up-to-date.

Regards
 
1 members found this post helpful.
Old 03-03-2010, 03:00 PM   #3
Runge_Kutta
Member
 
Registered: Jul 2006
Location: H-town, TX
Distribution: SuSE10.1, Ubuntu 9.10, RHEL-4-WS, Fedora Core 6, CentOS 5.x, Fedora 13
Posts: 35

Original Poster
Rep: Reputation: 16
[solved]

I found it under "/usr/local/share" - though thanks for your post, it forced me to find it using "find" command when I didn't find the file usder /var/lib/clamav

Must be a redhat thing?

anyways, I'm cool now
 
  


Reply



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
WARNING: Can't download main.cvd from db.local.clamav.net cccc Debian 3 02-04-2010 12:03 PM
[SOLVED] /etc/cron.daily update errors qwertyjjj Linux - Newbie 2 08-13-2009 08:16 PM
SuSE 10.0 YaST online update daily bunkenburg SUSE / openSUSE 2 03-02-2006 05:21 PM
cannot update clamAV izquierdista Linux - Security 3 06-10-2005 08:34 AM
How do I send daily clamav scan logs to my work e-mail account rwtreke SUSE / openSUSE 3 05-20-2005 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:35 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
Open Source Consulting | Domain Registration