Jenkins won't start after plugin update?

569 views
Skip to first unread message

Michael Carter

unread,
Apr 26, 2021, 12:14:19 PM4/26/21
to Jenkins Developers
I was testing out my new changes to my plugin.   Did update all on all plugins.

Did systemctl restart jenkins.

Now starting I get: 

2021-04-26 16:08:28.416+0000 [id=86] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Finished Download metadata. 461 ms
2021-04-26 16:08:28.941+0000 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
2021-04-26 16:08:29.077+0000 [id=22] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:225)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
at hudson.TcpSlaveAgentListener.<init>(TcpSlaveAgentListener.java:100)
at jenkins.model.Jenkins.launchTcpSlaveAgentListener(Jenkins.java:1298)
at jenkins.model.Jenkins.<init>(Jenkins.java:985)
at hudson.model.Hudson.<init>(Hudson.java:85)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:295)
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:312)
2021-04-26 16:08:29.169+0000 [id=22] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins

Tried disabling the plugin in question, disabling all nodes, copying over the jenkins.war file sync'ing the plugin directory from a working setup.... 

how do I track down the main cause?    

The other two servers I have using the same setup works fine so I'm assuming some file got corrupted somewhere.

Gavin Mogan

unread,
Apr 26, 2021, 12:23:39 PM4/26/21
to Jenkins Developers
Permission denied sounds like your either using a port that is already used, or using below 1024. I don't think either are plugin related per say.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cca3a6f8-ca9f-4d2a-86be-06c9cb075ea3n%40googlegroups.com.

G. Michael Carter

unread,
Apr 26, 2021, 5:50:37 PM4/26/21
to jenkin...@googlegroups.com
Funny never fails, searching for an answer on and off since Apr 20th...5 minutes after asking for help... actually found it... (was what you were basically saying) 

Turns out one of the other developers/admins quietly changed the slaveAgentPort port and didn't tell anyone.   When I asked in our team meeting everyone said they hadn't changed anything in months.   Someone lied.   Too bad this only tracks the user as "SYSTEM"... think people forget we have this thing enabled... good thing too.

2021-04-18_17-00-25/config.xml:  <slaveAgentPort>45001</slaveAgentPort>
2021-04-19_09-46-03/config.xml:  <slaveAgentPort>443</slaveAgentPort>


You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/3z_hNyCCtWs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuvmqaOO%2Bu6Y1Uha2SSOOEdNMWBoHsuBuMgv2x_D%3D_Javw%40mail.gmail.com.


--

G. Michael Carter

Contact: 1-519-217-0441
Google Talk: xmpp:mikeyca...@gmail.com
Instagram:  mikey.carter
Reply all
Reply to author
Forward
0 new messages