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

Jenkins Stuck at initialization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Incomplete
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      Windows Server 2016
    • Similar Issues:

      Description

      Hi Team

      I am trying to install Jenkins in a windows server through Java command. While starting Jenkins, it is getting stuck at "This may also be found at: C:\Users\sachinrajbalaji.k\.jenkins\secrets\initialAdminPassword" this line and not proceeding further (not giving any errors). While accessing the web page, it is getting stuck at "Please wait while Jenkins is ready to work..." We found that Jenkins is trying to get a response from https://updates.jenkins.io/update-center.json which is not getting completed. Can you please help me understand what is causing this issue and why there are no error logs to debug the issue? Please find the additional details below

      Jenkins version: 2.164 (tried with latest version also and got same issue)

      Java version: Tried with both Oracle JDK 1.8 and OpenJDK11

      Command to start Jenkins: java -jar jenkins.war

      Let me know if you need further information on the same.

        Attachments

        1. jenkins_start.jpg
          jenkins_start.jpg
          18 kB
        2. jenkinslogs.jpg
          jenkinslogs.jpg
          57 kB
        3. jmap_output.txt
          280 kB
        4. jstack.jpg
          jstack.jpg
          69 kB

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Without a stack trace there's nothing anyone can do to investigate.

          See https://wiki.jenkins.io/display/JENKINS/Obtaining+a+thread+dump

          Show
          danielbeck Daniel Beck added a comment - Without a stack trace there's nothing anyone can do to investigate. See https://wiki.jenkins.io/display/JENKINS/Obtaining+a+thread+dump
          Hide
          srbalaji2521 Sachin Raj Balaji added a comment -

          Thank you so much Daniel for your reply. Unfortunately I was not able to obtain thread dump. Even while hitting the URL: http://localhost:port/threadDump, I am stuck at the "Please wait while Jenkins is getting ready to work" message. Its been more than 6 days and still it is stuck on the same page. Can you please suggest anything on this scenario or else let me know what more information is required?

          Show
          srbalaji2521 Sachin Raj Balaji added a comment - Thank you so much Daniel for your reply. Unfortunately I was not able to obtain thread dump. Even while hitting the URL: http://localhost:port/threadDump,  I am stuck at the "Please wait while Jenkins is getting ready to work" message. Its been more than 6 days and still it is stuck on the same page. Can you please suggest anything on this scenario or else let me know what more information is required?
          Hide
          danielbeck Daniel Beck added a comment -

          Sachin Raj Balaji One of the other options is needed here since the UI is blocked, jstack or kill -3.

          Show
          danielbeck Daniel Beck added a comment - Sachin Raj Balaji One of the other options is needed here since the UI is blocked,  jstack or kill -3 .
          Hide
          srbalaji2521 Sachin Raj Balaji added a comment -

          Hi Daniel, I am trying to install Jenkins in a Windows 2016 server and was not able to produce logs of jstack (PFB screenshot) and jmap logs is jmap_output.txt

          Kindly help me understand this issue as well if it related to some java

           

          Show
          srbalaji2521 Sachin Raj Balaji added a comment - Hi Daniel, I am trying to install Jenkins in a Windows 2016 server and was not able to produce logs of jstack (PFB screenshot) and jmap logs is  jmap_output.txt Kindly help me understand this issue as well if it related to some java  
          Hide
          danielbeck Daniel Beck added a comment -

          Sachin Raj Balaji That's unfortunate but this is an issue tracker, not a general purpose Java help site. I recommend you ask in chat or on the jenkinsci-users mailing list for troubleshooting advice.

          Show
          danielbeck Daniel Beck added a comment - Sachin Raj Balaji That's unfortunate but this is an issue tracker, not a general purpose Java help site. I recommend you ask in chat or on the jenkinsci-users mailing list for troubleshooting advice.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            srbalaji2521 Sachin Raj Balaji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: