Questions tagged [clamav]

ClamAV (Clam anti-virus) is a suite of programs designed to detect malware, viruses, trojans, and other threats. It be run from the command line or as a daemon, and can integrate with mail servers to scan email attachments. It is open source and published under the GPL.

Homepage: http://www.clamav.net/
Bug reports: https://bugs.launchpad.net/ubuntu/+filebug

From the apt-cache description:

ClamAV is an open source (GPL) antivirus toolkit, which is designed to detect trojans, viruses, malware and other malicious threats.
 The package provides a flexible and scalable
 multi-threaded daemon in the clamav-daemon package, a command-line
 scanner in the clamav package, and a tool for automatic updating via
 the Internet in the clamav-freshclam package. The programs are based
 on libclamav6, which can be used by other software.
 .
 This package contains the daemon and its command line interface,
 featuring:
  - fast, multi-threaded daemon;
  - easy integration with MTA's;
  - support for on-access scanning;
  - remote scanning;
  - able to be run supervised by daemon.
260 questions
225
votes
2 answers

How do I scan for viruses with ClamAV?

I installed ClamAV via Terminal (Ctrl+Alt+T) with: sudo apt-get install clamav but how can I scan for viruses?
BuZZ-dEE
  • 14,533
108
votes
5 answers

clamav - ERROR: /var/log/clamav/freshclam.log is locked by another process?

I have installed clamav and I want to to update the files that it uses to identify viruses: $ sudo freshclam ERROR: /var/log/clamav/freshclam.log is locked by another process ERROR: Problem with internal logger (UpdateLogFile =…
Run
  • 2,748
77
votes
5 answers

How to update ClamAV definitions database?

How can I update Clam Antivirus via the terminal? I already have installed clamav, but I want to know how can I update the virus database.
Hippie
  • 771
33
votes
2 answers

freshclam error, "clamd.conf" file not found

When I run the following command: sudo freshclam If there are found to be updates to the virus definitions etc then at the end of the output comes this error message ERROR: NotifyClamd: Can't find or parse configuration file…
user364819
22
votes
3 answers

How can I make a detailed report of ClamAv scan results (location of infected files)?

I'm scanning with ClamAv and I got the following summary: ----------- SCAN SUMMARY ----------- Known viruses: 4724261 Engine version: 0.99 Scanned directories: 128878 Scanned files: 791920 Infected files: 29 Total errors: 25699 Data scanned:…
22
votes
1 answer

ClamAV: Can't read file ERROR

When running the command today: sudo clamscan -r --detect-pua / > clamscan1.txt I got very many errors going along the lines of these ones (in the txt file): /sys/fs/ecryptfs/version: Can't read file ERROR /sys/fs/ext4/sda1/inode_readahead_blks:…
user364819
21
votes
2 answers

How to view results of last clamscan scan?

I scanned pen drive using clamscan and I closed the terminal after scanning without reading the result. Now one of my folders on the pen drive is missing. I wanted to know if clamav deleted it. So I want to view the last scan result.
18
votes
8 answers

CLAMAV not working

After installation of CLAMAV and try to scan I see this error. How do I solve this? $ clamscan scan LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav ERROR: Can't open file or directory ----------- SCAN SUMMARY…
17
votes
2 answers

How to quarantine or delete infected files with ClamAV?

I scanned the home directory using ClamAV which found 13 threats. The list was also displayed, but when I tried to delete or quarantine files, it did not proceed. Any ideas?
Sivamani
  • 251
16
votes
3 answers

ClamAV : freshclam hangs and uses 100% CPU

I try to update the ClamAV database by running freshclam. The daily-*.cdiff is downloaded successfully, but then the process hangs. The CPU is maxed out at 100%, but the update just will not finish. I canceled the process with Ctrl+C after appr. 10…
user607329
14
votes
2 answers

How to stop automatic freshclam execution

I have the latest version of freshclam and clamav installed, and in the past (when I had Ubuntu 14.10) it has only run freshclam automatically a few times a day, but has not been running all the time. Now what I am finding though that if I go to…
user364819
14
votes
5 answers

ClamAV: clamd.ctl file is not getting created on ubuntu

I have ubuntu 16.04.6 version and I'm trying to install & run the clamdscan on it to check for antiviruses. I've used the installation instructions as given in their website. ie. sudo apt-get install clamav sudo apt-get install clamav-daemon The…
13
votes
2 answers

How to auto-scan any plugged in usb storage device with clamav?

I'd like to do an automatic virus scan on any plugged in usb device using ClamAV. I'm using Ubuntu 12.04. The closest thing I found was: Run clamav on mount of flashdrive How to run a shell script when a new USB storage device is detected? The…
ossi
  • 131
  • 1
  • 1
  • 3
12
votes
2 answers

How To Update ClamAV Installation?

When I execute sudo freshclam it gives me the following warnings: WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.99 Recommended version: 0.99.2 But sudo apt-get update and sudo apt-get upgrade don't seem to do the…
12
votes
1 answer

If I have clamav do I need to install rootkit hunter

So I have clamav the antivirus but is that a protection against rootkits or do I need to install rootkit hunter as well with clamav?
1
2 3
17 18