LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[ARK] Restart script issue.

Open TOXid opened this issue 10 years ago • 5 comments

Restart script does not pause between Stop and Start function, so server does not have time to release ports and result of execute Restart function is CreateBoundSocket: ::bind couldn't find an open port between 27015 and 27015.

TOXid avatar May 05 '16 22:05 TOXid

I have a working fix for this ready for a pull but would like a second/third set of eyes on the actual crux of the issue (rather than just a fix for it).

Can someone confirm:

  • Changing "QueryPort=" in serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini has no effect on the actual port used in the game. None. Changing this to anything other than 27015 and starting the server has no effect. This is problematic because ./arkserver details - info_config.sh specifically - pulls this (incorrect) information to report the ports used.
  • When issuing "./arkserver stop", a rogue ShooterGame process is left bound on both "Port+1" and "QueryPort".
  • This process does not exit gracefully within a reasonable amount of time.

ADVthanksANCE

cedarlug avatar May 19 '16 12:05 cedarlug

Please put the request in to the development branch when you are ready :+1:

dgibbs64 avatar May 19 '16 14:05 dgibbs64

Has this been fully resolved with https://github.com/dgibbs64/linuxgsm/pull/828 ? If so this can be closed. I have merged the ARK fix in to master now

dgibbs64 avatar May 24 '16 18:05 dgibbs64

Yes - merged with master #828 closes this

cedarlug avatar May 24 '16 19:05 cedarlug

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jul 19 '18 12:07 lock[bot]