Page 1 of 1

another server is already started?

PostPosted: 22 May 2015, 18:04
by Deadpool
I tried the search for "another server", but didn't see this issue

FATAL 2015-05-22 13:57:58,048 Unable to start MAGE server - another server is already started =>[main] Main.main

I tried "Stop Server", closed out, restarted XMage, then still got that error. How can i fix this?
Thanks,

Re: another server is already started?

PostPosted: 22 May 2015, 18:55
by LevelX
Deadpool wrote:I tried the search for "another server", but didn't see this issue

FATAL 2015-05-22 13:57:58,048 Unable to start MAGE server - another server is already started =>[main] Main.main

I tried "Stop Server", closed out, restarted XMage, then still got that error. How can i fix this?
Thanks,
That means some process is using the port your server tries to listen to. Default should be 17171.
Most probably the xmage server is already started before.
So this shouldn't be the case after a system restart.

You can check which process uses the port if you open a command window an enter the command:
Code: Select all
netstat -a -b -n -o
Then you get a (maybe long) list of processes and the ports they use.
Search for the process that uses the port 17171 (or the port you configured) and you can see the pid (in example 4704) and the name of the process (java.exe).
Code: Select all
 
...
TCP [::]:17171  [::]:0   LISTEN   4704 [java.exe]
TCP [::]:17179  [::]:0   LISTEN   4704 [java.exe]
...
So you can go to the Taskmanager and kill the process that blocks the port if you like.

EDIT:
Or maybe more comfortable for windows os:
Start-> execute -> resmon.exe => Network Tab => Listening Ports Tab
There you see the same and can search the process that already is using the port.

Re: another server is already started?

PostPosted: 22 May 2015, 21:25
by Deadpool
Thanks! I guess the system restart did work... Got the order wrong.

What seems to happen now every time i do a MM2015 draft is:

Draft goes fine. Deck build goes fine. Round one starts. On first player's first turn, the game freezes and never recovers.

Is it possible the default settings need to be edited? My java is latest and my Xmage is 1.4