Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
After installing clamav, when I attempt to update via freshclam, I get:
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!
and:
ls -l /etc/clamav/freshclam.conf
-rw-r--r-- 1 clamav adm 682 Mar 8 00:33 /etc/clamav/freshclam.conf
I found that freshclam is already installed by the software manager.
Is that why I can't manually update it?
Does:
-rw-r--r-- 1 clamav adm 682 Mar 8 00:33 /etc/clamav/freshclam.conf
say that it is up to date as of March 8?
Graeme
I used:
lsof /var/log/clamav/freshclam.log
to find which process is locking the file with nothing but a blinking cursor in response.
ls -l /etc/clamav/freshclam.conf
gets the same response as previously, so that just referred to the installation date.
No good if definitions can't be updated.
Firefox wouldn't be involved would it?
Graeme
freshclam doesn’t update the freshclam.conf file, so looking at its listing doesn’t tell us anything about the update.
lsof lists the open files used by a running program. The log file isn’t a program.
What does the log file say? The last entry in mine is
Code:
ClamAV update process started at Wed Mar 13 21:23:06 2024
daily.cld database is up-to-date (version: 27213, sigs: 2054946, f-level: 90, builder: raynman)
main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode.cld database is up-to-date (version: 335, sigs: 86, f-level: 90, builder: raynman)
Indicating that an update has run…
Frankly, I’m not sure what is running freshclam on my server. Probably a cron job I’m to lazy to look for right now…but the log file shows me that the update is running every three hours.
I ran lsof which gave a million entries but none re clamav.
How do I access the logfile.
I want what you've got. Regular updates and email and download checking.
Graeme
Clamav continues to be a mystery.
However it tells me:
clamav is already the newest version (0.103.11+dfsg-0ubuntu0.22.04.1).
How do I (know that I) get regular signature updates and set it to scan incoming emails and downloads?
Or can I assume that I'm safe using Linux Mint 2211.33 Virginia and don't need to bother?
Graeme
Sorry scasey. I couldn't find a way to make any of those work.
At first I gave up but then thought I should say I'm thinking that there is expertise assumed of me that I don't have.
I'm a fairly recent convert to Linux and loving it. Learning to use Terminal is a challenge.
Regards,
Graeme
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.