You are here

[Fixed] ClamWin Portable 0.99.4 definitions update failing

13 posts / 0 new
Last post
Artos
Offline
Last seen: 5 days 16 hours ago
Joined: 2009-11-12 13:00
[Fixed] ClamWin Portable 0.99.4 definitions update failing

I have been unable to update virus definitions for ClamWin since a couple weeks ago. Every attempt gives me the following.

ClamAV update process started at Tue Mar 09 04:48:30 2021
main.cvd is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
WARNING: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Tue Mar 09 04:48:35 2021
main.cvd is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
WARNING: Can't download daily.cvd from database.clamav.net
Trying again in 5 secs...
ClamAV update process started at Tue Mar 09 04:48:41 2021
main.cvd is up to date (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
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 j:\tempforportableapps\clamwinportabletemp\tmpwltqyw is working. Check http://www.clamav.net/doc/mirrors-faq.html for possible reasons.

I am running Windows 10 20H2.
Is anyone else having this problem? if not I will dig into things on my end.

getco
Offline
Last seen: 3 years 1 week ago
Joined: 2008-08-03 05:31
I am having the same issue.

I am having the same issue.

I remember years ago something similar happened, but how it was resolved I don't remember.

A temporary fix:

https://portableapps.com/comment/23299#comment-23299

pbr
Offline
Last seen: 5 months 3 weeks ago
Joined: 2009-06-21 09:23
ClamWin may now be abandonware

Here's what's going on: http://forums.clamwin.com/viewtopic.php?t=5227

To quote forum moderator GuitarBob's post, "Clam AV has dropped any version before 0.100.0. ClamWin uses the Clam AV database, but it can not be updated because the latest ClamWin verson is only 0.99.4, which was from about 2 years ago." There is a somewhat elaborate fix available to restore automatic downloads, but "...ClamWin appears to be an abandoned project..."

Abraxian
Offline
Last seen: 2 weeks 2 days ago
Joined: 2010-08-18 10:40
Same Problem -- But I worked out a fix (for now)

To do the fix do the following:

Get ClamWin Portable and Install the Latest ClamAV Files to It
(1) Download ClamWin from PortableApps and install it somewhere away from the ClamWin you normally use. For my purposes I have installed it to W:\ClamWinPortable -- you will need to adjust that path to suit whatever you have on your own computer.

(2) Goto the following webpage: https://oss.netfarm.it/clamav/ and download the 32bit build of the latest ClamAV (currently clamav-x86-0.103.0-r1.7z Mingw-w64 32bit build). Once downloaded unpack the file to a folder titled clamav-x86-0.103.0-r1 For my purposes I have unpacked it to the folder W:\clamav-x86-0.103.0-r1 -- you need to adjust that path to suit whatever you have on your own computer.

(3) In your ClamWinPortable setup drill to the folder W:\ClamWinPortable\App\clamwin\bin

(4) In a separate Window open the folder W:\clamav-x86-0.103.0-r1

(5) In the W:\clamav-x86-0.103.0-r1 folder select all the content except the two files titled clamav.reg and freshclam.conf. Now *copy* all the files you selected over into the W:\ClamWinPortable\App\clamwin\bin folder -- you will need to overwrite the files that already exist in there when prompted.

(6) Now that the copy is complete in the W:\ClamWinPortable\App\clamwin\bin folder open the file in there titled freshclam.conf in Notepad and delete ALL the text in that file. Now paste ALL of the following text into that Notepad window:


DatabaseDirectory ..\..\..\Data\db
DatabaseMirror database.clamav.net
DNSDatabaseInfo current.cvd.clamav.net
UpdateLogFile ..\..\..\Data\log\ClamScanLog.txt
LogVerbose yes
NotifyClamd .\ClamWin.conf
Foreground yes

Now save that Notepad file and close the Notepad window.

(7) Now launch the file: W:\ClamWinPortable\ClamWinPortable.exe And just follow the prompts to update the virus definition files. Note: that when the download of the definition files is happening the window will look strange to what you are used to; it will scroll an awful lot and if you click on the window you might get 'not responding notice', don't worry about this it is updating. If you drill to the folder: W:\ClamWinPortable\Data\db and watch there you will see that files are being created (though it all takes a bit of time so be patient). At the end of the update routine you should have three files in the 'db' folder, namely; bytecode; daily and main.

(8) Once it is updated you are ready to scan, though you might want to adjust your settings to those you prefer.

To Test If ClamWin Can Still Find Viruses
(1) Go to the following webpage: https://www.eicar.org/?page_id=3950 and read that page.

(2) Download the four virus test files offered there. To download them right-click on each link and select Save Link As...

(3) Now that you have the files downloaded just have ClamWin test them to see if they get identified as a viruses, they should be. All done, you now know that ClamWin is working.

P.S. How long this 'fix' for ClamWin will work is anyone's guess. If ClamAV alter the ClamAV engine in such a way that ClamWin can no longer interact with ClamAV properly then it will all turn to dust. So I would advise trying to contact ClamWin folks and ask, beg, demand an update for ClamWin. There is a ClamWin forum here: http://forums.clamwin.com/index.php So could maybe try and get a ClamWin update by requesting such there.

Hope this helps for now.

Use Portable Apps on both Flash Drive and HDD/SSD.

cbk
Offline
Last seen: 1 year 2 months ago
Joined: 2008-04-26 16:26
And i usually get my daily

And i usually get my daily.cvd file from the clam.av site. The main/daily/bytecode is not at all present in the download section. the problem is at the clam.av site as well. and I hope they don't abandon this tool as a whole.

getco
Offline
Last seen: 3 years 1 week ago
Joined: 2008-08-03 05:31
Does anyone know if there is

Does anyone know if there is something we can do to support the development of the app?

John T. Haller
John T. Haller's picture
Online
Last seen: 52 min 11 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 0.99.4.103

This issue is fixed in today's release. The updated 0.103.0 ClamAV components are bundled with the last ClamWin version. I used a modified version of what Abraxian mentions above (thanks!). Everything should work out of the box for both new and existing users. Definition updates work (but will result in long logs on screen showing download progress) and scanning works as well.

Sometimes, the impossible can become possible, if you're awesome!

Artos
Offline
Last seen: 5 days 16 hours ago
Joined: 2009-11-12 13:00
Thanks

I have been working a lot of overtime and have not had time to dig into the problem. Now that you have released the update i wont have to. Thanks again

VA1DER
VA1DER's picture
Offline
Last seen: 2 years 11 months ago
Joined: 2021-04-05 16:17
Context menu support

How do you get right-click context menu support with the portable version?

rolfkunst
Offline
Last seen: 2 years 11 months ago
Joined: 2021-04-29 05:24
There is an easier way to use

There is an easier way to use ClamWin, including context menu support.

Just install ClamWin from the original website (latest version)
Download the latest ClamAV Antivirus Native Win32 Port from this website: https://oss.netfarm.it/clamav/

Overwrite all files except the files mentioned above, clamav.reg and freshclam.conf

And run ClamWin, you can update the virusdatabase, you can scan for virusses, it is registred and starts with Windows, you can schedule scans, and use context menu scanning!

With regards

humpty
Offline
Last seen: 2 years 11 months ago
Joined: 2007-08-01 15:59
Fixed in 0.99.4.103

Both platform and solo downloads are still the old version today 0.99.4 instead of Fixed in 0.99.4.103.

Abraxian
Offline
Last seen: 2 weeks 2 days ago
Joined: 2010-08-18 10:40
Update Official Release Coming Soon

Thanks for the heads-up. Seems the updated version of ClamWin should be available first week of May 2021: https://www.clamwin.com/content/view/250/1/

Use Portable Apps on both Flash Drive and HDD/SSD.

Abraxian
Offline
Last seen: 2 weeks 2 days ago
Joined: 2010-08-18 10:40
ClamWin Free Antivirus 0.103.2 Released

This update should be a fix for the problems noted above. https://clamwin.com/content/view/251/1/

I've put a notice in the "Outdated Official Portable Applications" thread of the update already, so no need to do that. Just information here, need to wait on PortableApps doing the build and posting up the new portable version.

Use Portable Apps on both Flash Drive and HDD/SSD.

Log in or register to post comments