6 posts / 0 new
Last post
#1 Wed, 10/08/2014 - 08:30
mn3250

Centos 7

I know that centos 7 is not supported yet but decided to install virtualmin on a test vps I have. Everything is functioning and installation went without any problems. It is much faster (apache,php,etc) and mariadb works much better than mysql so far. Decided to install DKIM via yum/virtualmin but get the following error:

-- Subject: Unit dkim-milter.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dkim-milter.service has begun starting up.
Oct 08 15:09:24 myvps runuser[2197]: pam_unix(runuser:session): session opened for user dkim-milter by (uid=0)
Oct 08 15:09:24 myvps dkim-milter[2196]: Starting DomainKeys Identified Mail Milter (dkim-filter): dkim-filter: smfi_opensocket() failed
Oct 08 15:09:24 myvps runuser[2197]: pam_unix(runuser:session): session closed for user dkim-milter
Oct 08 15:09:24 myvps dkim-milter[2196]: [FAILED]
Oct 08 15:09:24 myvps systemd[1]: dkim-milter.service: control process exited, code=exited status=1
Oct 08 15:09:24 myvps systemd[1]: Failed to start SYSV: DomainKeys Identified Mail Milter.
-- Subject: Unit dkim-milter.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dkim-milter.service has failed.
--
-- The result is failed.
Oct 08 15:09:24 myvps systemd[1]: Unit dkim-milter.service entered failed state.

I know it is more centos related but do virtualmin folks have any solution?

Wed, 10/08/2014 - 09:15
andreychek

Howdy,

Thanks for the input on CentOS 7! Most things work very well on CentOS 7, I think Joe is going to be posting an announcement about it soon.

Regarding dkim-milter though -- do you happen to see any additional errors in any of the logs when trying to start that service? In particular, either /var/log/messages or /var/log/maillog?

-Eric

Wed, 10/08/2014 - 11:11
mn3250

Thank you for your answer. I think that is all the log I have. No more /var/log on my centos 7 installation but only journalctl. I do not know if they do not exist in centos 7 or have not found out how to activate them yet. Have installed csf and may be it messed up my logs.

Wed, 10/08/2014 - 11:56
mn3250

Forgot it was a minimal installation. Installed rsyslog and now I can check what is happening. To my surprise DKIM started working too.

Thu, 02/26/2015 - 13:32
chiareu

Hi, we installed Centos7 and try to configure. When I want to enable DKIM i encountered following error:

Starting DKIM filter ..
.. start failed : Starting dkim-milter (via systemctl): Job for dkim-milter.service failed. See 'systemctl status dkim-milter.service' and 'journalctl -xn' for details. [FAILED]

DKIM setup failed!

The systemctl status:

> systemctl status dkim-milter.service
dkim-milter.service - SYSV: DomainKeys Identified Mail Milter
   Loaded: loaded (/etc/rc.d/init.d/dkim-milter)
   Active: failed (Result: exit-code) since Thu 2015-02-26 20:56:37 EET; 3min 12s ago
  Process: 6892 ExecStart=/etc/rc.d/init.d/dkim-milter start (code=exited, status=1/FAILURE)

Feb 26 20:56:37 ns1.domain.com runuser[6893]: pam_unix(runuser:session): session opened for user dkim-milter by (uid=0)
Feb 26 20:56:37 ns1.domain.com dkim-milter[6892]: Starting DomainKeys Identified Mail Milter (dkim-filter): dkim-filter: smfi_opensocket() failed
Feb 26 20:56:37 ns1.domain.com dkim-milter[6892]: [FAILED]
Feb 26 20:56:37 ns1.domain.com systemd[1]: dkim-milter.service: control process exited, code=exited status=1
Feb 26 20:56:37 ns1.domain.com systemd[1]: Failed to start SYSV: DomainKeys Identified Mail Milter.
Feb 26 20:56:37 ns1.domain.com systemd[1]: Unit dkim-milter.service entered failed state.
Thu, 02/26/2015 - 14:03 (Reply to #5)
andreychek

Howdy,

You may want to take a peek at this thread here regarding DKIM on CentOS 7:

http://virtualmin.com/node/35830

Topic locked