clamav-users November 2010 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] corrupt or unknown clamd scanne

Re: [Clamav-users] corrupt or unknown clamd scanner error or memory/resource/perms problem

From: Török Edwin <edwintorok_at_nospam>
Date: Thu Nov 18 2010 - 09:49:11 GMT
To: Cristina Tanzi Tolenti <cristina.tanzitolenti@provincia.cremona.it>

On Thu, 18 Nov 2010 10:09:22 +0100
Cristina Tanzi Tolenti <cristina.tanzitolenti@provincia.cremona.it>
wrote:

> Il 17/11/2010 16:25, Török Edwin ha scritto:
> > On Wed, 17 Nov 2010 16:20:26 +0100
> > Cristina Tanzi Tolenti<cristina.tanzitolenti@provincia.cremona.it>
> > wrote:
> >
> >> Il 17/11/2010 15:40, Török Edwin ha scritto:
> >>> On Wed, 17 Nov 2010 15:11:37 +0100
> >>> Cristina Tanzi Tolenti<cristina.tanzitolenti@provincia.cremona.it>
> >>> wrote:
> >>>
> >>>> Hi!
> >>>>
> >>>> I am using qmail+qmailscanner and I am getting clamdscan: corrupt
> >>>> or unknown clamd scanner error or memory/resource/perms problem
> >>>> when I send a pdf file. If I set ScanPDF no I don't have the
> >>>> problem...WHY???
> >>> Does this patch help?
> >>> http://git.clamav.net/gitweb?p=clamav-devel.git;a=blobdiff;f=libclamav/pdf.c;h=6ff503f756ca68e90a294e7ef31078de261ea847;hp=af852ecd16aa8b16409be33672febe5eb3e3d2a7;hb=a95d300f6b66d3354ebb86923f178c919ed86bb1;hpb=b93481dd06838228ea44b7e336e14e8aa6abec75
> >>>
> >>> Best regards,
> >>> --Edwin
> >>>
> >> Thank you very much ..... I'm newbie....how to apply this patch??
> >>
> > $ cd /path/to/clamav/source
> > $ wget
> > "http://git.clamav.net/gitweb?p=clamav-devel.git;a=blobdiff_plain;f=libclamav/pdf.c;h=6ff503f756ca68e90a294e7ef31078de261ea847;hp=af852ecd16aa8b16409be33672febe5eb3e3d2a7;hb=a95d300f6b66d3354ebb86923f178c919ed86bb1;hpb=b93481dd06838228ea44b7e336e14e8aa6abec7"
> > -O pdf.patch
> > $ patch -p1< pdf.patch
> > $ make
> > # make install
> >
> > Best regards,
> > --Edwin
> >
> Unfortunately the patch don't help ..... :-(
> I have the same error .... clamd.log Can't write to file ERROR and
> maillog.log clamdscan: corrupt or unknown clamd scanner error or
> memory/resource/perms problem

Then that is a different problem.
Do you have enough space on /tmp?
Can you run 'clamscan pdffile.pdf', and tell us what error it outputs?

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml