clamscan icon indicating copy to clipboard operation
clamscan copied to clipboard

node-clam: Could not verify the clamdscan binary

Open iUnstable0 opened this issue 2 years ago • 2 comments

I got this output

[03:26:23.360] [log] node-clam: DEBUG MODE ON
[03:26:23.373] [log] node-clam: Could not verify the clamdscan binary. {"code":2,"killed":false,"signal":null,"cmd":"/opt/homebrew/bin/clamscan --version --config-file=/opt/homebrew/etc/clamav/clamd.conf","stdout":"","stderr":"/opt/homebrew/bin/clamscan: unrecognized option `--config-file=/opt/homebrew/etc/clamav/clamd.conf'\nERROR: Unknown option passed\nERROR: Can't parse command line options\n"}

Im on macos and I have clamav installed and the config file path is valid

iUnstable0 avatar Feb 16 '23 03:02 iUnstable0

Looks like it might be an issue with Homebrew's version of ClamAV potentially having a different set of command line options than Linux (specifically the --confile-file option. I'll take a look real quick.

kylefarris avatar Mar 18 '24 17:03 kylefarris

I'm having no issues running this on my M2 Pro Mac running Sonoma and clamav v1.3.0. You may have something misconfigured.

kylefarris avatar Mar 18 '24 19:03 kylefarris