It is currently 26 Apr 2024, 00:54
   
Text Size

another server is already started?

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

another server is already started?

Postby Deadpool » 22 May 2015, 18:04

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,
Deadpool
 
Posts: 28
Joined: 23 Oct 2009, 20:42
Has thanked: 3 times
Been thanked: 2 times

Re: another server is already started?

Postby LevelX » 22 May 2015, 18:55

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.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: another server is already started?

Postby Deadpool » 22 May 2015, 21:25

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
Deadpool
 
Posts: 28
Joined: 23 Oct 2009, 20:42
Has thanked: 3 times
Been thanked: 2 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 176 guests


Who is online

In total there are 176 users online :: 0 registered, 0 hidden and 176 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 176 guests

Login Form