Hi,
This broke clamav on our EC2 Centos7. It can’t start.
In order to try and start it manually I had to rename the database (main.cvd). Now I can run clamd as /usr/sbin/clamd -c /etc/clamd.d/scan.conf --nofork=yes
and it can start.
I still can’t run it from webmin though - I get this in /var/log/messages:
May 23 14:01:20 us systemd: Cannot add dependency job for unit firewalld.service, ignoring: Unit firewalld.service is masked.
May 23 14:01:20 us systemd: Starting Socket for Clam AntiVirus userspace daemon.
May 23 14:01:20 us systemd: Failed to chown socket at step USER: No such process
May 23 14:01:20 us systemd: clamav-daemon.socket control process exited, code=exited status=217
May 23 14:01:20 us systemd: Failed to listen on Socket for Clam AntiVirus userspace daemon.
May 23 14:01:20 us systemd: Dependency failed for Clam AntiVirus userspace daemon.
May 23 14:01:20 us systemd: Job clamav-daemon.service/start failed with result ‘dependency’.
May 23 14:01:20 us systemd: Unit clamav-daemon.socket entered failed state.
Looks like a firewall dependancy?
Also - not sure if that’s a problem local to our system, but when trying to update with freshclam the “Example” line wasn’t commented out in the conf, so that wouldn’t run either - commented it out freshclam can run now.
Not sure where to go from here to get clamav to run properly from webmi.
Christian