Unable to access Jenkins. I newly installed Jenkins but for some reason I cannot access it.

+1 vote

 When I start Jenkins, I get an "OK" status message but if I run ‘status-all | grep jenkins’ it displays:

jenkins dead but pid file exists
Jul 4, 2018 in Jenkins by Tyrion anex
• 8,380 points
946 views

1 answer to this question.

+1 vote

Try changing the port,

Change JENKINS_AJP_PORT="xyz" to JENKINS_AJP_PORT="abc"

If changing the ports did not solve the problem, then the error is mostly coming from the version of Java installed,

Updating java-1.7.0-openjdk to java-1.8.0-openjdk will do the trick

Use the following command to install java 8

sudo yum install java-1.8.0-openjdk

Make sure you remove the older version of java. Use the following command to do so.

sudo yum remove java-1.7.0-openjdk.x86_64

Finally, restart jenkins service, use the following command

sudo service jenkins restart
answered Jul 4, 2018 by Sophie may
• 9,940 points
Thank you, it works !
I am glad that it helped. Please do upvote the answer, I'll get a better reputation and more points :p

Related Questions In Jenkins

+1 vote
3 answers
0 votes
1 answer

Why is it displaying Jenkins build failure for Android app

I think you should try this. Try Uninstalling ...READ MORE

answered Apr 12, 2018 in Jenkins by shubham
• 6,910 points
407 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
544 views
0 votes
1 answer
+1 vote
5 answers

Unable to login to Jenkins even if I enter valid credentials.

Disable security by editing these two classes ...READ MORE

answered Apr 26, 2019 in Jenkins by Vedant
11,947 views
+2 votes
6 answers

Jenkins unable to run jobs (pending - waiting for next executor)

Increase the number of executors. I had ...READ MORE

answered Apr 24, 2019 in Jenkins by Maya
12,337 views