KuperRac Posted June 2, 2015 Share Posted June 2, 2015 I started on a dedicated server today on Linux Desktop (Linux Mint) and everything was going fine, even got the server to boot. Now that I have edited the settings.ini I keep getting the followiing error when trying to start the server: ModIndex: Load sequence finished successfully. Reset() returning[200] Account Communication Success (6)[ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_8-xPN4HlStarting Dedicated Server Game Network tick rate: U=30(1), D=0Setting up socket descriptorsUnknown bind__() error -1.Unknown bind__() error -1.[Error] Server failed to start!Unhandled exception during server startup: RakNet UDP startup failed: SOCKET_PORT_ALREADY_IN_USE (5)PushNetworkDisconnectEvent With Reason: "ID_DST_INITIALIZATION_FAILED", reset: falseDetails: SOCKET_PORT_ALREADY_IN_USE Any ideas would be great! Let me know if you need more information. I attached my settings.ini for ref.settings.ini Link to comment Share on other sites More sharing options...
KuperRac Posted June 2, 2015 Author Share Posted June 2, 2015 I tried to start the game and it turns out I cant even host a server from the game. It give me the same error. Link to comment Share on other sites More sharing options...
DedicatedServer25 Posted June 2, 2015 Share Posted June 2, 2015 It might be that you have to use a different port for your server. Link to comment Share on other sites More sharing options...
KuperRac Posted June 2, 2015 Author Share Posted June 2, 2015 It might be that you have to use a different port for your server. Tried 10999, 11002, and defualt. Link to comment Share on other sites More sharing options...
ToNiO55 Posted June 3, 2015 Share Posted June 3, 2015 Hi @KuperRac, do you use "iptables" for open your port? iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 10999 -j ACCEPT after that try to see if this port is activated netstat -an | grep "LISTEN " the port is also open on your router? Link to comment Share on other sites More sharing options...
DedicatedServer25 Posted June 3, 2015 Share Posted June 3, 2015 Tried 10999, 11002, and defualt. On your setting add this line: server_port = 10998 I think your not suppose to use 10999 port (can someone correct me on this if i am wrong), I use the port 10998. Make sure to open that port in your router. Link to comment Share on other sites More sharing options...
Ronmi Posted June 3, 2015 Share Posted June 3, 2015 I started on a dedicated server today on Linux Desktop (Linux Mint) and everything was going fine, even got the server to boot. Now that I have edited the settings.ini I keep getting the followiing error when trying to start the server: ModIndex: Load sequence finished successfully. Reset() returning[200] Account Communication Success (6)[ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_8-xPN4HlStarting Dedicated Server Game Network tick rate: U=30(1), D=0Setting up socket descriptorsUnknown bind__() error -1.Unknown bind__() error -1.[Error] Server failed to start!Unhandled exception during server startup: RakNet UDP startup failed: SOCKET_PORT_ALREADY_IN_USE (5)PushNetworkDisconnectEvent With Reason: "ID_DST_INITIALIZATION_FAILED", reset: falseDetails: SOCKET_PORT_ALREADY_IN_USE Any ideas would be great! Let me know if you need more information. I attached my settings.ini for ref. According to the last few lines, there's another program occupied the port. If you're tring to start two (or more) servers in same machine, you have to use different port in each. If not, useps ax|grep -F dontstarve_dedicated_server_nullrendererto check if there's another server process running and kill it if needed. Link to comment Share on other sites More sharing options...
KuperRac Posted June 7, 2015 Author Share Posted June 7, 2015 Thanks everyone for your input. I tried changeing my port to 10998 and everything seemed to be going well. I was unable to find my own sever on in made on another machine so I tried to close it down. When trying to start it back up I got the same error. I triedkuper@Minty ~ $ ps ax|grep -F dontstarve_dedicated_server_nullrendereras recommended and this is what I got back. kuper@Minty ~ $ ps ax|grep -F dontstarve_dedicated_server_nullrenderer19986 ? Ss 0:00 /usr/bin/SCREEN -S DST /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console19987 pts/6 Ss+ 0:00 /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console19988 pts/6 Sl+ 2:18 ./dontstarve_dedicated_server_nullrenderer -console20284 ? Ss 0:00 /usr/bin/SCREEN -S DST /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console20285 pts/7 Ss+ 0:00 /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console20286 pts/7 Sl+ 0:04 ./dontstarve_dedicated_server_nullrenderer -console20317 pts/2 S+ 0:00 grep --colour=auto -F dontstarve_dedicated_server_nullrenderer Link to comment Share on other sites More sharing options...
Ronmi Posted June 9, 2015 Share Posted June 9, 2015 kuper@Minty ~ $ ps ax|grep -F dontstarve_dedicated_server_nullrenderer19986 ? Ss 0:00 /usr/bin/SCREEN -S DST /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console19987 pts/6 Ss+ 0:00 /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console19988 pts/6 Sl+ 2:18 ./dontstarve_dedicated_server_nullrenderer -console20284 ? Ss 0:00 /usr/bin/SCREEN -S DST /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console20285 pts/7 Ss+ 0:00 /bin/sh -c ./dontstarve_dedicated_server_nullrenderer -console20286 pts/7 Sl+ 0:04 ./dontstarve_dedicated_server_nullrenderer -console20317 pts/2 S+ 0:00 grep --colour=auto -F dontstarve_dedicated_server_nullrenderer Seems you have two servers running at the same time. As these servers do not start with '-conf' argument, I'm wondering are you tried start your server several times? If you are not going to provide multiple different game server and you are mean to start only one server, kill these process via (have a notice on the numbers)kill 19986 19987 19988 20284 20285 20286After killing the server, you can issue another 'ps ax | grep blabla' to ensure processes exited, then try to start your server again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.