On 2/16/2011 10:21 PM, sunhux G wrote:

Sorry for the lack of info in earlier post.

Think the main issue is I can't even start up postfix :

# postfix set-permissions
[root@etc]# postfix start
postfix/postfix-script: starting the Postfix mail system
[root@ etc]# postfix reload
postfix/postfix-script: fatal: the Postfix mail system is not running

I googed for "master.lock unable exclusive lock" but it's mostly on
MacOS & editing php.ini doesn't help:

Relevant error from /var/log/maillog
Feb 17 11:15:20 hostname postfix/postfix-script[29383]: starting the Postfix mail system Feb 17 11:15:20 hostname postfix/master[29384]: fatal: open lock file /var/lib/postfix/master.lock: unable to set exclusive lock: Resource temporarily unavailable
[SNIP]
This would indicate some process, perhaps an earlier attempt at running postfix, already has the lock. What is the output of fuser as below? Follows is a literal interaction from my installation

# ls -l /var/lib/postfix/master.lock
-rw------- 1 postfix postfix 17 Feb  7 11:08 /var/lib/postfix/master.lock
# fuser /var/lib/postfix/master.lock
/var/lib/postfix/master.lock: 15590
# ps auwwx | grep 15590
root 15590 0.0 0.0 6624 1868 ? Ss Feb07 0:33 /usr/libexec/postfix/master


-Daniel

Reply via email to