[Clamav-users] LibClamAV Error: Can't load /usr/share/clamav/daily.cvd: Malformed database

2010-04-17 Thread Christian Gonzalez
Hi list,

As many, I've been affected by 0.94 EOL process. I successfully upgraded
Clamav to 0.96 version but I'm still suffering from not being able to use
it. I got this error:


# /usr/sbin/clamd
LibClamAV debug: Initialized 0.96 engine
LibClamAV debug: Initializing phishcheck module
LibClamAV debug: Phishcheck: Compiling regex: ^
*(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$
LibClamAV debug: Phishcheck module initialized
host triple is: i386-pc-linux-gnu
host cpu is: k8-sse3
LibClamAV debug: Loading databases from /usr/share/clamav
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 2f1ce7ba7428a368a5686f05fac71b7c
LibClamAV debug: cli_versig: Decoded signature:
2f1ce7ba7428a368a5686f05fac71b7c
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: daily.info loaded
LibClamAV debug: in cli_tgzload()
LibClamAV debug: daily.cfg loaded
LibClamAV debug: Initializing engine->root[0]
LibClamAV debug: Initialising AC pattern matcher of root[0]
LibClamAV debug: cli_initroots: Initializing BM tables of root[0]
LibClamAV debug: Initializing engine->root[1]
LibClamAV debug: Initialising AC pattern matcher of root[1]
LibClamAV debug: cli_initroots: Initializing BM tables of root[1]
LibClamAV debug: Initializing engine->root[2]
LibClamAV debug: Initialising AC pattern matcher of root[2]
LibClamAV debug: Initializing engine->root[3]
LibClamAV debug: Initialising AC pattern matcher of root[3]
LibClamAV debug: Initializing engine->root[4]
LibClamAV debug: Initialising AC pattern matcher of root[4]
LibClamAV debug: Initializing engine->root[5]
LibClamAV debug: Initialising AC pattern matcher of root[5]
LibClamAV debug: Initializing engine->root[6]
LibClamAV debug: Initialising AC pattern matcher of root[6]
LibClamAV debug: Initializing engine->root[7]
LibClamAV debug: Initialising AC pattern matcher of root[7]
LibClamAV debug: Initializing engine->root[8]
LibClamAV debug: Initialising AC pattern matcher of root[8]
LibClamAV debug: Initializing engine->root[9]
LibClamAV debug: Initialising AC pattern matcher of root[9]
LibClamAV debug: Loaded 117 filetype definitions
LibClamAV debug: daily.ftm loaded
LibClamAV debug: daily.db loaded
LibClamAV Error: cli_caloff: Offset string too long
LibClamAV Error: cli_bm_addpatt: Can't calculate offset for signature
Exploit.PDF-11591
LibClamAV Error: cli_loadmd5: Error adding BM pattern
LibClamAV Error: cli_loadmd5: Problem parsing database at line 1
LibClamAV Error: Can't load daily.hdb: Malformed database
LibClamAV Error: cli_tgzload: Can't load daily.hdb
LibClamAV Error: Can't load /usr/share/clamav/daily.cvd: Malformed database
ERROR: Malformed database
Closing the main socket

I searched a lot and followed some recommendations but none of them were
usefull. I tried deleting everything under /usr/share/clamav/ and ran
freshclam after that, it downloaded all virus db's but still receiving
this error.

I had to disable amavis-new and clamav in order to keep receiving my mails
but I would like to fix this.

My mailserver is running Slackware 12.1, using Postfix and Dovecot,
amavis-new, clamav and Spamassasin as filtering applications. It was
running smoothly for more than a year until now. I'm not a postmaster guru
so I'm pulling my hair trying to solve this.


Any help will be much appreciated.


Thanks and regards.

Christian Gonzalez

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] LibClamAV Error: Can't load /usr/share/clamav/daily.cvd: Malformed database

2010-04-17 Thread Christian Gonzalez
> Christian Gonzalez wrote:
>> Hi list,
>>
>> As many, I've been affected by 0.94 EOL process. I successfully upgraded
>> Clamav to 0.96 version but I'm still suffering from not being able to
>> use
>> it. I got this error:
>
> Hi Christian,
>
> please open a ticket at http://bugs.clamav.net
> Just copy/paste the info in your email and also state your zlib version
> and attach the problematic daily.cvd.
>
> Cheers,
> acab
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>


Hi acab,


Thanks for your quick response. I'll open a ticket.

Very appreciated!

Regards.
Christian Gonzalez

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] LibClamAV Error: Can't load /usr/share/clamav/daily.cvd: Malformed database

2010-04-19 Thread Christian Gonzalez
> Hi!
>
> Solved ... Here the details:
> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1950
>
> Thanks to Török Edwin, aCaB and the ClamAV Team!
>
> Upgrading zlib to 1.2.4 I've solved the problem,
>
> Regards
>
> ---
> Sim
>
> 2010/4/18 Christian Gonzalez :
>>> Christian Gonzalez wrote:
>>>> Hi list,
>>>>
>>>> As many, I've been affected by 0.94 EOL process. I successfully
>>>> upgraded
>>>> Clamav to 0.96 version but I'm still suffering from not being able to
>>>> use
>>>> it. I got this error:
>>>
>>> Hi Christian,
>>>
>>> please open a ticket at http://bugs.clamav.net
>>> Just copy/paste the info in your email and also state your zlib version
>>> and attach the problematic daily.cvd.
>>>
>>> Cheers,
>>> acab
>>> ___
>>> Help us build a comprehensive ClamAV guide: visit
>>> http://wiki.clamav.net
>>> http://www.clamav.net/support/ml
>>>
>>
>>
>> Hi acab,
>>
>>
>> Thanks for your quick response. I'll open a ticket.
>>
>> Very appreciated!
>>
>> Regards.
>> Christian Gonzalez
>>
>> ___
>> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
>> http://www.clamav.net/support/ml
>>
> ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
>

Hi,

I saw your resolution but upgrading to zlib 1.2.4 didn't work for me...

Thanks anyway!

Chris

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml