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
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
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@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

Reply via email to