arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
680 stars 144 forks source link

Rcon service not starting #1085

Open nerrad567 opened 4 years ago

nerrad567 commented 4 years ago

Hi, Rcon service does not start when using arkmanager but does when launching game directly this is a fresh install on linux Ubuntu 18.04

ports in use:


> ~$ sudo lsof -i -P -n
> COMMAND     PID            USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> systemd-r   869 systemd-resolve   12u  IPv4  31936      0t0  UDP 127.0.0.53:53
> 
> systemd-r   869 systemd-resolve   13u  IPv4  31937      0t0  TCP 127.0.0.53:53 (LISTEN)
> 
> sshd       1096            root    3u  IPv4  13913      0t0  TCP *:22 (LISTEN)
> 
> sshd       1096            root    4u  IPv6  13915      0t0  TCP *:22 (LISTEN)
> 
> ShooterGa 24623          USER   11u  IPv4 124391      0t0  UDP *:27015
> 
> ShooterGa 24623          USER   18u  IPv4 124955      0t0  UDP *:7778

/var/log/arktools/arkmanager.log:


> 2020-04-11 20:07:59: restart
> 
> 2020-04-11 20:07:59: [main] Checking for updates before starting
> 
> 2020-04-11 20:07:59: [main] Checking for update; PID: 24469
> 
> 2020-04-11 20:08:08: [main] Your server is already up to date! The most recent version is 4885916.
> 
> 2020-04-11 20:08:08: [main] The server is starting...
> 
> 2020-04-11 20:08:08: [main] The server is now running, and should be up within 10 minutes
> 

/var/log/arktools/arkserver.log


> 2020-04-11 20:08:08: [main] 2020-04-11 20:08:08: start
> 
> 2020-04-11 20:08:08: [main] 2020-04-11 20:08:08: Running 
> 
> /home/USER/ARK/ShooterGame/Binaries/Linux/ShooterGameServer Genesis\?RCONEnabled=True\?RCONPort=27020\?SessionName=ARK\ Server\ Tools\?Port=7777\?QueryPort=27015\?ServerPassword=1234\?ServerAdminPassword=12345\?MaxPlayers=25\?GameModIds=693416678\,\ 731604991\,\ 849372965\,\ 1211297684\?listen
> 
> 2020-04-11 20:08:08: [main] 2020-04-11 20:08:08: Server PID: 24623
> 
> 2020-04-11 20:08:08: [main] [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
> 
> 2020-04-11 20:08:08: [main] Setting breakpad minidump AppID = 346110
> 
> 2020-04-11 20:09:05: [main] 2020-04-11 20:09:05: server is up

Any ideas what I could be doing wrong and is there a switch i can use to enable verbose / debug output?

klightspeed commented 4 years ago

Adding arkflag_serverlog=true to your instance config (which will add -serverlog to the game server's command-line) should have the server write to a log file in /home/USER/ARK/ShooterGame/Saved/Logs

JulianGogK24 commented 4 years ago

Did you specify the RCON port in the config file?

klightspeed commented 4 years ago

If the GameUserSettings.ini is write protected, and it doesn't have the RCONEnabled option, then it's possible the lack of that option in that file could result in the RCON port not being opened despite the option being specified in the server option string.

Alphakilo commented 4 years ago

@nerrad567 was that the case?