1) Stop the service
service exim stop
2) Create an empty file called "eximdisable" under "/etc"
That’s it!! Now when you try to restart or start the exim service, you will get the following error.
exim dead but subsys locked
That’s means it will remain stopped and “chkservd” can’t start it! :)
So if you ever found the error “exim dead but subsys locked”, now you know how to fix it. It’s simple. Just remove that “eximdisable” file. Then you are good to go.
rm -rf /etc/eximdisable
Now you know how to disable exim and how to fix the error “exim dead but subsys locked” :)
Let us know if you face any further issues. We will be right here for your help.