Professional Documents
Culture Documents
Postfix Troubleshooting 1
Postfix Troubleshooting 1
[ OK ]
I checked the status of the postfix process on my other workstations and servers
and they were all dead.
yum.log showed that postfix was recently updated:
Feb 22 04:47:23 Updated: 2:postfix-2.6.6-6.el6_5.x86_64
Another log showed:
postfix/master[1490]: fatal: open lock file /var/lib/postfix/master.lock: unable
to set exclusive lock: Resource temporarily unavailable
# 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 -ef | grep 15590
root
15590 0.0 0.0 6624 1868 ?
Ss Feb07 0:33
/usr/libexec/p
ostfix/master
Kill the process that is accessing the master.lock file:
# fuser -k /var/lib/postfix/master.lock
Stop postfix, remove pid and lock file, kill the process accessing master.lock,
restart postfix:
Starting postfix: [ OK ]
master (pid 18179) is running...
Ran a script on the rest of my workstations and servers:
sudo service postfix stop; sudo \rm /var/lock/subsys/postfix; sudo \rm /var/spo
ol/postfix/pid/master.pid; sudo fuser -k /var/lib/postfix/master.lock;sleep 5;su
do service postfix start;sleep 5; sudo service postifix status
Last changed: Mar 06 2014 at 2:53 PM
Back