arkmanager / ark-server-tools

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

arkflag_automanagedmods=true coredump #1090

Open kdulep opened 4 years ago

kdulep commented 4 years ago

arkflag_automanagedmods=true prevents server from starting correctly - doesnt appear in server list but status says its up

logs contain 2020-04-29 23:33:53: [genesis] /usr/local/bin/arkmanager: line 1189: 14307 Aborted (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

kdulep commented 4 years ago

[2020.04.29-23.21.11:224][ 0]Commandline: "Genesis?RCONEnabled=True?RCONPort=32330?SessionName=0ZEN ARK-S?Port=7777?QueryPort=27016?ServerPassword=******?ServerAdminPassword=*******?MaxPlayers=70?GameModIds=761535755,1404697612?AltSaveDirectoryName=Genesis?ServerPVE=False?ShowMapPlayerLocation=True?TamingSpeedMultiplier=2?HarvestAmountMultiplier=1?XPMultiplier=2?AllowFlyerCarryPvE=True?AllowCaveBuildingPvE=True?NightTimeSpeedScale=2?DayTimeSpeedScale=0.5?DifficultyOffset=5?ServerCrosshair=True?NoTributeDownloads=True?allowThirdPersonPlayer=True?BanListURL=http://playark.com/banlist.txt?RCONServerGameLogBuffer=1200?PreventDownloadSurvivors=False?PreventDownloadItems=False?PreventDownloadDinos=False?PreventUploadSurvivors=False?PreventUploadItems=False?PreventUploadDinos=False?noTributeDownloads=false?listen" -ForceAllowCaveFlyers -ClusterDirOverride=/home/steam/cluster1505 -clusterid=********* -automanagedmods

klightspeed commented 4 years ago

With -automanagedmods, the server won't come up until it has finished updating its configured mods.

From #545:

arkmanager should have downloaded steamcmd into $arkserverroot/Engine/Binaries/ThirdParty/SteamCMD/Linux, which is where the ARK server expects to find it when using the -automanagedmods option.

Does /path/to/ARK/Engine/Binaries/ThirdParty/SteamCMD/Linux exist, and if it does, what are its contents?

kdulep commented 4 years ago

[steam@ark Linux]$ pwd /home/steam/ARK/Engine/Binaries/ThirdParty/SteamCMD/Linux

[steam@ark Linux]$ ll total 2384 drwxrwxr-x. 2 steam steam 182 Apr 29 21:22 linux32 drwxrwxr-x. 2 steam steam 28 Apr 29 21:22 linux64 drwxrwxr-x. 2 steam steam 4096 Apr 29 21:22 package drwxrwxr-x. 2 steam steam 4096 Apr 29 21:22 public drwxrwxr-x. 3 steam steam 21 Apr 29 21:22 siteserverui -rw-rw-r--. 1 steam steam 2428561 Apr 29 21:21 steamcmd_linux.tar.gz -rwxrwxr-x. 1 steam steam 1166 Oct 10 2016 steamcmd.sh

kdulep commented 4 years ago

if i remove flag server starts correctly

kdulep commented 4 years ago

when i try to connect steam://connect/37.79.202.30:27016 it says mods incompatible, but when without flag all ok

kdulep commented 4 years ago

seems server update in progress but doesnt explain strange behavioir Your server is already up to date! The most recent version is 4952627. arkmanager update --update-mods Running command 'update' for instance 'genesis' Checking for update; PID: 26182 Stopping server; reason: update The server has been stopped Performing ARK update ... Update to 4962636 complete The server is starting... The server is now running, and should be up within 10 minutes

Edit: server fails to join despite has connect info (after all updates) steam://connect/37.79.202.30:27016

arkmanager status Running command 'status' for instance 'genesis' Server running: Yes Server PID: 32096 Server listening: Yes Server Name: 0ZEN ARK-S - (v310.47) Players: 0 / 70 Active Players: 0 Server online: Yes ARKServers link: http://arkservers.net/server/37.79.202.30:27016 Steam connect link: steam://connect/37.79.202.30:27016 Server build ID: 4962636

kdulep commented 4 years ago

also coredump when and /or in Game.ini present seems server trying download addons either option flag or config [modinstaller] ModIDS=761535755 ModIDS=1404697612



` Listening for IPv4 broadcast on: 27036
2020-04-30 00:11:55: [genesis] Logged in OK
2020-04-30 00:11:59: [genesis] Waiting for user info...OK
2020-04-30 00:11:59: [genesis] Downloading item 761535755 ...
2020-04-30 00:11:59: [genesis] Success. Downloaded item 761535755 to "/home/steam/Steam/steamapps/workshop/content/346110/761535755" (847474 bytes) Downloading item 1404697612 ...
2020-04-30 00:12:56: [genesis] Success. Downloaded item 1404697612 to "/home/steam/Steam/steamapps/workshop/content/346110/1404697612" (843766 bytes) 2020-04-30 00:12:56: server is up
2020-04-30 00:19:32: [genesis] /usr/local/bin/arkmanager: line 1189: 32096 Aborted                 (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
`
klightspeed commented 4 years ago

2020-04-30 00:12:56: server is up

This says the server did in fact come up.

2020-04-30 00:19:32: [genesis] /usr/local/bin/arkmanager: line 1189: 32096 Aborted (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

This suggests that you shut down the game server about 8 minutes after you started the game.

Note that the game server has always exited by aborting when shutting down gracefully.

If it is actually creating a core dump, and not just saying core dumped, you can try disabling core dump generation (see https://askubuntu.com/questions/873022/how-can-i-completely-prevent-core-dumps)