The clamav-daemon.service refuses to start with the problem: Unknown option ScanImage or Unknown option ScanImageFuzzyHash
Feb 04 17:31:52 debian-ecodms-Stegmann systemd[1]: clamav-daemon.service: Failed with result 'exit-code'.
Feb 04 17:31:52 debian-ecodms-Stegmann systemd[1]: Starting Clam AntiVirus userspace daemon...
Feb 04 17:31:52 debian-ecodms-Stegmann systemd[1]: Started Clam AntiVirus userspace daemon.
Feb 04 17:31:52 debian-ecodms-Stegmann clamd[3444]: ERROR: Parse error at /etc/clamav/clamd.conf:112: Unknown option ScanImage
Feb 04 17:31:52 debian-ecodms-Stegmann clamd[3444]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Feb 04 17:31:52 debian-ecodms-Stegmann systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 17:31:52 debian-ecodms-Stegmann systemd[1]: clamav-daemon.service: Failed with result 'exit-code'.
Feb 04 17:31:52 debian-ecodms-Stegmann systemd[1]: clamav-daemon.service: Start request repeated too quickly.
A bug exists in Warden 5.06 where the new ClamAV 1.4.0 ScanImage and ScanImageFuzzyHash options are being added to the /etc/clamav/clamd.conf but Debian 11 or 12 might only have ClamAV 1.07 installed.
The Fix is to upgrade ClamAV to 1.4.3
Manually upgrading to ClamAV to 1.4.3 will fix these errors and allow the ClamAV daemon to start again:
apt-get update
apt-get upgrade clamav clamav-base clamav-daemon clamav-freshclam
systemctl restart clamav-daemon