Hi,
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of peter Sent: Friday, April 30, 2004 12:05 PM To: [EMAIL PROTECTED] Subject: [Clamav-users] malformed pattern
Hi, I have problem with clamav 0.70 stable. Malformed patter line 13898 (file /var/spool/qmailscan/tmp/....../viruses.db) Incomplete block read cli_cvdload(): Can't unpack CVD file CVD extraction failure
This problem I see just with clamscan. I tried scan (by qmail-scanner) with clamd/clamdscan and this problem did not appear.
I deleted .cvd files and ran freshclam again, but it did not help. I saw somewhere that clamdscan uses internal (lib) unrar routine and clamdscan does not know to use external unrar3.x. And I want to check rar files too. If I understand it, then i have to use clamscan with "--unrar" option to scan rar files. Is it correct.
Are you still using old style .db files? These can be removed in favor of the newer .cvd files.
Jim
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users
As I wrote I am using .cvd files already. I installed clamav 0.70 stable 4 days ago. After istallation I removed .cvd files and ran freshclam few times again (I was thinking that perhaps .cvd files are incorrectly downloaded or something like this). I googled somewhat and found here: "http://www.mail-archive.com/[EMAIL PROTECTED]/msg02282.html" this:
.........
I was getting plenty of error messages like this:
28/08/2003 10:10:13:3361: --output of clamscan was:
LibClamAV Error: cli_calloc(): Can't allocate memory (98 bytes).
calloc_problem: Cannot allocate memory
LibClamAV Error: readdb(): Malformed pattern line 8706 (file
/usr/local/share/clamav/viruses.db).
ERROR: Malformed database.
--
28/08/2003 10:10:13:3361: tempfail: X-Qmail-Scanner-1.16: clam_scanner: corrupt or
unknown ClamAV scanner error or memory/resource/perms problem - exit status 50
If you are getting similar permutations on this theme the clamd/clamdscan pairing may
be the way to go for you.
Author: Steve Crowder E-mail: steve (at) crowders (dot) org Date: 28/08/2003 .........
But there is no explanation why to use clamd/clamdscan and what is wrong or how to fix problem with clamscan.
Thanks.
Peter
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users