I am running into an issue where a fresh install of Jenkins is not accessible. This is the error and OS details: Upon starting jenkins results in “OK” status message however if I run status-all | grep jenkins it results in:
jenkins dead but pid file exists
Running on Red Hat Enterprise Linux Server release 6.2 (Santiago) with Yum as package manager.
rpm -qa | grep java java-1.7.0-openjdk-1.7.0.19-2.3.9.1.el6_4.x86_64 java-1.6.0-openjdk-1.6.0.0-1.61.1.11.11.el6_4.x86_64 tzdata-java-2011l-4.el6.noarch libvirt-java-0.4.7-1.el6.noarch libvirt-java-devel-0.4.7-1.el6.noarch java-1.6.0-openjdk-devel-1.6.0.0-1.61.1.11.11.el6_4.x86_64
Permissions are:
ls -la /var/lib/jenkins/ total 8 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 00:21 . drwxr-xr-x. 29 root root 4096 Aug 27 14:47 ..
Has anyone resolved this before?
Advertisement
Answer
Change JENKINS_AJP_PORT="8009"
(OR whatever value) to JENKINS_AJP_PORT="-1"
It will work for sure.