Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Rep:
Problem with ClamAV
My desktop using Linux Mint 19.2 cinnamon was slowing down so I thought I am being hacked so loaded clamav. When I did sudo freshclam this was the error message.
sudo freshclam
[sudo] password for me:
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
Clamav will not run either.
I installed a new Mint 19.2 on a new SSD and used a different internet connection over a mobile phone network to be sure I was using a different IP address.
The first thing I downloaded was ClamAV. It is exactly the same.
How can I find the process that has locked freshclam and stopped Clamav running?
Is there anything else I can do to check for virus or being hacked?
it doesn't necessarily mean you've been hacked; my guess is that clamav was already running either due to auto update or you otherwise invoked it . If that was the case that would explain already locked . Basically you can look into seeing what processes are
running , killing them and then running manually .
Tools to see if you have malware include rkhunter , chkrootkit
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by captain_sensible
it doesn't necessarily mean you've been hacked; my guess is that clamav was already running either due to auto update or you otherwise invoked it . If that was the case that would explain already locked . Basically you can look into seeing what processes are
running , killing them and then running manually .
No I had never run clamav on either of these hard drives so I suspect it has to do with 19.2 as it did work on earlier versions 18.3
Tools to see if you have malware include rkhunter , chkrootkit Thanks will try these.
My desktop using Linux Mint 19.2 cinnamon was slowing down so I thought I am being hacked so loaded clamav. When I did sudo freshclam this was the error message.
sudo freshclam
[sudo] password for me:
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
Clamav will not run either.
I installed a new Mint 19.2 on a new SSD and used a different internet connection over a mobile phone network to be sure I was using a different IP address.
The first thing I downloaded was ClamAV. It is exactly the same.
How can I find the process that has locked freshclam and stopped Clamav running?
Is there anything else I can do to check for virus or being hacked?
Thanks
first step, make sure the log file exists and is writable.
If not, create that file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.