java.io.IOException: Network is unreachable

Jenkins JIRA | espenfk | 6 years ago
  1. 0

    Plain install from RPM. Started with 'service hudson start' as root. The log file in /var/log/hudson/hudson.log is provided below. A little bit down in the log we have these lines: >INFO: JNLP slave agent listener started on TCP port 53462 >Sep 17, 2010 9:41:20 AM hudson.UDPBroadcastThread run >WARNING: UDP handling problem >java.net.SocketException: No such device When I browse to http://myhudsonserver:8080, I get "Please wait while ..." for ever. I have tried with hudson.DNSMultiCast.disabled=false and hudson.udp=33033 (just to pick a random port number), but the same happens. I have only the plugins provided in the base installation (I don't remeber which just now, but I think it is only four). Sp1 Log: Running from: /usr/lib/hudson/hudson.war [Winstone 2010/09/17 09:41:15] - Beginning extraction from war file hudson home directory: /var/lib/hudson [Winstone 2010/09/17 09:41:17] - HTTP Listener started: port=8080 Using one-time self-signed certificate [Winstone 2010/09/17 09:41:17] - AJP13 Listener started: port=8009 Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Started initialization Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Listed all plugins [Winstone 2010/09/17 09:41:17] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Prepared all plugins Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Started all plugins Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Loaded all jobs Sep 17, 2010 9:41:19 AM hudson.model.Hudson$4 onAttained INFO: Completed initialization Sep 17, 2010 9:41:20 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 53462 Sep 17, 2010 9:41:20 AM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.net.SocketException: No such device at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:64) Sep 17, 2010 9:41:21 AM javax.jmdns.impl.tasks.Prober run WARNING: run() exception java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190) at javax.jmdns.impl.tasks.Prober.run(Prober.java:163) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:21 AM javax.jmdns.impl.tasks.Canceler run WARNING: run() exception java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:22 AM javax.jmdns.impl.tasks.Canceler run WARNING: run() exception java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:23 AM javax.jmdns.impl.JmDNSImpl recover WARNING: recover() Start services exception java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:595) at javax.jmdns.impl.JmDNSImpl.start(JmDNSImpl.java:249) at javax.jmdns.impl.JmDNSImpl.recover(JmDNSImpl.java:1270) at javax.jmdns.impl.tasks.Prober.run(Prober.java:175) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:23 AM javax.jmdns.impl.JmDNSImpl recover WARNING: recover() We are back!

    Jenkins JIRA | 6 years ago | espenfk
    java.io.IOException: Network is unreachable
  2. 0

    Plain install from RPM. Started with 'service hudson start' as root. The log file in /var/log/hudson/hudson.log is provided below. A little bit down in the log we have these lines: >INFO: JNLP slave agent listener started on TCP port 53462 >Sep 17, 2010 9:41:20 AM hudson.UDPBroadcastThread run >WARNING: UDP handling problem >java.net.SocketException: No such device When I browse to http://myhudsonserver:8080, I get "Please wait while ..." for ever. I have tried with hudson.DNSMultiCast.disabled=false and hudson.udp=33033 (just to pick a random port number), but the same happens. I have only the plugins provided in the base installation (I don't remeber which just now, but I think it is only four). Sp1 Log: Running from: /usr/lib/hudson/hudson.war [Winstone 2010/09/17 09:41:15] - Beginning extraction from war file hudson home directory: /var/lib/hudson [Winstone 2010/09/17 09:41:17] - HTTP Listener started: port=8080 Using one-time self-signed certificate [Winstone 2010/09/17 09:41:17] - AJP13 Listener started: port=8009 Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Started initialization Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Listed all plugins [Winstone 2010/09/17 09:41:17] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Prepared all plugins Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Started all plugins Sep 17, 2010 9:41:17 AM hudson.model.Hudson$4 onAttained INFO: Loaded all jobs Sep 17, 2010 9:41:19 AM hudson.model.Hudson$4 onAttained INFO: Completed initialization Sep 17, 2010 9:41:20 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 53462 Sep 17, 2010 9:41:20 AM hudson.UDPBroadcastThread run WARNING: UDP handling problem java.net.SocketException: No such device at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276) at hudson.UDPBroadcastThread.run(UDPBroadcastThread.java:64) Sep 17, 2010 9:41:21 AM javax.jmdns.impl.tasks.Prober run WARNING: run() exception java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190) at javax.jmdns.impl.tasks.Prober.run(Prober.java:163) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:21 AM javax.jmdns.impl.tasks.Canceler run WARNING: run() exception java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:22 AM javax.jmdns.impl.tasks.Canceler run WARNING: run() exception java.io.IOException: Network is unreachable at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:23 AM javax.jmdns.impl.JmDNSImpl recover WARNING: recover() Start services exception java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:595) at javax.jmdns.impl.JmDNSImpl.start(JmDNSImpl.java:249) at javax.jmdns.impl.JmDNSImpl.recover(JmDNSImpl.java:1270) at javax.jmdns.impl.tasks.Prober.run(Prober.java:175) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Sep 17, 2010 9:41:23 AM javax.jmdns.impl.JmDNSImpl recover WARNING: recover() We are back!

    Jenkins JIRA | 6 years ago | espenfk
    java.io.IOException: Network is unreachable
  3. 0

    Jenkins users - Can't get past "getting ready to work screen"

    nabble.com | 1 year ago
    java.io.IOException: Operation not permitted
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This happens from http://jenkins-ci.org/download/war/1.359/hudson.war to more recent versions, it doesn't happen with http://jenkins-ci.org/download/war/1.358/hudson.war Hudson remains "Please wait while Hudson is getting ready to work...." forever. Even if you start with an older version and upgrade from the web interface, the result is the same, waiting forever. pressf3:/var/opt/hudson# /usr/bin/java -jar /var/opt/hudson/hudson.war --httpPort=20080 Running from: /var/opt/hudson/hudson.war [Winstone 2010/08/04 12:25:53] - Beginning extraction from war file hudson home directory: /root/.hudson [Winstone 2010/08/04 12:25:55] - HTTP Listener started: port=20080 [Winstone 2010/08/04 12:25:55] - AJP13 Listener started: port=8009 Using one-time self-signed certificate Aug 4, 2010 12:25:55 PM hudson.model.Hudson$4 onAttained INFO: Started initialization [Winstone 2010/08/04 12:25:56] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled Aug 4, 2010 12:25:56 PM hudson.model.Hudson$4 onAttained INFO: Listed all plugins Aug 4, 2010 12:25:56 PM hudson.model.Hudson$4 onAttained INFO: Prepared all plugins Aug 4, 2010 12:25:56 PM hudson.model.Hudson$4 onAttained INFO: Loaded all jobs Aug 4, 2010 12:25:57 PM hudson.model.Hudson$4 onAttained INFO: Completed initialization Aug 4, 2010 12:25:57 PM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 41580 Aug 4, 2010 12:25:58 PM javax.jmdns.impl.tasks.Prober run WARNING: run() exception java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1200) at javax.jmdns.impl.tasks.Prober.run(Prober.java:163) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Aug 4, 2010 12:25:58 PM javax.jmdns.impl.tasks.Canceler run WARNING: run() exception java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1200) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Aug 4, 2010 12:25:59 PM javax.jmdns.impl.tasks.Canceler run WARNING: run() exception java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1200) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Aug 4, 2010 12:26:00 PM javax.jmdns.impl.JmDNSImpl recover WARNING: recover() Start services exception java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:595) at javax.jmdns.impl.JmDNSImpl.start(JmDNSImpl.java:259) at javax.jmdns.impl.JmDNSImpl.recover(JmDNSImpl.java:1280) at javax.jmdns.impl.tasks.Prober.run(Prober.java:175) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Aug 4, 2010 12:26:00 PM javax.jmdns.impl.JmDNSImpl recover WARNING: recover() We are back!

    Jenkins JIRA | 6 years ago | arkaitzj
    java.io.IOException: Operation not permitted
  6. 0

    after install does not initialize completely on Ubuntu version 1.358 works fine for me. the log: Running from: /usr/share/hudson/hudson.war [Winstone 2010/05/25 11:14:35] - Beginning extraction from war file hudson home directory: /var/lib/hudson Using one-time self-signed certificate [Winstone 2010/05/25 11:14:39] - HTTP Listener started: port=8080 25-05-2010 11:14:40 AM hudson.model.Hudson$4 onAttained INFO: Started initialization [Winstone 2010/05/25 11:14:40] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled 25-05-2010 11:14:41 AM hudson.model.Hudson$4 onAttained INFO: Listed all plugins 25-05-2010 11:14:42 AM hudson.model.Hudson$4 onAttained INFO: Prepared all plugins 25-05-2010 11:14:42 AM hudson.model.Hudson$4 onAttained INFO: Started all plugins 25-05-2010 11:14:45 AM hudson.model.Hudson$4 onAttained INFO: Loaded all jobs 25-05-2010 11:14:45 AM hudson.model.Hudson$4 onAttained INFO: Completed initialization 25-05-2010 11:14:45 AM hudson.TcpSlaveAgentListener <init> INFO: JNLP slave agent listener started on TCP port 40988 25-05-2010 11:14:47 AM javax.jmdns.impl.tasks.Prober run ADVERTENCIA: run() exception java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1200) at javax.jmdns.impl.tasks.Prober.run(Prober.java:163) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 25-05-2010 11:14:47 AM javax.jmdns.impl.tasks.Canceler run ADVERTENCIA: run() exception java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1200) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 25-05-2010 11:14:48 AM javax.jmdns.impl.tasks.Canceler run ADVERTENCIA: run() exception java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:625) at javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1200) at javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 25-05-2010 11:14:50 AM javax.jmdns.impl.JmDNSImpl recover ADVERTENCIA: recover() Start services exception java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:595) at javax.jmdns.impl.JmDNSImpl.start(JmDNSImpl.java:259) at javax.jmdns.impl.JmDNSImpl.recover(JmDNSImpl.java:1280) at javax.jmdns.impl.tasks.Prober.run(Prober.java:175) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 25-05-2010 11:14:50 AM javax.jmdns.impl.JmDNSImpl recover ADVERTENCIA: recover() We are back! 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping cvs 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping subversion 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping analysis-collector 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping ssh-slaves 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping cvs-tag 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping scis-ad 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping junit-attachments 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping analysis-core 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping maven-plugin 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping jboss 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping findbugs 25-05-2010 11:22:05 AM hudson.PluginWrapper stop INFO: Stopping pmd [Winstone 2010/05/25 11:22:05] - Control thread shutdown successfully [Winstone 2010/05/25 11:22:05] - Winstone shutdown successfully

    Jenkins JIRA | 7 years ago | josebovet
    java.io.IOException: Operation not permitted

  1. Aria Pahlavan 32 times, last 3 weeks ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Network is unreachable

    at java.net.PlainDatagramSocketImpl.send()
  2. Java RT
    DatagramSocket.send
    1. java.net.PlainDatagramSocketImpl.send(Native Method)
    2. java.net.DatagramSocket.send(DatagramSocket.java:612)
    2 frames
  3. JmDNS
    Canceler.run
    1. javax.jmdns.impl.JmDNSImpl.send(JmDNSImpl.java:1190)
    2. javax.jmdns.impl.tasks.Canceler.run(Canceler.java:94)
    2 frames
  4. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:512)
    2. java.util.TimerThread.run(Timer.java:462)
    2 frames