cd /var/lib/clamav
check the file permission and user : ls -ltra
wget database.clamav.net/main.cvd
check the permission remain the same before
if the file is lock
ERROR: /var/log/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/freshclam.log).
sudo lsof /var/log/freshclam.log