nick slegers
2018-10-12 12:37:00 UTC
After a few weeks of using the h2 database engine, i got the folowing error
message and now i can't use the database anymore. I tried
uninstalling/removing h2 from my system and restarted the pc multiple times.
The Web Console server could not be started. Possible cause: another server
is already running at http://10.140.66.30:8082
Root cause: IO Exception: "java.net.SocketException: Permission denied:
listen failed"; "port: 8082 ssl: false" [90031-196]
The TCP server could not be started. Possible cause: another server is
already running at tcp://10.140.66.30:9092
Root cause: IO Exception: "java.net.SocketException: Permission denied:
listen failed"; "port: 0 ssl: false" [90031-196]
The PG server could not be started. Possible cause: another server is
already running at pg://10.140.66.30:5435
Root cause: IO Exception: "java.net.SocketException: Permission denied:
listen failed"; "port: 0 ssl: false" [90031-196]
Exception in thread "main" org.h2.jdbc.JdbcSQLException: IO Exception:
"java.net.SocketException: Permission denied: listen failed"; "port: 8082
ssl: false" [90031-196]
at
org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at
org.h2.message.DbException.convertIOException(DbException.java:330)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:183)
at org.h2.util.NetUtils.createServerSocket(NetUtils.java:146)
at org.h2.server.web.WebServer.start(WebServer.java:342)
at org.h2.tools.Server.start(Server.java:484)
at org.h2.tools.Console.runTool(Console.java:234)
at org.h2.tools.Console.main(Console.java:102)
Caused by: java.net.SocketException: Permission denied: listen failed
at java.base/java.net.DualStackPlainSocketImpl.listen0(Native
Method)
at java.base/java.net.DualStackPlainSocketImpl.socketListen(Unknown
Source)
at java.base/java.net.PlainSocketImpl.socketListen(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.listen(Unknown Source)
at java.base/java.net.ServerSocket.bind(Unknown Source)
at java.base/java.net.ServerSocket.<init>(Unknown Source)
at java.base/java.net.ServerSocket.<init>(Unknown Source)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:176)
... 5 more
If i check with netstat if an other service is using the port i get no
results. How could i solve this problem?
EDIT:
I'm using h2-2017-06-10 on windows 10
message and now i can't use the database anymore. I tried
uninstalling/removing h2 from my system and restarted the pc multiple times.
The Web Console server could not be started. Possible cause: another server
is already running at http://10.140.66.30:8082
Root cause: IO Exception: "java.net.SocketException: Permission denied:
listen failed"; "port: 8082 ssl: false" [90031-196]
The TCP server could not be started. Possible cause: another server is
already running at tcp://10.140.66.30:9092
Root cause: IO Exception: "java.net.SocketException: Permission denied:
listen failed"; "port: 0 ssl: false" [90031-196]
The PG server could not be started. Possible cause: another server is
already running at pg://10.140.66.30:5435
Root cause: IO Exception: "java.net.SocketException: Permission denied:
listen failed"; "port: 0 ssl: false" [90031-196]
Exception in thread "main" org.h2.jdbc.JdbcSQLException: IO Exception:
"java.net.SocketException: Permission denied: listen failed"; "port: 8082
ssl: false" [90031-196]
at
org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:168)
at
org.h2.message.DbException.convertIOException(DbException.java:330)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:183)
at org.h2.util.NetUtils.createServerSocket(NetUtils.java:146)
at org.h2.server.web.WebServer.start(WebServer.java:342)
at org.h2.tools.Server.start(Server.java:484)
at org.h2.tools.Console.runTool(Console.java:234)
at org.h2.tools.Console.main(Console.java:102)
Caused by: java.net.SocketException: Permission denied: listen failed
at java.base/java.net.DualStackPlainSocketImpl.listen0(Native
Method)
at java.base/java.net.DualStackPlainSocketImpl.socketListen(Unknown
Source)
at java.base/java.net.PlainSocketImpl.socketListen(Unknown Source)
at java.base/java.net.AbstractPlainSocketImpl.listen(Unknown Source)
at java.base/java.net.ServerSocket.bind(Unknown Source)
at java.base/java.net.ServerSocket.<init>(Unknown Source)
at java.base/java.net.ServerSocket.<init>(Unknown Source)
at org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:176)
... 5 more
If i check with netstat if an other service is using the port i get no
results. How could i solve this problem?
EDIT:
I'm using h2-2017-06-10 on windows 10
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+***@googlegroups.com.
To post to this group, send email to h2-***@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+***@googlegroups.com.
To post to this group, send email to h2-***@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.