[clamav-users] How to make freshclam to update existing files?

Mark Fortescue mark.lists at thurning-instruments.co.uk
Thu Jul 8 14:14:49 UTC 2021


Hi Michael,

How much free user disk space do you have ?

I had this sort of problem when I ran out of disk space.

The database files need to be uncompressed to apply the daily diffs so 
you need at least 3 Gig of user disk space free in the database directory.

Regards
	Mark.

On 08/07/2021 14:31, Michael Wang wrote:
> I am running the freshclam.exe like this:
> 
> PS C:\Users\m.wang> \\xxx\clamav\bin\freshclam.exe --datadir 
> \\xxx\clamav\bin\database
> 
> and I got the following error:
> 
> ERROR: updatedb: *Can't rename* 
> \\xxx\clamav\bin\database\tmp.78a757d3cf\clamav-57fd2bf1f4d6d423e4896f0ef3e97c52.tmp-daily.cvd 
> to daily.cv <http://daily.cv>
> d: *File exists*
> 
> I am thinking of removing the *.cvd files before running freshclam, but 
> is there an option to make freshclam to override the existing old *.cvd 
> files? Thanks.
> 
> Full log:
> 
> PS C:\Users\m.wang> \\xxx\clamav\bin\freshclam.exe --datadir 
> \\xxx\clamav\bin\database
> ClamAV update process started at Wed Jul  7 18:40:18 2021
> WARNING: Your ClamAV installation is OUTDATED!
> WARNING: Local version: 0.103.2 Recommended version: 0.103.3
> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
> daily database available for download (remote version: 26224)
> Time:   12.4s, ETA:    0.0s [========================>]  102.41MiB/102.41MiB
> Testing database: 
> '\\xxx\clamav\bin\database\tmp.78a757d3cf\clamav-57fd2bf1f4d6d423e4896f0ef3e97c52.tmp-daily.cvd' 
> ...
> Database test passed.
> ERROR: updatedb: Can't rename 
> \\xxx\clamav\bin\database\tmp.78a757d3cf\clamav-57fd2bf1f4d6d423e4896f0ef3e97c52.tmp-daily.cvd 
> to daily.cv <http://daily.cv>
> d: File exists
> ERROR: Unexpected error when attempting to update daily: Failed to 
> read/write file to database directory
> ERROR: Database update process failed: Failed to read/write file to 
> database directory
> ERROR: Update failed.
> 
> 
> _______________________________________________
> 
> clamav-users mailing list
> clamav-users at lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml
> 


More information about the clamav-users mailing list