Postfix failed to start after upgrade
So I’ve came across this issue recently when i updated the packages on one of my VPS. Postfix service stopped working and it didn’t start back. Tried few different ways and still it didn’t start. Nothing much helpful on the logs either.
The problem seems to be an existing process using the postfix pid lock file which might have probably left out while killing the process for updating, and doesn’t let the postfix to start again.
You can try the below steps to resolve that,
Try to find the process that’s using the postfix service
$htop
To make sure, run below with the process id you found. you should see something similar to
#ps -ef | grep 7881
root 7881 1 0 Sep16 ? 00:00:09 /usr/libexec/postfix/master -w
Kill the process
$kill 7881
Start postfix
sudo postfix start