Hi,

Just comment the line NotifyClamd path-to-clamd.conf in freshclam.conf

[freshclam.conf]
.
.
# NotifyClamd ........


Re

El mié, 26 abr 2023 a las 13:21, Marc (<Marc@f1-outsourcing.eu>) escribió:

I am running freshclam in a build layer in docker to download default databases for the docker image. Obviously nothing else is installed at this stage.

apk add freshclam --no-cache
touch /etc/clamav/clamd.conf (added this, otherwise freshclam complained about it not existing)
freshclam

results in this error:

ERROR: NotifyClamd: No communication socket specified in /etc/clamav/clamd.conf
ERROR: Can't send to clamd: Not a socket


How do I execute freshclam and do not inform clamd? This used to be the default, it is sort of obvious that if the clamd.conf does not exist freshclam does not need to do anything.
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat