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 07-09-2008, 04:21 AM   #1
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Rep: Reputation: 15
clamav antivirus problem


hi ..i have installed clamav antivirus in my fedora 8 using yum
it got installed properly but now when m tryin to scan my pendrive its giving an error

m doin like this
clamscan -r /dev/sdb1 (which is my pendrive)

[avinash@localhost ~]$ clamscan -r /dev/sdb1

LibClamAV Error: cli_loaddb(): No supported database files found in /var/lib/clamav/daily.inc
ERROR: Not supported data format

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.92.1
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Time: 0.003 sec (0 m 0 s)


can neone tell me wts the problem n wat shd i do for this..
 
Old 07-09-2008, 04:37 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
I guess you need to run
Code:
freshclam
to update your virus database definitions

Regards
 
Old 07-09-2008, 05:00 AM   #3
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Original Poster
Rep: Reputation: 15
wen iam typing freshclam..its givin me dat command not found
 
Old 07-09-2008, 05:26 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
As root run:
Code:
updatedb
locate freshclam
and use the full path to the freshclam command to update the virus database.
 
Old 07-09-2008, 07:05 AM   #5
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Original Poster
Rep: Reputation: 15
m not able to locate freshclam
wen m doin locate freshclam ..m not gettin nethin..
 
Old 07-09-2008, 07:42 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
According to this it should be installed under /usr/bin. I don't know how yum installed clamav, but you can try to d/l and install the package from the link above after removing the one installed with yum.
Note also that you should mount the partition before scanning for viruses. If your pendrive /dev/sdb1mounts on /media/usb, you should use:
Code:
clamscan -r /media/usb
Regards
 
Old 07-09-2008, 12:23 PM   #7
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Original Poster
Rep: Reputation: 15
ya m mounting the partition before doing clamscan on the pendrive....
 
Old 07-11-2008, 11:03 PM   #8
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Original Poster
Rep: Reputation: 15
helooooooo ne one there..
 
Old 07-12-2008, 09:30 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
helooooooo ne one there..
Why are you crying?
Did you install clamav correctly? Did you update the virus definitions database?
If you did so, then post here the problem you're facing.
 
Old 07-12-2008, 11:21 AM   #10
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
You can download ClamAV virus database from the web site; http://www.clamav.net/ and then place it in /var/lib/clamav/daily.inc.
You can find howtos and whytos there also.
 
  


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
How to update Clamav antivirus database royeo Linux - Newbie 4 12-11-2011 12:14 PM
User Guide- clamav antivirus aquaboot Linux - Desktop 1 01-01-2007 08:27 AM
SQUID to work with an antivirus (clamav, bitdefender or kasperski) ilnli Linux - Software 0 08-05-2006 05:20 PM
ClamAV Antivirus shipon_97 Linux - General 2 02-28-2006 04:25 AM
Antivirus for Lunix similar Norton Antivirus for Windows Chivozertsev Linux - Software 1 03-31-2005 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:52 PM.

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