Auf meinem neu installierten Squeeze kann ich leider nicht auf meine hsqldb auf localhost verbinden.
Server läuft noch nicht:
Code: Alles auswählen
ben:~# netstat -an | grep 9001
ben:~#
Code: Alles auswählen
ben:~# netstat -an | grep 9001
tcp6 0 0 :::9001 :::* LISTEN
ben:~#
Code: Alles auswählen
ben:~# telnet localhost 9001
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ben:~#
Code: Alles auswählen
ben:~# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^C
Connection closed by foreign host.
ben:~#
Code: Alles auswählen
[Server@291aff]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@291aff]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@291aff]: Startup sequence initiated from main() method
[Server@291aff]: Loaded properties from [/var/lib/hsqldb/server.properties]
[Server@291aff]: Initiating startup sequence...
[Server@291aff]: [Thread[HSQLDB Server @291aff,5,main]]: run()/openServerSocket():
java.net.SocketException: Invalid argument
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.hsqldb.HsqlSocketFactory.createServerSocket(Unknown Source)
at org.hsqldb.Server.openServerSocket(Unknown Source)
at org.hsqldb.Server.run(Unknown Source)
at org.hsqldb.Server.access$000(Unknown Source)
at org.hsqldb.Server$ServerThread.run(Unknown Source)
[Server@291aff]: Initiating shutdown sequence...
[Server@291aff]: Shutdown sequence completed in 10 ms.
[Server@291aff]: 2010-02-23 10:57:49.429 SHUTDOWN : System.exit() was not called
Code: Alles auswählen
ben:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ben:~#
Gibts bei Squeeze irgendetwas zu beachten was ich noch einstellen muss?
Danke!
EDIT:
Titel geändert von "Keine Verbindung zu localhost (hsqldb-server) möglich"