Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Server marked as "starting" instead of "running" when using BIND #754

Closed
Dr3Ame3r opened this issue Oct 23, 2020 · 5 comments · Fixed by #767
Closed

Server marked as "starting" instead of "running" when using BIND #754

Dr3Ame3r opened this issue Oct 23, 2020 · 5 comments · Fixed by #767

Comments

@Dr3Ame3r
Copy link

Dr3Ame3r commented Oct 23, 2020

Panel Version: 1.0.2(latest)
Daemon Version: 1.0.1(latest)
Service: SA-MP(game_samp image)
Modified: (yes/no) No, haven't changed anything, just added bind in server.cfg

If you're using SA-MP Egg to run a san andreas server, the panel will mark your server as "starting" IF you use BIND to make it listen to specific IP(your container ip to be precise), but, there is a BUT, if you restart the daemon, it marks it as started

Linux v: Linux games2 5.5.0-18.1-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.5-22.1~buster (2020-04-18) x86_64 GNU/Linux

Docker info:
https://paste.gg/p/anonymous/c8d6f13f14e34e368342d4365bf8e26e

Reproducing the issue:

`

  1. Deploy a new SA-MP server with the standard egg
  2. Start the server without changing anything(it will be marked as running)
  3. Stop the server
  4. Open server.cfg
  5. Add "bind ip.ip.ip.ip" #-- IN SERVER.cfg, it will not work in startup after ./samp03svr "
  6. Restart the server, you will have it marked as "starting" now.
  7. systemctl wings restart ( to mark it as running)
    `

Expected behavior
X: Mark it as running without restarting wings

I am using HOST setup! So the ip doesn't change at all

Without BIND, serverinfo looks like this
http://prntscr.com/v586zf
instead of
http://prntscr.com/v587hy

@parkervcp
Copy link
Collaborator

I am not seeing this issue.

My current startup is ./samp03svr bind {{SERVER_IP}} and it seems to be binding fine.

@Dr3Ame3r
Copy link
Author

No, bind there doesn't work, you have to place it in server.cfg! Otherwise you won't have game status into SA-MP client

@Dr3Ame3r
Copy link
Author

Should we re-open this as it hasn't been properly tested?

@parkervcp parkervcp reopened this Oct 28, 2020
@parkervcp
Copy link
Collaborator

I want to call it that this was not clearly described to me.

@Dr3Ame3r
Copy link
Author

I wrote "open server.cfg", but, let me edit it a bit
#done

parkervcp added a commit that referenced this issue Oct 28, 2020
Fixes startup when using bind in config 

resolves #754
@parkervcp parkervcp mentioned this issue Oct 28, 2020
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants