Page 1 of 1

Clamav wont start

Posted: Tue Jun 21, 2016 12:22 am
by misterpat
Switched to Debian to make use of rssh. But Clamav will not start.

Code: Select all

root@domain:~# /etc/init.d/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 Mon 2016-06-20 20:16:12 EDT; 3s ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           http://www.clamav.net/lang/en/doc/
  Process: 8507 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE)
 Main PID: 8507 (code=exited, status=1/FAILURE)

Jun 20 20:16:12 domain systemd[1]: Starting Clam AntiVirus userspace daemon...
Jun 20 20:16:12 domain systemd[1]: Started Clam AntiVirus userspace daemon.
Jun 20 20:16:12 domain clamd[8507]: ERROR: Parse error at line 11: Unknown option AllowSupplementaryGroups
Jun 20 20:16:12 domain clamd[8507]: ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Jun 20 20:16:12 domain systemd[1]: clamav-daemon.service: main process exited, code=exited, status=1/FAILURE
Jun 20 20:16:12 domain systemd[1]: Unit clamav-daemon.service entered failed state.

Re: Clamav wont start

Posted: Tue Jun 21, 2016 9:23 am
by skurudo

Code: Select all

ERROR: Can't open/parse the config file /etc/clamav/clamd.conf
Why? Do you have this file?

Code: Select all

ls -la /etc/clamav/clamd.conf

Re: Clamav wont start

Posted: Tue Jun 21, 2016 1:23 pm
by misterpat
Permissions where wrong, i guess. I changed ownership to clamav.

Code: Select all

root@domain:~# ls -la /etc/clamav/clamd.conf
-rwxrwxr-x 1 clamav clamav 1543 Jun 20 20:23 /etc/clamav/clamd.conf
I commented out "AllowSupplementaryGroups"

And it started. Is that ok? I'm on Debian 8.