Hey,
I put a server up with a DNS and everything works fine but I have trouble getting my server added to the lobby.
Now, the weird part:
I made a cronjob:
@reboot /usr/local/bin/noip2
@reboot /x/x/x/soldatserver -d
Everything works fine - The DNS is updating in a 2 minutes interval and people can join my server and use the fileclient.
But the server is not shown on the lobby.
When I shutdown the server and do /x/x/soldatserver it will be registered to the lobby.
Also, I can not connect to the server with my DNS domain through ARSSE. Connecting with the domain as an IP from ingame works though.
Also, I can't add the server to soldatladder.net/monitor - That didn't even work with the numerical IP to which the domain redirects to.
Server: vs.sytes.net:1337
PS: After several tries I beleive it has something to do with the crontab.
When running the server 'manually' with ./soldatserver -d or ./soldatserver via Putty it works fine and registers to the Lobby.
When rebooting the machine - and letting the server run via crontab it does not work.
EDIT:
Running with crontab:
Welcome to Soldat 1.7.0
Server name: [1on1] vs_mode
Server PID: 661
- Preparing scripts to be launched
- Compiling Commands -> core.pas...
- Commands compiled
LobbyServer (defaultlobby.soldat.pl) is offline - (Retrying in 2 minutes)Running the server manually:
Welcome to Soldat 1.7.0
Server name: [1on1] vs_mode
Server PID: 3977
- Preparing scripts to be launched
- Compiling Commands -> core.pas...
- Commands compiled
- Done
----------------------------------------------------------------
by darDar
Server IP: 0.0.0.0 Port: 1337
Connection for file server started. Port: 1347
Registering server @ defaultlobby.soldat.plEdit2:
[23:09:59 07-Feb-16] <helloer> well @reboot starts soldatserver too early, dns is not up by then
[23:10:23 07-Feb-16] <helloer> i added sleep 300 (seconds) in crontab so server starts after 5 min
@reboot cd /home/user/serverfolder; sleep 150 && ./soldatserver -d > serverstartlog 2>&1
Thanks a lot, resolved!
PS: Still can't connect through the domain via ARSSE.