Hi, Could you check if a service already opened a listener on port 8082 before trying to start the server? For example using telnet:
telnet localhost 8082 You should get "Connection refused". If not, then there is a service running. If not, then probably there is a problem with the network configuration. Could you run the following in the "h2" directory and post the result?: ./build.sh testNetwork I get: Target: testNetwork localhost:localhost/127.0.0.1 localhost/127.0.0.1 localhost/0:0:0:0:0:0:0:1 localhost/fe80:0:0:0:0:0:0:1%1 getLocalHost:Thomas-Muellers-MacBook-Pro.local/192.168.190.1 /192.168.190.1 byName:/192.168.190.1 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=49161] server accepting client:/192.168.190.1:49161 server accepted:Socket[addr=/192.168.190.1,port=49162,localport=49161] client:Socket[addr=/192.168.190.1,port=49161,localport=49162] server read:123 client read:234 server closing server done done Done in 1654 ms Regards, Thomas On Mon, May 9, 2011 at 5:10 PM, Cronje Fourie <[email protected]>wrote: > Hi all... > > I'm trying to execute H2 database server on a MEPIS 11 64bit > installation and I'm getting no joy :( > > I'm running sun-java6-jdk and the results of "uname -a" is > Linux strider 2.6.36-1-mepis64-smp #1 SMP Thu Mar 31 15:10:33 CDT 2011 > x86_64 GNU/Linux > > It's a fresh installation of Mepis 11 64bit on which I've only > "completely removed" OpenJDK and replaced it with "sun-java6-jdk" > > Executing "h2.sh" from the unzipped bin folder results in > > The Web Console server could not be started. Possible cause: another > server is already running at http://localhost:8082 > Root cause: Exception opening port "H2 Console Server (http:// > localhost:8082)" (port may be in use), cause: > "timeout" [90061-154] > konqueror(12014)/kdecore (KLibrary) findLibraryInternal: plugins > should not have a 'lib' prefix: "libkhtmlpart.so" > konqueror(12014)/kdecore (KLibrary) findLibraryInternal: plugins > should not have a 'lib' prefix: "libkhtmlpart.so" > konqueror(12014)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/ > kde4/libkhtmlpart.so" does not offer a qt_plugin_instance > function. > The TCP server could not be started. Possible cause: another server is > already running at tcp://localhost:9092 > Root cause: Exception opening port "H2 TCP Server (tcp://localhost: > 9092)" (port may be in use), cause: "timeout" [90061-154] > The PG server could not be started. Possible cause: another server is > already running at pg://localhost:5435 > Root cause: Exception opening port "H2 PG Server (pg://localhost: > 5435)" (port may be in use), cause: "timeout" [90061-154] > Exception in thread "main" org.h2.jdbc.JdbcSQLException: Exception > opening port "H2 Console Server (http://localhost:8082)" (port may be > in use), cause: "timeout" [90061-154] > at > org.h2.message.DbException.getJdbcSQLException(DbException.java:327) > at org.h2.message.DbException.get(DbException.java:167) > at org.h2.tools.Server.start(Server.java:377) > at org.h2.tools.Console.runTool(Console.java:231) > at org.h2.tools.Console.main(Console.java:101) > > Any and all help is appreciated. > Cronje > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
