I am currently having an issue with ClamAV and freshclam on Centos 6.9.
I have the last Clam engine 0.99.2, and a working internet connection.
Even if I run the # freshclam -v
command ( it only returns a security warning about unsecure permission of freshclam.conf) before a # clamscan
, clamAV return me this warning :
LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days. ***
LibClamAV Warning: *** Please update it IMMEDIATELY! ***
LibClamAV Warning: **************************************************
So my questions are : how can I know when the last update was done ? Or make sure the virus database is up-to-date ?
PS : I've tested the clamscan with eicar test file and it detects it.
/var/log/clamav/freshclam.log
and look for the string - "ClamAV update process started" - at the end of this file. This will show you when ClamAV was last updated on the system. – Disgust