Topic: clamd(clam-daemon) not starting
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Debian 8 Jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apacje 2.4
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====
redacted the FQDN and inserted mailserver instead.
after running some security updates on debian Clamac-daemon stopped working, I had to comment out AllowSupplementaryGroups in the /etc/clamav/clamd.conf to get it working again.
Here the status before I commented it out:
service clamav-daemon status
● clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled)
Active: failed (Result: exit-code) since Fri 2016-06-24 08:33:09 CEST; 5min ago
Docs: man:clamd(8)
man:clamd.conf(5)
http://www.clamav.net/lang/en/doc/
Process: 2041 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE)
Main PID: 2041 (code=exited, status=1/FAILURE)
Jun 24 08:33:09 mailsever clamd[2041]: ERROR: Parse error at line 11: Unknown option AllowSupplementaryGroups
Jun 24 08:33:09 mailserver clamd[2041]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Jun 24 08:33:09 mailserver systemd[1]: clamav-daemon.service: main process exited, code=exited, status=1/FAILURE
Jun 24 08:33:09 mailserver systemd[1]: Unit clamav-daemon.service entered failed state.
And heres the status afterwards:
ervice clamav-daemon status
● clamav-daemon.service - Clam AntiVirus userspace daemon
Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled)
Active: active (running) since Fri 2016-06-24 08:39:53 CEST; 1s ago
Docs: man:clamd(8)
man:clamd.conf(5)
http://www.clamav.net/lang/en/doc/
Main PID: 2218 (clamd)
CGroup: /system.slice/clamav-daemon.service
└─2218 /usr/sbin/clamd --foreground=true
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.