TAServer don't not start on Ubuntu Gutsy 7.10 [solved]

TAServer don't not start on Ubuntu Gutsy 7.10 [solved]

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
racoon97
Posts: 24
Joined: 12 Dec 2007, 10:38

TAServer don't not start on Ubuntu Gutsy 7.10 [solved]

Post by racoon97 »

Hi all,
I try to run TAServer on my Ubuntu Gutsy to play on LAN but I get this issue :

Code: Select all

$ java -jar TASServer.jar 
TASServer 0.34 started on 2007.12.12 at 03:58:13 GMT
Accounts info file not found, switching to "lan mode" ...
LAN mode enabled
Couldn't find motd.txt. Using default MOTD
Unable to find or read <IP2Country> file. Skipping ...
Could not listen on port: 8200
Server stopped.
Exception in thread "main" java.lang.NullPointerException
        at NATHelpServer.stopServer(NATHelpServer.java:71)
        at TASServer.closeServerAndExit(TASServer.java:387)
        at TASServer.main(TASServer.java:2838)
Unable to start UDP server on port 8201. Ignoring ...
My java version :

Code: Select all

java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
Any help will be greatly appreciated...
Last edited by racoon97 on 12 Dec 2007, 17:52, edited 2 times in total.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

Could not listen on port: 8200
try another then?
or use netstat to see what is using port 8200 and kill it
User avatar
racoon97
Posts: 24
Joined: 12 Dec 2007, 10:38

TAServer works now on my Ubuntu

Post by racoon97 »

Ok yes thanks you're right. There was some another instances of java (SpringLobby I think) active. I have just kill them and run again with this parameters :

Code: Select all

java -jar TASServer.jar -DEBUG 1 -natport 8201 -logmain -port 8200 | tee TASServer.log
TASServer 0.34 started on 2007.12.12 at 04:29:13 GMT
Accounts info file not found, switching to "lan mode" ...
LAN mode enabled
Couldn't find motd.txt. Using default MOTD
Unable to find or read <IP2Country> file. Skipping ...
Port 8200 is open
Listening for connections ...
UDP server started on port 8201
So.. It works now. :wink:

Thank you.
Post Reply

Return to “Linux”