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

0 votes

 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,270 points
309 views

1 answer to this question.

0 votes

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,850 points

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,890 points
245 views
0 votes
2 answers

Is possible for Jenkins to auto start and stop slave nodes?

Try Jenkins Plugin called as Slave SetupPlugin. This ...READ MORE

answered Aug 6, 2018 in Jenkins by Nilesh
• 6,880 points
945 views
0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,810 points
238 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,380 points
178 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 in Jenkins by Vedant
4,490 views
+2 votes
6 answers