Thanks for any consideration of the problem, but I found the solution.

sudo freshclam command is used for updating your antivirus database, which 
cannot be run while another instance (auto update) is already running.

Stop auto uptade process: sudo /etc/init.d/clamav-freshclam stop

Run manual update: sudo freshclam

Re-Start auto update process: sudo /etc/init.d/clamav-freshclam start

I found this on: 
https://askubuntu.com/questions/880253/sudo-freshclam-not-working-error-cant-open-var-log-clamav-freshclam-log-in-a#880282

Thanks again.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, July 2nd, 2021 at 1:06 PM, TH123 <[email protected]> wrote:

>> Attn: Clamav-users
>>
>> I'm having a problem with freshclam.
>>
>> $ sudo freshclam
>> WARNING: Ignoring deprecated option SafeBrowsing at 
>> /etc/clamav/freshclam.conf:22
>> 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!
>> $
>>
>> This happened after an OS update. I have Pop! OS (version of Ubuntu) and it 
>> is 20.04. Before the update, everything was working fine. I purged all files 
>> related to clamav and freshclam and reinstalled with no change.
>>
>> Any advice is appreciated.
_______________________________________________

clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to