How to install and Configure Jenkins on CentOS 7 and RHEL 7

6 Responses

  1. Mohanish Mahajan says:

    hi,

    I used RHEL7 and followed above commands. However the server is not listening on 8080. I tried to do a telnet from localhost but it says connection refused.
    Please if any help.
    Also no log file getting generated under /etc/var/log/jenkins

  2. nafish shahzad says:

    check whether it is used by another process or not
    netstat -anp |grep 8080

    • Siddhesh_Khedekar says:

      I have same issue as Mohanish. Tried Suggestions from Pradeep and Mohanish but no success.
      Any suggestions? I am working on Virtual box Centos7 image.

  3. Vineeth says:

    Very nice explanation!

  4. Siddhesh_Khedekar says:

    Hi
    I am facing same issue as Mohanish.
    When I do : netstat -anp |grep 8080 , No output is coming.
    However when I do : sudo service jenkins status, below output is coming –
    jenkins.service – LSB: Jenkins Automation Server
    Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled)
    Active: active (exited) since Thu 2018-08-23 11:39:01 EDT; 1h 22min ago
    Docs: man:systemd-sysv-generator(8)

    Aug 23 11:39:00 l-156063904.wipro.com systemd[1]: Starting LSB: Jenkins Automation Server…
    Aug 23 11:39:00 l-156063904.wipro.com runuser[1643]: pam_unix(runuser:session): session op…0)
    Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: Starting Jenkins Jenkins requires Jav…re
    Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: java.lang.UnsupportedClassVersionErro….0
    Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: at Main.main(Main.java:128)
    Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: [ OK ]
    Aug 23 11:39:01 l-156063904.wipro.com systemd[1]: Started LSB: Jenkins Automation Server.

    Any suggestions?

Leave a Reply

Your email address will not be published. Required fields are marked *