clamd.amavisd Fails to start on CentOS

Matt asked:

I have set up a CentOS cloud server but I am having issues getting clamd amavisd to run, when I call:

/etc/init.d/clamd.amavisd start

I get the following error:

Starting clamd.amavisd: /etc/init.d/functions: line 188:  2414 Killed $cgroup $nice /bin/bash -c "$corelimit >/dev/null 2>&1 ; $*"

I followed the installation guide as can be seen here:

Any help to resolve this would be massively appreciated.

My answer:

Looks like you ran out of memory. This is typically what Killed means in this context. You can confirm it by checking /var/log/messages.

The setup you linked to will not fit into a 512MB RAM (or EC2 micro) virtual machine. You will have to cut a few things out, or use a larger virtual machine.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.