CPANEL-39889 - Cron <root@dashboard> /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
Hi,
We got this error when trying to update a clamav database. Any suggestions what we can do?
Cron /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
ERROR: getpatch: Can't download daily-26439.cdiff from database.clamav.net
ERROR: getfile: Unknown response from database.clamav.net (IP:
-
We have error too: [root@xxx ~]# /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings ERROR: getpatch: Can't download daily-26099.cdiff from database.clamav.net ERROR: Can't download daily.cvd from database.clamav.net 0 -
ClamAV update process started at Wed Feb 2 23:28:11 2022 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.101.5 Recommended version: 0.103.5 DON'T PANIC! Read Upgrading - ClamAV Documentation main.cvd is up to date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: Incremental update failed, trying to download daily.cvd WARNING: Can't download daily.cvd from database.clamav.net Trying again in 5 secs... WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.101.5 Recommended version: 0.103.5 DON'T PANIC! Read Upgrading - ClamAV Documentation main.cvd is up to date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: Incremental update failed, trying to download daily.cvd WARNING: Can't download daily.cvd from database.clamav.net Trying again in 5 secs... WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.101.5 Recommended version: 0.103.5 DON'T PANIC! Read Upgrading - ClamAV Documentation main.cvd is up to date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-26099.cdiff from database.clamav.net ERROR: getpatch: Can't download daily-26099.cdiff from database.clamav.net WARNING: Incremental update failed, trying to download daily.cvd ERROR: Can't download daily.cvd from database.clamav.net Giving up on database.clamav.net... Update failed. Your network may be down or none of the mirrors listed in /usr/local/cpanel/3rdparty/etc/freshclam.conf is working. Check Introduction - ClamAV Documentation for possible reasons. 0 -
@Boris Horvat - did you check the link I posted in my earlier reply? 0 -
Workaround There presently is no workaround for this issue. ? 0 -
That's correct - at this time there is not a fix for this issue. The existing ClamAV rules will continue to work, but they won't update properly. Our team is working on this issue now. 0 -
ok, thanks 0 -
I have this problem on one server too. Following... 0 -
Following too. 0 -
Seems they fixed this in 100.0.8. :) 0 -
We do have this fixed in versions 100 and 102. Our team is still working on a fix for 94LTS which we're hoping will be released soon. 0 -
Following also 0 -
We are running 100.0.9, and we are still seeing this issue on multiple servers 0 -
We are running 100.0.9, and we are still seeing this issue on multiple servers
Same here unfortunately still seeing the issue in 100.0.9 so does not appear fixed.0 -
There were some issues with the mirrors earlier today that would have caused odd behavior with the downloads. If you force another update, are you still seeing issues with machines in 100.0.9? 0 -
There were some issues with the mirrors earlier today that would have caused odd behavior with the downloads. If you force another update, are you still seeing issues with machines in 100.0.9?
Do you mean a upcp or an update to ClamAV, and if the latter what's the recommended way to do so? Thanks0 -
Unfortunately this did not resolve the issue, ClamAV remains on 0.102.2 and updates still failing with the cron email due to this, I will raise a ticket. 0 -
To update on a possible solution to this it appears the ClamAV version installed was not provided by cPanel, as I did not install this myself it seems most likely it was an old version of Imunify360 that installed this though it no longer uses it (source: How to disable ClamAV in Imunify360) Check for the non-cPanel version using: [root@host]# which clamscan /usr/bin/clamscan [root@host]# rpm -qf `which clamscan` clamav-0.102.2-4.el7.x86_64 [root@host]# clamscan -V ClamAV 0.102.2/26439/Mon Jan 31 09:24:40 2022
The cPanel version is called "cpanel-clamav" so if it's just "clamav" it's not provided by cPanel. The solution was to remove the ClamAV version installed:yum remove clamav
Then install the cPanel version via WHM -> Manage Plugins This then shows the cPanel version:[root@host]# /usr/local/cpanel/3rdparty/bin/clamscan -V ClamAV 0.104.0/26447/Tue Feb 8 09:28:24 2022
This appears to have resolved the issue, hope that helps anyone in the same situation.0 -
To update on a possible solution to this it appears the ClamAV version installed was not provided by cPanel, as I did not install this myself it seems most likely it was an old version of Imunify360 that installed this though it no longer uses it (source: yum remove clamav
Then install the cPanel version via WHM -> Manage Plugins This then shows the cPanel version:[root@host]# /usr/local/cpanel/3rdparty/bin/clamscan -V ClamAV 0.104.0/26447/Tue Feb 8 09:28:24 2022
This appears to have resolved the issue, hope that helps anyone in the same situation.
This seems to be the issue for us, as we had it on Immunify servers, not the "plain" servers. Thank you!0 -
This seems to be the issue for us, as we had it on Immunify servers, not the "plain" servers. Thank you!
Glad it helped, just a quick update as I noticed some orphaned clamav packages were left, to remove them you can use:yum remove clamav*
0 -
Glad it helped, just a quick update as I noticed some orphaned clamav packages were left, to remove them you can use:
yum remove clamav*
Seems like instailling through plugins fixed that automatically here. I had a few left overs as you mention, e.g. a clamav-data and a few others, but after installing the cpanel clamav, it removed the others during the install. So no extra cleanup required here.0
Please sign in to leave a comment.
Comments
24 comments