Postfix Service Won't Start

Issues related to applications and software problems
Post Reply
supanatral
Posts: 19
Joined: 2010/01/22 17:54:21

Postfix Service Won't Start

Post by supanatral » 2011/09/08 15:31:37

I just installed a brand new Postfix server on a new install of CentOS 6.0 and I'm already running into problems.

The first problem I was having (which have aparently fixed) was an issue with the queue directory which caused the service to fail when I tried to start it. The error that came up at the time was the following:
[quote]Sep 8 10:10:42 localhost postfix/postfix-script[2161]: fatal: unable to create missing queue directories[/quote]

I ran the [i]"post-install create-missing"[/i] command which fixed the directories however now I'm having a completely different issue.

Here is what happens why I try to start the postfix service:
[quote][root@localhost postfix]# /etc/init.d/postfix start
Starting postfix: [ OK ]
[root@localhost postfix]# /etc/init.d/postfix status
master dead but subsys locked
[/quote]

In the maillog, I get the following error:
[quote]Sep 8 11:24:54 localhost postfix/postfix-script[1629]: starting the Postfix mail system
Sep 8 11:24:54 localhost postfix/master[1631]: fatal: open lock file pid/master.pid: cannot create file exclusively: Permission denied[/quote]

How do I fix this?

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Postfix Service Won't Start

Post by toracat » 2011/09/08 18:17:34

Can you post the output returned by (run as root):

ls -al /var/lib/postfix

Post Reply