You are here

ClamWin: Trouble getting "incremental" update of the daily

Tim Clark's picture
Submitted by Tim Clark on June 20, 2010 - 3:34pm

I'm having a problem updating and would like to see if it's a "just me" situation or if anyone else is having a problem.

Does anyone know what this means

Hint: The database directory must be writable for UID 0 or GID 0

My problem seems to be with getting the incremental update, it fails and so has to download the full daily.cvd instead of patching it to become daily.cld, which means dowloading 2 MBs as opposed to a few KBs, or 6 minutes as opposed to a few seconds on a modem.

This has happened to me 4 times.

I have my copy of CWP .095.3 in the same directory and it updates fine.

Could it be that new CW does not like the length of the path? [see full path below]
If I move the New version to a different directory it works fine, but as I said the older version seems to have no problem with it's location.

Any help would be appreciated, as I am very confused

Here is the full update message:

ClamAV update process started at Sat Jun 19 21:15:53 2010
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
Trying host (
ERROR: getfile: Can't create new file .\clamav-2c45318810925a8efe6f2ed5fc85f90b.00000108.clamtmp in 
C:\Documents and Settings\Tim\My Documents\Timp\Downloaded\EmergencyStuff\ClamWinPortable\Data\db\clamav-4c43a669a1482ec2b240c28727e5eed1.00000108.clamtmp\clamav-8fad4cc4a7621cc45c3f9ddeaf98a469.00000108.clamtmp

Hint: The database directory must be writable for UID 0 or GID 0   

[edit: oh, and I'm XPSP3 fully patched, Admin, 1G ram]


Here's what I tried
I moved the ClamWinPortable dir to:
C:\Documents and Settings\Tim\My Documents\Timp\Downloaded\HappyTown\ClamWinPortable

Still no joy, when I counted the length of the path AND the length of directory it, CWP, wanted to create AND the length of the file it wanted to create I got a number something like 261 characters.

Now I know that 256 is a magic number in Windows sometimes when it comes to paths, so I renamed ...\HappyTown\ to ...\H\ and tried the update again,


So, it would SEEM that the new version of CW does not deal with very long directory structure [at least not in number of characters] as well as the older versions did.

This might have something to do with what John mentioned to me the other day, that CW .096.1 no longer deals with relative paths, so I guess it now uses absolute paths.

Bummer, not sure if there's anything that can be done about this.


Things have got to get better, they can't get worse, or can they?

there was an issue in the past with clamwin and upgrading when it was in a directory with spaces. i dont know how they fixed that but that has caused me some massive headaches with some of my recent tinkerings.