postfix failed restarting

Issues related to applications and software problems
Post Reply
a.justus
Posts: 2
Joined: 2015/11/21 22:28:09

postfix failed restarting

Post by a.justus » 2015/11/21 22:45:32

Hi,

I'am having a problems with postfix starting. I used postfix for one domainname, then i want it to reconfigure postfix for multipli domains. So i folowd this tutorial http://articles.slicehost.com/2009/9/29 ... -and-users and i get this error when i try to start postfix:
Nov 21 23:24:46 xxx.xxx.xx systemd[1]: Starting Postfix Mail Transport Agent...
Nov 21 23:24:46 xxx.xxx.xx postfix/postfix-script[12244]: starting the Postfix mail system
Nov 21 23:24:46 xxx.xxx.xx postfix/master[12246]: fatal: open lock file /var/lib/postfix/master.lock: unable to set exclusive lock: Resource te...vailable
Nov 21 23:24:47 xxx.xxx.xx postfix/master[12245]: fatal: daemon initialization failure
Nov 21 23:24:48 xxx.xxx.xx postfix/postfix-script[12247]: fatal: mail system startup failed
Nov 21 23:24:48 xxx.xxx.xx systemd[1]: postfix.service: control process exited, code=exited status=1
Nov 21 23:24:48 xxx.xxx.xx systemd[1]: Failed to start Postfix Mail Transport Agent.
Nov 21 23:24:48 xxx.xxx.xx systemd[1]: Unit postfix.service entered failed state.

a.justus
Posts: 2
Joined: 2015/11/21 22:28:09

Re: postfix failed restarting

Post by a.justus » 2015/11/22 11:34:45

Is there a manual that can folow to install/configure postfix and dovecot on Centos 7, to use for multipli domains? I want start from scratch.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: postfix failed restarting

Post by aks » 2015/11/23 17:29:52

Try setsebool -P allow_postfix_local_write_mail_spool on (assuming you're allowing postfix to write to the local mail spooler). Otherwise check the ownerships, permissions and selinux context on /var/lib/postfix/master.lock
The RHEL docs for postfix MTA are at https://access.redhat.com/documentation ... l-mda.html

Post Reply