Exim dead but subsys locked

Exim dead but subsys locked
You may get the error "exim dead but subsys locked" while restarting the exim service. This article will help you resolve this issue.

Exim – one of the famous mail servers our there. Default mail server of cPanel. In some cases, you may have to disable Exim. In most cases, it must be due to spamming issues. Before finding and fixing the issue, the first thing you have to do is stop the spamming activities, and the easy way to do that is to disable your Mail service. Otherwise, there are chances that your IP may get on Blacklist. There are several ways to disable Exim. If you stopped the service under “init.d,” the “chkservd” service will bring it up. Then the other way is to remove the permission and set attributes.

You guys don’t have to do those things. All you have to do is follow the below two steps.

1) Stop the service

/etc/init.d/exim stop
service exim stop


2) Create an empty file called “eximdisable” under “/etc”

touch /etc/eximdisable


That’s it!! Now when you try to restart or start the exim service, you will get the following error.

/etc/init.d/exim status
exim dead but subsys locked


That 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 fix the error “exim dead but subsys locked”.

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

Linux Management Services

Focus on your business, and let us take care of your Linux Servers!
From what you are reading, it seems you are interested in Linux and related technologies. If you have a moment to spare, please take a look at our Linux Management Services plan, which might interest you even more!
Linux Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.