Closed Sc0r closed 4 years ago
Instances should be independent, so any instance should not depend on any other instances to start.
Does /var/log/arktools/arkserver.log
give any indication why it would have exited?
Heh just realised I posted the admin passwords public. Smooth move.
thank you, didnt know there actually is something to work with.
I can make no sense of that errormessage and filepath though.
2020-06-14 11:29:01: [crystal] 2020-06-14 11:29:01: start
2020-06-14 11:29:01: [crystal] 2020-06-14 11:29:01: Running /home/gameservers/TheArk/crystal/ShooterGame/Binaries/Linux/ShooterGameServer CrystalIsles\?RCONEnabled=True\?RCONPort=32330\?SessionName=Mangoland\ Crystal\ Isles\?Port=7778\?QueryPort=27016\?ServerPassword\?ServerAdminPassword=MeowLaserMango\?MaxPlayers=70\?GameModIds=2047318996\,2112724006\,731604991\,1587892307\,539464369\,558651608\,618916953\,679529026\,741203089\,804312798\,880871931\,1091147617\,1404697612\,1846109576\,1928871727\,1963444664\,2053416662\,1409757911\,783163029\,821530042\,1207157150\,2024119790\,2024119790\,2047318996\,2053416662\,2112724006\,539464369\,558651608\,618916953\,679529026\,731604991\,741203089\,783163029\,804312798\,821530042\,880871931\?ServerPassword\?listen
2020-06-14 11:29:01: [crystal] 2020-06-14 11:29:01: Server PID: 25686
2020-06-14 11:29:02: [crystal] [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
2020-06-14 11:29:02: [crystal] Setting breakpad minidump AppID = 346110
2020-06-14 11:29:02: [crystal] LowLevelFatalError [File:F:\build\Live311Jenkins\Engine\Source\Runtime\Core\Private\Linux\LinuxPlatformProcess.cpp] [Line: 652]
2020-06-14 11:29:02: [crystal] FLinuxPlatformProcess::WaitForProc: waitid for pid -1 failed (errno=22, Invalid argument)
2020-06-14 11:29:02: [crystal] Signal 11 caught.
2020-06-14 11:29:06: [crystal] /usr/local/bin/arkmanager: line 1189: 25686 Segmentation fault "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
2020-06-14 11:29:06: [crystal] 2020-06-14 11:29:06: Bad PID ''; expected '25686'
2020-06-14 11:29:06: [crystal] 2020-06-14 11:29:06: exited with status 0
I found a forumpost regarding this, I should execute it from the ShooterGameServer folder.. but doesn't arkmanager do that automatically?
to avoid this issues you have to enter the directory of "ShooterGameServer" first:
Like:
#!/bin/sh
cd ~/games/ark/ShooterGame/Binaries/Linux && ./ShooterGameServer TheIsland?listen?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=123 -automanagemods
another post here with the same issue resolved it by removing automanagemods from GameUserSettings. but as you can see, I dont have that. odd.
The first thing doRun
does is cd "${arkserverroot}/${arkserverexec%/*}"
, which changes the working directory to that in which the ShooterGameServer
executable is in.
I strongly suspect that it now defaults to always having AutoManagedMods
enabled, and tries to execute steamcmd
to update its mods. If steamcmd is not present, then executing it will fail, and so I suspect a call that should have never returned will return, resulting in it calling waitpid(-1)
.
It seems that if any mods needed to be updated it then forks and re-executes itself, which will break any monitors (including arkmanager).
oof ok sounds about right. I've copied the entire SteamCMD from my user to //home/gameservers/TheArk/Engine/Binaries/ThirdParty/SteamCMD/Linux
CORRECTION I was a muppet, I put it in the wrong instance. it seems to boot up!
I've just created my first Ark instances on my debian server with this tool and I'd like to get it running somehow. Later on I might try to create a cluster. Instances @main and @crystal Does @main need to run so I could start crystal?
When I try to launch it, it always re-downloads 3 of about 9 mods and claims it starting. But it is not for some reason. Unfortunately I can't find a way to launch it
here's my arkserver.cfg
crystal.cfg
GameUserSettings.ini