ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
ERROR: Failed to load new database: Malformed database
lattetah.toto


Joined: 09 Nov 2021
Posts: 0
Reply with quote
Hello.
I can't download the database update theses last days.
The error message claims "ERROR: Failed to load new database: Malformed database" .
I think there's no local problem.


Here's the complete rapport.
=======================================
ClamAV update process started at Tue Nov 09 11:52:57 2021
daily database available for update (local version: 26309, remote version: 26348)
Current database is 39 versions behind.
Downloading database patch # 26310...
Downloading database patch # 26311...
ERROR: cdiff_cmd_close: Not all DEL/XCHG have been executed
ERROR: cdiff_apply: Can't execute command CLOSE
ERROR: cdiff_apply: Error executing command at line 75
ERROR: downloadPatch: Can't apply patch
Downloaded 1 patches for daily, which is fewer than the 39 expected patches.
We'll settle for this partial-update, at least for now.
Testing database: 'C:\ProgramData\.clamwin\db\tmp.04a472dcde\clamav-f0b5c25cae979da8ea41b76d60088ba0.tmp-daily.cld' ...
[LibClamAV] **************************************************
[LibClamAV] *** The virus database is older than 7 days! ***
[LibClamAV] *** Please update it as soon as possible. ***
[LibClamAV] **************************************************
WARNING: [LibClamAV] cli_tgzload: File daily.ldb not correctly loaded
WARNING: [LibClamAV] Can't load C:\ProgramData\.clamwin\db\tmp.04a472dcde\clamav-f0b5c25cae979da8ea41b76d60088ba0.tmp-daily.cld: Malformed database
ERROR: Failed to load new database: Malformed database
WARNING: Database load exited with "Test failed"
ERROR: Database test FAILED.
ERROR: Unexpected error when attempting to update daily: Test failed
ERROR: Database update process failed: Test failed
ERROR: Update failed.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 9
Location: USA
Reply with quote
When this happens, you should delete every file that is in the ClamWin database signature folder. Before you do that, however, copy the files somewhere else in case this doesn't work so you will still have something. Then do a manual update of the signatures in the ClamWin preferences. Do the manual update a couple of times if there is no update.

If that doesn't work, just set ClamWin to do a hourly update and check to see if it is updated two or three hours later. There could be a problem on Clam AV's end. The Clam AV mirrors that send out the updates are kind of "touchy" and once in a while a mirror doesn't work. This always works for me if the manual update doesn't work.

Thanks for using ClamWin!

Regards,
View user's profileSend private message
lattetah.toto


Joined: 09 Nov 2021
Posts: 0
Reply with quote
Many thanks for the answer, that worked great for me too !

for my w10 the files were in the folder c:/Program Data /.clamwin
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 9
Location: USA
Reply with quote
I'm glad it worked. I have this problem once or twice a year--don't know why the database gets corrupted.

Regards, and thanks for using ClamWin!
View user's profileSend private message
ERROR: Failed to load new database: Malformed database
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic