arkmanager / ark-server-tools

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

Aborted (core dumped) "$arkserverroot/$arkserverexec" ... #1278

Closed LotekHeavy closed 3 months ago

LotekHeavy commented 3 months ago

I can start and stop my ark instances without any problem, but after every arkmanager stop --saveworld @island I will see an error in the logfile of the arkmanager:

line 1318: 100721 Aborted (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

Im running Ubuntu 24.04 LTS, but had this also with my old Ubuntu 20.04 LTS...I use a systemd for initial starting my 8 ark instances, but for updating and restarting I use cronjobs with arkmanager directly.

Full Logfile from a start to stop:

2024-08-06 21:51:52: [island] 2024-08-06 21:51:52: start
2024-08-06 21:51:53: [island] 2024-08-06 21:51:52: Running /home/ark/maps/island/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?RCONEnabled=True\?RCONPort=17205\?SessionName=v2\ island.bukanier.org\ \(Heimatkarte\)\?Port=7000\?QueryPort=17000\?ServerPassword=xxx\?ServerAdminPassword=xxxxxx\?MaxPlayers=30\?GameModIds=3107853072\,1999447172\,1609138312\,2246809471\,670764308\,898049820\,2967106628\,1136125765\,2819326956\,2016338122\,2021297623\,2337665293\,2307661303\,1295978823\,2198615778\?listen -NoTransferFromFiltering -servergamelog -ServerRCONOutputTribeLogs -Servergamelogincludetribelog -AutoDestroyStructures -structurememopts -noundermeshkilling -EnableIdlePlayerKick -clusterid=xxxxxxx -ClusterDirOverride=/home/ark/maps -ActiveEvent=None -NoBattlEye
2024-08-06 21:51:53: [island] 2024-08-06 21:51:53: Server PID: 100721
2024-08-06 21:51:53: [island] [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
2024-08-06 21:51:53: [island] Setting breakpad minidump AppID = 346110
2024-08-06 21:52:19: [island] 2024-08-06 21:52:19: server is up
2024-08-06 21:53:35: [island] /home/ark/bin/arkmanager: line 1318: 100721 Aborted                 (core dumped) "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"
LotekHeavy commented 3 months ago

maybe aborted (core dumped) is not that wrong (I found this https://github.com/arkmanager/ark-server-tools/issues/1030#issuecomment-513593977), but iwhy then it show this things: "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

thanks for clarify... :)

klightspeed commented 3 months ago

maybe aborted (core dumped) is not that wrong (I found this #1030 (comment)), but iwhy then it show this things: "$arkserverroot/$arkserverexec" "$arkserveropts" "${arkextraopts[@]}"

thanks for clarify... :)

bash prints out the raw unexpanded command that launched the child process that was terminated by a signal.

https://github.com/arkmanager/ark-server-tools/blob/4349b4b3c0cca6911a730fd6ea414d7998459e14/tools/arkmanager#L1340