Jenkins startup issue
Hello All,
I have Jenkins server installed on a dedicated Jenkins machine(Windows 10). I was trying out something and in services, I have changed the "Logon As" from local System to my credentials. Since then i am unable to access Jenkins server, it shows the page attached in the screenshot below.
When i click on skip to content it shows the below error
I also changed the "Logon As" in services to the one that was previously present i.e. "Local system". The issue still persists. After changing it to local system, when i manually start the service it automatically stops after few seconds.
Please help me retrieve the server back.
Thanks in advance,
Sharan Patil
-
Hi Sharan, you can regain access to your Jenkins instance by following the instructions outlined here: https://support.cloudbees.com/hc/en-us/articles/206598218-How-do-I-login-to-Jenkins-when-I-locked-myself-out-
Alternatively, if you have a backup of your $JENKINS_HOME folder prior to the change, you could restore from backup which would also resolve your issue: https://docs.cloudbees.com/docs/admin-resources/latest/backup-restore/
0 -
Hello Ryan,
Thank you for your swift response,
The first link asks to change `<useSecurity>true</useSecurity>` to false and start Jenkins. I did that, its still the same. I unable to gain the access. Jenkins service stops after few seconds i start it from services.
Unfortunately I don't have of my $JENKINS_HOME folder's backup prior to the change.
Thanks,
Sharan
0 -
Hi Sharan,
In looking closer at the screenshot you provided, it appears your filesystem permissions are preventing the service from starting. You'll need to ensure you have your permissions set in a manner that allow the Jenkins user to read/write to your defined C:/Program Files (x86)/Jenkins directory, otherwise the service will not start. If you are a CloudBees customer, I encourage you to submit a support request via the Support Portal.
0 -
Hi Ryan,
Can you please let me know how to do that? I don't want things to be messed up more.
Thanks,
Sharan Patil
0
Please sign in to leave a comment.
Comments
4 comments