Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23759

Installation from repository on RedHat Fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None

      After installing jenkins without receiving any error messages, then starting jenkins from the command line, no log file is created and jenkins is not listening on the assigned port. There is no error in any server log.

      Steps to repeat

      wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo

      rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key

      yum install jenkins

      Changed the 2 below ports after confirming they were free.
      vi /etc/sysconfig/jenkins
      JENKINS_AJP_PORT="8007"
      JENKINS_AJP_PORT="-1"

      service jenkins start - server responded with, "OK"

      service jenkins status - server responded with, "jenkins dead but pid file exists"

      During installation /var/log/jenkins directory was created with owner and group of jenkins. No log file created.

      Created from yum install

      /var/log/jenkins
      /var/run/jenkins.pid
      /var/lib/jenkins
      /usr/lib/jenkins
      /usr/lib/jenkins/jenkins.war
      /usr/sbin/rcjenkins
      /var/cache/jenkins
      /etc/logrotate.d/jenkins
      /etc/rc.d/init.d/jenkins
      /etc/sysconfig/jenkins

      vi /etc/passwd - shows the below line

      jenkins:x:496:494:Jenkins Continuous Build server:/var/lib/jenkins:/bin/false

      java -version
      java version "1.6.0_30"

      Also tried using java version 1.7 but experienced the same results.

            Unassigned Unassigned
            mtarkowski Mike Tarkowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: