New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Clamav and freshclam database update error

Started by cpanel_leaver, August 01, 2021, 11:53:34 AM

Previous topic - Next topic

cpanel_leaver

After updating to centos-release-7-9.2009.1.el7.centos.x86_64 and CWPpro version: 0.9.8.1078
I received mails with erros from this script: Cron <root@server> /usr/share/clamav/freshclam-sleep > /dev/null

ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
ERROR: downloadPatch: Can't apply patch
ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
ERROR: downloadPatch: Can't apply patch


It seems related to this issue from Clamav: https://blog.clamav.net/2021/07/psa-freshclam-database-download-issue.html

They suggest this solution:
If you are experiencing this same issue, the simplest solution is to delete your signature databases from /var/lib/clamav. Then, make sure your FreshClam configuration in /etc/clamav/freshclam.conf either has the ReceiveTimeout option set sufficiently high (E.g. 300 seconds). Alternatively, users can remove the ReceiveTimeout option entirely to disable the timeout.

After making these changes, you may re-enable your FreshClam service or run freshclam manually and you should find that it is working correctly again.

Just sharing this info