Linux Lite Forums

Software - Support => Installing Software => Topic started by: f23948 on March 29, 2022, 09:59:27 PM

Title: antivirus question
Post by: f23948 on March 29, 2022, 09:59:27 PM
is that looks ok?
Code: [Select]
Welcome to Linux Lite 5.8 <user_name>
 
Tuesday 29 March 2022, 18:53:07
Memory Usage: 1329/7899MB (16.82%)
Disk Usage: 13/457GB (3%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
 <user_name>  ~  sudo apt-get install clamav clamav-daemon
[sudo] password for <user_name>:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  clamav-base clamav-freshclam clamdscan libclamav9 libtfm1
Suggested packages:
  libclamunrar clamav-docs daemon libclamunrar9
The following NEW packages will be installed:
  clamav clamav-base clamav-daemon clamav-freshclam clamdscan libclamav9
  libtfm1
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,421 kB of archives.
After this operation, 5,373 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 clamav-base all 0.103.5+dfsg-1~20.04.1 [78.2 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libtfm1 amd64 0.13-4 [57.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libclamav9 amd64 0.103.5+dfsg-1~20.04.1 [838 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 clamav-freshclam amd64 0.103.5+dfsg-1~20.04.1 [67.2 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 clamav amd64 0.103.5+dfsg-1~20.04.1 [127 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 clamav-daemon amd64 0.103.5+dfsg-1~20.04.1 [203 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 clamdscan amd64 0.103.5+dfsg-1~20.04.1 [51.2 kB]
Fetched 1,421 kB in 1s (1,637 kB/s)
Preconfiguring packages ...
Selecting previously unselected package clamav-base.
(Reading database ... 343951 files and directories currently installed.)
Preparing to unpack .../0-clamav-base_0.103.5+dfsg-1~20.04.1_all.deb ...
Unpacking clamav-base (0.103.5+dfsg-1~20.04.1) ...
Selecting previously unselected package libtfm1:amd64.
Preparing to unpack .../1-libtfm1_0.13-4_amd64.deb ...
Unpacking libtfm1:amd64 (0.13-4) ...
Selecting previously unselected package libclamav9:amd64.
Preparing to unpack .../2-libclamav9_0.103.5+dfsg-1~20.04.1_amd64.deb ...
Unpacking libclamav9:amd64 (0.103.5+dfsg-1~20.04.1) ...
Selecting previously unselected package clamav-freshclam.
Preparing to unpack .../3-clamav-freshclam_0.103.5+dfsg-1~20.04.1_amd64.deb ...
Unpacking clamav-freshclam (0.103.5+dfsg-1~20.04.1) ...
Selecting previously unselected package clamav.
Preparing to unpack .../4-clamav_0.103.5+dfsg-1~20.04.1_amd64.deb ...
Unpacking clamav (0.103.5+dfsg-1~20.04.1) ...
Selecting previously unselected package clamav-daemon.
Preparing to unpack .../5-clamav-daemon_0.103.5+dfsg-1~20.04.1_amd64.deb ...
Unpacking clamav-daemon (0.103.5+dfsg-1~20.04.1) ...
Selecting previously unselected package clamdscan.
Preparing to unpack .../6-clamdscan_0.103.5+dfsg-1~20.04.1_amd64.deb ...
Unpacking clamdscan (0.103.5+dfsg-1~20.04.1) ...
Setting up libtfm1:amd64 (0.13-4) ...
Setting up libclamav9:amd64 (0.103.5+dfsg-1~20.04.1) ...
Setting up clamav-base (0.103.5+dfsg-1~20.04.1) ...
id: ‘clamav’: no such user
Setting up clamav-freshclam (0.103.5+dfsg-1~20.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/clamav-freshclam.service → /lib/systemd/system/clamav-freshclam.service.
Setting up clamdscan (0.103.5+dfsg-1~20.04.1) ...
Setting up clamav-daemon (0.103.5+dfsg-1~20.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/clamav-daemon.service → /lib/systemd/system/clamav-daemon.service.
Setting up clamav (0.103.5+dfsg-1~20.04.1) ...
Processing triggers for systemd (245.4-4ubuntu3.15) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
 <user_name>  ~  sudo freshclam
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!
 <user_name>  ~  2  sudo rm -rf /var/log/clamav/freshclam.log
 <user_name>  ~  sudo freshclam
Tue Mar 29 18:54:16 2022 -> ClamAV update process started at Tue Mar 29 18:54:16 2022
Tue Mar 29 18:54:16 2022 -> daily.cvd database is up-to-date (version: 26496, sigs: 1976909, f-level: 90, builder: raynman)
Tue Mar 29 18:54:16 2022 -> main database available for download (remote version: 62)
Time:   28.8s, ETA:    0.0s [========================>]  162.58MiB/162.58MiB
Tue Mar 29 18:54:48 2022 -> Testing database: '/var/lib/clamav/tmp.4d268b3ce8/clamav-890343f73b2f43bac945c32707b6d6cf.tmp-main.cvd' ...
Tue Mar 29 18:54:54 2022 -> Database test passed.
Tue Mar 29 18:54:54 2022 -> main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Tue Mar 29 18:54:54 2022 -> bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)
Tue Mar 29 18:54:54 2022 -> ^Clamd was NOT notified: Can't connect to clamd through /var/run/clamav/clamd.ctl: No such file or directory
 <user_name>  ~  sudo clamscan -r -i / | grep FOUND >> /home/youruser/virus-scan-report.txt
bash: /home/youruser/virus-scan-report.txt: No such file or directory

^C
 <user_name>  ~  130  1 

Title: Re: antivirus question
Post by: f23948 on March 29, 2022, 10:08:40 PM
update
i changed from youruser to my user name and i got it working
Title: Re: antivirus question
Post by: firenice03 on March 30, 2022, 11:56:07 AM
@f23948

Good to see you fix it.. Always the simple things LOL ....