Fix for ‘jenkins dead but pid file exists’ error

Read Time: 1 min


Here is the Fix for error jenkins dead but pid file exists. You see this error when you check Jenkins service status. One important thing to note that you won’t find this error while starting the Jenkins service.


This issue can happen if Jenkins’s user does not have enough permission on /var/log/jenkins and /var/cache/jenkins . Permission issue usually happens when you change Jenkins user from default.

First find your Jenkins user:



Now make all files and directories under /var/log/jenkins and /var/cache/jenkins owned by the Jenkins user.

Then give proper permission for all files and directories.

Jenkins should be fine now.


A Site Reliability Engineer and an automation enthusiast.
Posts created 36

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top