#117 closed defect (fixed)
Exception: org.mortbay.util.MultiException [java.net.SocketException: Protocol family unavailable]
Reported by: | tramp | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | www/i2p | Version: | 0.8 |
Keywords: | Cc: | killyourtv | |
Parent Tickets: | Sensitive: | no |
Description
Service (Wrapper) Logs:
2010/10/30 13:38:01 | Starting I2P 0.8-0
2010/10/30 13:38:01 | Setting up new user directory /home/tramp/.i2p
[…]
2010/10/30 13:38:16 | WARNUNG: Failed to start: SocketListener0@0:0:0:0:0:0:0:1:7657
2010/10/30 13:38:16 | 30.10.2010 11:38:16 org.mortbay.http.SocketListener? start
2010/10/30 13:38:16 | INFO: Started SocketListener? on 127.0.0.1:7657
2010/10/30 13:38:16 | WARNING: Error starting one or more listeners of the Router Console server.
2010/10/30 13:38:16 | If your console is still accessible at http://127.0.0.1:7657/,
2010/10/30 13:38:16 | this may be a problem only with binding to the IPV6 address ::1.
2010/10/30 13:38:16 | If so, you may ignore this error, or remove the
2010/10/30 13:38:16 | "::1," in the "clientApp.0.args" line of the clients.config file.
2010/10/30 13:38:16 | Exception: org.mortbay.util.MultiException?[java.net.SocketException: Protocol family unavailable]
2010/10/30 13:38:16 | org.mortbay.util.MultiException?[java.net.SocketException: Protocol family unavailable]
2010/10/30 13:38:16 | at org.mortbay.http.HttpServer?.doStart(HttpServer?.java:686)
2010/10/30 13:38:16 | at org.mortbay.util.Container.start(Container.java:72)
2010/10/30 13:38:16 | at net.i2p.router.web.RouterConsoleRunner?.startConsole(RouterConsoleRunner?.java:156)
2010/10/30 13:38:16 | at net.i2p.router.web.RouterConsoleRunner?.main(RouterConsoleRunner?.java:62)
2010/10/30 13:38:16 | at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
2010/10/30 13:38:16 | at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
2010/10/30 13:38:16 | at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
2010/10/30 13:38:16 | at java.lang.reflect.Method.invoke(Method.java:597)
2010/10/30 13:38:16 | at net.i2p.router.startup.LoadClientAppsJob?$RunApp?.run(LoadClientAppsJob?.java:238)
2010/10/30 13:38:16 | at java.lang.Thread.run(Thread.java:662)
2010/10/30 13:38:16 | at net.i2p.util.I2PThread.run(I2PThread.java:77)
2010/10/30 13:38:16 | java.net.SocketException?: Protocol family unavailable
2010/10/30 13:38:16 | at java.net.PlainSocketImpl?.socketBind(Native Method)
2010/10/30 13:38:16 | at java.net.PlainSocketImpl?.bind(PlainSocketImpl?.java:365)
2010/10/30 13:38:16 | at java.net.ServerSocket?.bind(ServerSocket?.java:319)
2010/10/30 13:38:16 | at java.net.ServerSocket?.<init>(ServerSocket?.java:185)
2010/10/30 13:38:16 | at org.mortbay.util.ThreadedServer?.newServerSocket(ThreadedServer?.java:391)
2010/10/30 13:38:16 | at org.mortbay.util.ThreadedServer?.open(ThreadedServer?.java:477)
2010/10/30 13:38:16 | at org.mortbay.util.ThreadedServer?.start(ThreadedServer?.java:503)
2010/10/30 13:38:16 | at org.mortbay.http.SocketListener?.start(SocketListener?.java:204)
2010/10/30 13:38:16 | at org.mortbay.http.HttpServer?.doStart(HttpServer?.java:716)
2010/10/30 13:38:16 | at org.mortbay.util.Container.start(Container.java:72)
2010/10/30 13:38:16 | at net.i2p.router.web.RouterConsoleRunner?.startConsole(RouterConsoleRunner?.java:156)
2010/10/30 13:38:16 | at net.i2p.router.web.RouterConsoleRunner?.main(RouterConsoleRunner?.java:62)
2010/10/30 13:38:16 | at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
2010/10/30 13:38:16 | at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
2010/10/30 13:38:16 | at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
2010/10/30 13:38:16 | at java.lang.reflect.Method.invoke(Method.java:597)
2010/10/30 13:38:16 | at net.i2p.router.startup.LoadClientAppsJob?$RunApp?.run(LoadClientAppsJob?.java:238)
2010/10/30 13:38:16 | at java.lang.Thread.run(Thread.java:662)
2010/10/30 13:38:16 | at net.i2p.util.I2PThread.run(I2PThread.java:77)
2010/10/30 13:38:16 | java.net.SocketException?: Protocol family unavailable
2010/10/30 13:38:16 | at java.net.PlainSocketImpl?.socketBind(Native Method)
2010/10/30 13:38:16 | at java.net.PlainSocketImpl?.bind(PlainSocketImpl?.java:365)
2010/10/30 13:38:16 | at java.net.ServerSocket?.bind(ServerSocket?.java:319)
2010/10/30 13:38:16 | at java.net.ServerSocket?.<init>(ServerSocket?.java:185)
2010/10/30 13:38:16 | at org.mortbay.util.ThreadedServer?.newServerSocket(ThreadedServer?.java:391)
2010/10/30 13:38:16 | at org.mortbay.util.ThreadedServer?.open(ThreadedServer?.java:477)
2010/10/30 13:38:16 | at org.mortbay.util.ThreadedServer?.start(ThreadedServer?.java:503)
2010/10/30 13:38:16 | at org.mortbay.http.SocketListener?.start(SocketListener?.java:204)
2010/10/30 13:38:16 | at org.mortbay.http.HttpServer?.doStart(HttpServer?.java:716)
2010/10/30 13:38:16 | at org.mortbay.util.Container.start(Container.java:72)
2010/10/30 13:38:16 | at net.i2p.router.web.RouterConsoleRunner?.startConsole(RouterConsoleRunner?.java:156)
2010/10/30 13:38:16 | at net.i2p.router.web.RouterConsoleRunner?.main(RouterConsoleRunner?.java:62)
2010/10/30 13:38:16 | at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
2010/10/30 13:38:16 | at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39)
2010/10/30 13:38:16 | at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
2010/10/30 13:38:16 | at java.lang.reflect.Method.invoke(Method.java:597)
2010/10/30 13:38:16 | at net.i2p.router.startup.LoadClientAppsJob?$RunApp?.run(LoadClientAppsJob?.java:238)
2010/10/30 13:38:16 | at java.lang.Thread.run(Thread.java:662)
2010/10/30 13:38:16 | at net.i2p.util.I2PThread.run(I2PThread.java:77)
2010/10/30 13:38:44 | 30.10.2010 11:38:44 org.mortbay.http.HttpServer? doStart
I2P version: 0.8-0
Java version: Sun Microsystems Inc. 1.6.0_22 (Java™ SE Runtime Environment 1.6.0_22-b04)
Platform: Linux amd64 2.6.32.xx
Processor: uninitialized (athlon64)
Jbigi: Locally optimized native BigInteger? library loaded from the library path
Encoding: UTF-8
Subtickets
Change History (5)
comment:1 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Priority: | major → trivial |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
Version: | → 0.8 |
Please take note.
This error might not be, because:
,——[ wrapper.config ]
| # After Debian upgrade:
| # java.net.SocketException?: Network is unreachable :: ipv6 IPV6
| wrapper.java.additional.5=-Djava.net.preferIPv6Addresses=false
| wrapper.java.additional.6=-Djava.net.preferIPv4Stack=true
|
| # Initial Java Heap Size (in MB)
`——
In my opinion, belongs into the FAQ.
comment:3 Changed 10 years ago by
Component: | router/general → www |
---|
Still, it gives you the solution:
2010/10/30 13:38:16 | WARNING: Error starting one or more listeners of the Router Console server.
2010/10/30 13:38:16 | If your console is still accessible at http://127.0.0.1:7657/,
2010/10/30 13:38:16 | this may be a problem only with binding to the IPV6 address ::1.
2010/10/30 13:38:16 | If so, you may ignore this error, or remove the
2010/10/30 13:38:16 | "::1," in the "clientApp.0.args" line of the clients.config file.
If the "bug" is that it should be in the FAQ, I'll change it to a www bug.
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Added to FAQ at http://www.i2p2.i2p/faq#protocolfamily
comment:5 Changed 10 years ago by
Cc: | killyourtv added |
---|
It says exactly how to fix this at the top of the logs you posted.