... Jan 11 06:09:44 leonix clamd[3561]: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied Jan 11 06:09:44 leonix systemd[1]: clamd.service: control process exited, code=exited status=1 Jan 11 06:09:44 leonix systemd[1]: Failed to start Generic ClamAV scanner daemon. Jan 11 06:09:44 leonix systemd[1]: Unit clamd.service entered failed state. Jan 11 06:09:44 leonix systemd[1]: clamd.service holdoff time over, scheduling restart. Jan 11 06:09:44 leonix systemd[1]: Stopping Generic ClamAV scanner daemon... Jan 11 06:09:44 leonix systemd[1]: Starting Generic ClamAV scanner daemon... Jan 11 06:09:49 leonix clamd[3565]: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied Jan 11 06:09:49 leonix systemd[1]: clamd.service: control process exited, code=exited status=1 Jan 11 06:09:49 leonix systemd[1]: Failed to start Generic ClamAV scanner daemon. Jan 11 06:09:49 leonix systemd[1]: Unit clamd.service entered failed state. Jan 11 06:09:49 leonix systemd[1]: clamd.service holdoff time over, scheduling restart. Jan 11 06:09:49 leonix systemd[1]: Stopping Generic ClamAV scanner daemon... Jan 11 06:09:49 leonix systemd[1]: Starting Generic ClamAV scanner daemon... Jan 11 06:09:54 leonix clamd[3569]: ERROR: LOCAL: Socket file /run/clamav/clamd.sock could not be bound: Permission denied ## sometime here I run # chown amavis:amavis /run/clamav/ -R ## and it works... Jan 11 06:09:54 leonix systemd[1]: clamd.service: control process exited, code=exited status=1 Jan 11 06:09:54 leonix systemd[1]: Failed to start Generic ClamAV scanner daemon. Jan 11 06:09:54 leonix systemd[1]: Unit clamd.service entered failed state. Jan 11 06:09:54 leonix systemd[1]: clamd.service holdoff time over, scheduling restart. Jan 11 06:09:54 leonix systemd[1]: Stopping Generic ClamAV scanner daemon... Jan 11 06:09:54 leonix systemd[1]: Starting Generic ClamAV scanner daemon... Not sure, maybe it's my mistake, but it's weird, when failing and restarting endlessly again. I'll check this today later, too exhausted today... Reproducible: Always
How your tests ended? :/
I think it worked for while somehow (after reboot) and then after some time I removed clamav.