When I have restarting the postfix server I am facing the below error ::
postfix-out/master: fatal: open lock file pid/master.pid: cannot create file exclusively: Permission denied
I having a centos server.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
You can use this command to fix permissions on postfix files and directories.
The file that controls these permissions is located here:
There may have been a stale master.pid file or or existing postfix process running, to clear these you could have done:
service postfix stop pkill -9 postfix rm -f /var/spool/pid/master.pid postfix set-permissions service postfix start