You are Here:
Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.



installing Clam av on my linux

Author (Read 1008 times)

0 Members and 1 Guest are viewing this topic.

installing Clam av on my linux
« on: October 12, 2017, 12:30:38 AM »
 

cesar94

  • New to Forums
  • *
  • 11
    Posts
  • Country: ar
  • Reputation: 3
  • Linux lite beginner

  • Linux Lite: 3.6 32bit

  • CPU: AMD Phenom ll X2 3.6 Ghz

  • MEMORY: 8Gb

  • VIDEO CARD: N-vidia G force 670
Hello to everybody, i'm Cesar and i installed Linux Lite 2 months ago, it's very useful for me because i migrated from windows ( from 95 to 7, i hate the news versions) decided start with this OS for start using a simple version that reminds me the xp.

Anyway, i was reading and i saw videos to install an antivirus in Linux, maybe i don't need it, i know, but i prefer be prevent for any case, so i downloaded  the Clam av antivirus, i put the command "sudo apt-get update && sudo apt-get upgrade -y" everything normal at this point, but when i decide scan a directory , in my case "sudo clamscan -r /home/cesar" i get this message:

----------- SCAN SUMMARY -----------
Known viruses: 0
Engine version: 0.99.2
cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo clamscan -r home/cesar/downloads
home/cesar/downloads: No such file or directory
WARNING: home/cesar/downloads: Can't access file

----------- SCAN SUMMARY -----------
Known viruses: 4566249
Engine version: 0.99.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 8.133 sec (0 m 8 s)
cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo apt-get install clamav clamav-daemon -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
clamav is already the newest version (0.99.2+dfsg-0ubuntu0.16.04.2).
clamav-daemon is already the newest version (0.99.2+dfsg-0ubuntu0.16.04.2).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra efibootmgr libefivar0 libgles1-mesa libllvm3.8 libmircommon5 linux-headers-4.4.0-70 linux-headers-4.4.0-70-generic
  linux-image-4.4.0-70-generic linux-image-extra-4.4.0-70-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo clamscan -r home/cesar
home/cesar: No such file or directory
WARNING: home/cesar: Can't access file
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 0.010 sec (0 m 0 s)

this is weird for me, so i downloaded a minor infected file,i updated the freshclam with #freshclam, and i type again  "sudo clamscan -r /home/cesar/downloads"(there is the infected file)
and this message appears:

cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).

WHY? i don't know, and when i try again a new scan this  appears:

cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo clamscan -r home/cesar/downloads
home/cesar/downloads: No such file or directory
WARNING: home/cesar/downloads: Can't access file

----------- SCAN SUMMARY -----------
Known viruses: 4566249
Engine version: 0.99.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 8.133 sec (0 m 8 s)
cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo apt-get install clamav clamav-daemon -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
clamav is already the newest version (0.99.2+dfsg-0ubuntu0.16.04.2).
clamav-daemon is already the newest version (0.99.2+dfsg-0ubuntu0.16.04.2).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra efibootmgr libefivar0 libgles1-mesa libllvm3.8 libmircommon5 linux-headers-4.4.0-70 linux-headers-4.4.0-70-generic
  linux-image-4.4.0-70-generic linux-image-extra-4.4.0-70-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$ sudo clamscan -r home/cesar
home/cesar: No such file or directory
WARNING: home/cesar: Can't access file[/color]

i know something is wrong, can someone help me?

thanks for your time reading this, and pardon me if i'm a noob, all this it's new for me  :P

thank you :D
 


Re: installing Clam av on my linux
« Reply #1 on: October 12, 2017, 12:43:46 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7017
    Posts
  • Country: nz
  • Reputation: 651
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
The correct directory path is:

Code: [Select]
sudo clamscan -r /home/cesar/Downloads
 

Re: installing Clam av on my linux
« Reply #2 on: October 12, 2017, 01:15:50 AM »
 

cesar94

  • New to Forums
  • *
  • 11
    Posts
  • Country: ar
  • Reputation: 3
  • Linux lite beginner

  • Linux Lite: 3.6 32bit

  • CPU: AMD Phenom ll X2 3.6 Ghz

  • MEMORY: 8Gb

  • VIDEO CARD: N-vidia G force 670
great! it works!, now i got this

----------- SCAN SUMMARY -----------
Known viruses: 6312739
Engine version: 0.99.2
Scanned directories: 228
Scanned files: 3236
Infected files: 5
Data scanned: 157.99 MB
Data read: 692.02 MB (ratio 0.23:1)
Time: 42.070 sec (0 m 42 s)
cesar@cesar-N68S3:~/Downloads/clamav-0.99.2$

now how to use those 5 infected files? i know only 1 is is infected by me, but what a surprise !!
maybe using sudo clamav kill, or something else...

thank you :D
 

Re: installing Clam av on my linux
« Reply #3 on: October 12, 2017, 04:32:24 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7017
    Posts
  • Country: nz
  • Reputation: 651
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
Right click on them, Delete.
 


 


Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.