I’ve just installed Centos 7 with Vitualmin and immediately dovecot was not running. So I reinstalled a fresh Centos 7 and did a clean install and I had the same problem. When I checked the mail log the error is… dovecot “Warning: Killed with signal 15”.
Can someone suggest how I might be able to resolve it?
Could be the OOM killer (though I thought that would be a signal 9, but maybe it tries to kill it politely first, I dunno). Do you have enough memory? If you’re handling mail, especially if you’re using ClamAV, you need a lot more memory than a web only system. ClamAV, by itself, needs ~1GB.
[root@server1 ~]# /bin/systemctl restart dovecot.service
Job for dovecot.service failed because the control process exited with error code. See “systemctl status dovecot.service” and “journalctl -xe” for details.
[root@server1 ~]# journalctl -lxe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dovecot.service has failed.
--
-- The result is failed.
Apr 10 05:34:54 server1 systemd[1]: Unit dovecot.service entered failed state.
Apr 10 05:34:54 server1 systemd[1]: dovecot.service failed.
Apr 10 05:35:01 server1 systemd[1]: Started Session 290798 of user root.
-- Subject: Unit session-290798.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-290798.scope has finished starting up.
--
[root@server1 ~]# pkill -9 dovecot
[root@server1 ~]# systemctl start dovecot
Job for dovecot.service failed because a timeout was exceeded. See “systemctl status dovecot.service” and “journalctl -xe” for details.
Apr 10 17:28:28 server1 dovecot[31537]: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 10 17:28:28 server1 dovecot[31539]: anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 10 17:28:28 server1 dovecot[31539]: config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 10 17:28:28 server1 dovecot[31539]: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 10 17:28:28 server1 systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
– Subject: Unit dovecot.service has failed
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
– Unit dovecot.service has failed.
– The result is failed.
Apr 10 17:28:28 server1 systemd[1]: Unit dovecot.service entered failed state.
Apr 10 17:28:28 server1 systemd[1]: dovecot.service failed.