kylefarris / clamscan

A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
236 stars 69 forks source link

Clamdscan throwing error on local run #77

Closed I2olanD closed 3 years ago

I2olanD commented 3 years ago

Hey,

currently i'm building a node express server which is currently just running locally. When i try to scan a file / folder it always resolves into an error:

----------- SCAN SUMMARY ----------- Infected files: 0 Total errors: 1 Time: 0.000 sec (0 m 0 s) Start Date: 2021:09:21 16:45:55 End Date: 2021:09:21 16:45:55 FAIL: 2

cmd: /usr/local/bin/clamdscan --no-summary --fdpass --remove --config-file=./config/clamd.dev.conf --multiscan ./clamav/test.png'

Using MacOS Big Sur

Any experience on this and how i can fix this for local testing? Thanks in advance :)