Unable to start Jenkins

Hi,

Installed jenkins 2.346.1 using yum in centos, not able to start jenkins.

jenkins.service - Jenkins Continuous Integration Server
Loaded: loaded (/usr/lib/systemd/system/jenkins.service; disabled; vendor preset: disabled)
Active: inactive (dead)

Feb 10 04:21:49 localhost.localdomain jenkins[13416]: Shutting down Jenkins […
Feb 10 04:21:49 localhost.localdomain systemd[1]: Stopped LSB: Jenkins Automa…
Feb 10 04:24:30 localhost.localdomain systemd[1]: Dependency failed for Jenki…
Feb 10 04:24:30 localhost.localdomain systemd[1]: Job jenkins.service/start f…
Feb 10 04:37:16 localhost.localdomain systemd[1]: Dependency failed for Jenki…
Feb 10 04:37:16 localhost.localdomain systemd[1]: Job jenkins.service/start f…
Feb 10 04:39:50 localhost.localdomain systemd[1]: Dependency failed for Jenki…
Feb 10 04:39:50 localhost.localdomain systemd[1]: Job jenkins.service/start f…
Feb 12 01:28:34 localhost.localdomain systemd[1]: Dependency failed for Jenki…
Feb 12 01:28:34 localhost.localdomain systemd[1]: Job jenkins.service/start f…
Hint: Some lines were ellipsized, use -l to show in full.

java.io.IOException: Failed to load: Jenkins Mailer Plugin (414.vcc4c33714601)

  • Jenkins (2.289.1) or higher required
  • Failed to load: JavaMail API (1.6.2-6)
    at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:952)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:932)
    Caused: java.io.IOException: Failed to install mailer plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:945)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2159)
    Caused: java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2163)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1843)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:118)
    at java.lang.Thread.run(Thread.java:750)
    2023-02-10 09:14:53.625+0000 [id=81] INFO h.m.UpdateCenter$CompleteBatchJob#run: Completing installing of plugin batch…
    2023-02-10 09:14:53.786+0000 [id=281] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
    2023-02-10 09:14:53.789+0000 [id=286] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
    2023-02-10 09:14:53.791+0000 [id=290] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
    2023-02-10 09:14:53.792+0000 [id=295] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
    2023-02-10 09:14:53.793+0000 [id=295] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
    2023-02-10 09:14:53.794+0000 [id=295] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
    2023-02-10 09:14:53.794+0000 [id=295] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
    2023-02-10 09:14:53.794+0000 [id=295] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
    2023-02-10 09:14:53.794+0000 [id=295] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
    2023-02-10 09:14:53.795+0000 [id=288] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
    2023-02-10 09:14:53.796+0000 [id=81] INFO h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 4 plugins in 11 min
    2023-02-10 09:21:48.202+0000 [id=24] INFO winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty

2023-02-10 09:01:13.281+0000 [id=58] INFO hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:
java.net.UnknownHostException: updates.jenkins.io
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:293)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1572)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at hudson.model.DownloadService.loadJSON(DownloadService.java:116)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:216)
at hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:211)
at hudson.PluginManager.checkUpdatesServer(PluginManager.java:1768)
at hudson.util.Retrier.start(Retrier.java:63)
at hudson.PluginManager.doCheckUpdatesServer(PluginManager.java:1739)
at jenkins.DailyCheck.execute(DailyCheck.java:93)
at hudson.model.AsyncPeriodicWork.lambda$doRun$0(AsyncPeriodicWork.java:100)

That message indicates that the host running Jenkins cannot convert updates.jenkins.io into an IP address. That could be caused by a DNS configuration error, a network connectivity error, or several other errors.

The updates.jenkins.io site is running and responding to requests. No issue reported in status.jenkins.io and visible from my web browser.

1 Like

Hi Mark,

I am able to start jenkins now, restored jenkins jobs from back up, after editing imported job description, not able save jobs, getting below error message

A problem occurred while processing the request.

Logging ID=9844445d-ebc5-40e4-8dbd-c7231caf5fc9

kindly suggest me on this.

1 Like

A detailed stack trace with that logging ID is written to the Jenkins log file. You’ll need to read that stack trace, identify the problem, and resolve the problem.

@MarkEWaite , issue is fixed by after changing the owner