ERROR: getpatch: Can't download daily-24428.cdiff from database.clamav.net

Problems with clamav happen quite regularly on Virtulmin servers and we are used to it, however today was massive failure on all Virtualmin servers we manage. The error is

ERROR: getpatch: Can't download daily-24428.cdiff from database.clamav.net

Running freshclam gives:

freshclam
ClamAV update process started at Wed Mar 28 22:01:27 2018
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
WARNING: getfile: daily-24428.cdiff not found on database.clamav.net (IP: 200.236.31.1)
WARNING: getpatch: Can't download daily-24428.cdiff from database.clamav.net
Trying host database.clamav.net (198.148.78.4)...
WARNING: getfile: Unknown response from database.clamav.net (IP: 198.148.78.4)
WARNING: getpatch: Can't download daily-24428.cdiff from database.clamav.net
Trying host database.clamav.net (12.167.151.1)...
Downloading daily-24428.cdiff [100%]
Downloading daily-24429.cdiff [100%]
daily.cld updated (version: 24429, sigs: 1891690, f-level: 63, builder: neo)
bytecode.cvd is up to date (version: 319, sigs: 75, f-level: 63, builder: neo)
[LibClamAV] Detected duplicate databases /var/lib/clamav/bytecode.cvd and /var/lib/clamav/bytecode.cld, please manually remove one of them
[LibClamAV] Detected duplicate databases /var/lib/clamav/main.cvd and /var/lib/clamav/main.cld, please manually remove one of them
Database updated (6458014 signatures) from database.clamav.net (IP: 12.167.151.1)

Would be really nice if Virtualmin sorted out ClamAv problems for all.

Status: 
Active

Comments

Assigned: Unassigned ยป

Passing this along to Joe for further review.

Looks like this error is coming from the clamav service?

awebsite4u, thanks for the solution(for now). That did it for me.

Hopefully we'll also can get update to Clamav itself in the virtualmin repo someday. For details, see this link: https://www.cloudmin.com/node/40300

That kind of temporary solutions are good if you have a server or couple. With managing Virtualmin servers on massive scale the issue becomes constant headache and should be properly dealt by Jamie once and for all.