The error appears when using the following command on openbsd. /usr/local/bin/clamdscan -c /etc/clamav/clamd.conf -m --fdpass -i -l /var/log/clamav/scan.log /archive Previous issues raised the case for other OSs.