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,700 points
8,301 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
• 10,620 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

0 votes
0 answers

I am unable to install packages on jenkins it was showing "An error occurred during installation: Forbidden"

Please let me know how to fix ...READ MORE

Dec 9, 2021 in Jenkins by anonymous
• 120 points
1,963 views
+1 vote
3 answers
0 votes
0 answers
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
+1 vote
6 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
48,242 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
41,298 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP