[clamav-users] clamdscan "Can't get file status ERROR"
Roger Rutishauser
r.rutishauser at docuteam.ch
Wed Jun 23 11:46:47 UTC 2021
Thanks Ged and Andrew
> Hi there,
>
> On Mon, 21 Jun 2021, Andrew C Aitchison via clamav-users wrote:
> > On Mon, 21 Jun 2021, Roger Rutishauser wrote:
> >
> >> I'm using ClamAV 0.101.1/26207 with default clamd.config settings
(except
> >> for enhanced logging)
> >
> > Please update to the latest version 0.103.2 ...
>
> +1
done.
>
> >> I have a PDF (size: 2 GB, PUID fmt/478, PDF/A) which can not be scanned
>
> Even for a PDF file, 2Gbytes is pretty big. What is it?
>
> >> ... I don't know why. Maybe you could help me somehow? All the other
PDFs
> >> do not throw an error.
> >
> > You say the file is 2 GB.
> > There is a file size limit of 2GB - 2^31 bytes.
> > *Maybe* you are hitting that.
>
> The OP claims that, except for logging, he's using default settings.
> The default settings (at least as distributed on clamav.net) do not
> permit scanning files larger than 25 Mbytes. Please see the various
> 'Max...' options in the configuration file. They are well-covered in
> the documentation, which warns about setting limit values too high as
> it can cause problems. The warnings are a little draconian in my view
> but they are still warnings.
I changed the following in clamdscan.conf:
StreamMaxLength 3000M
MaxScanSize 3000M
MaxFileSize 3000M
> In any case make sure that the process which is trying to scan the
> file has the permissions which it needs to access it.
i checked that
Still, I'm getting the same error.
Command:
C:\....\clamAV>clamdscan c:\path\file.pdf
CMD Console Output:
C:\path\file.pdf: Can't get file status ERROR
----------- SCAN SUMMARY -----------
Infected files: 0
Total errors: 1
Time: 0.006 sec (0 m 0 s)
Start Date: 2021:06:23 13:42:40
End Date: 2021:06:23 13:42:40
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210623/df9dbf30/attachment.htm>
More information about the clamav-users
mailing list