Jump to content

Host Your Own Ark Survival Ascended Server in LINUX with my Management Script!


acekorneya
 Share

Recommended Posts

3 hours ago, goolux said:

Hi,

Thanks for the Docker image.

I'm getting the following error message:

01cc:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 01cc, blocked by 0178, retrying (60 sec)
01c8:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 01c8, blocked by 0178, retrying (60 sec)
017c:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 017c, blocked by 0178, retrying (60 sec)

It looks like the server is starting up, and I can see that it's using around 5-6 GB of memory, but then the error message appears and it shuts down to around 500 MB of RAM.

File structure:

drwxrwxrwx 3 1001 1001  19 Nov  1 23:49 Binaries/
-rw-r--r-- 1 root root   9 Nov  2 07:52 build_id.txt
drwxrwxrwx 2 1001 1001   6 Nov  1 23:39 Cluster/
drwxrwxrwx 5 1001 1001  46 Nov  1 23:53 Content/
drwxrwxrwx 4 1001 1001  34 Nov  1 23:53 Plugins/
drwxrwxrwx 5 1001 1001  49 Nov  1 23:54 Saved/

 

drwxrwxrwx 4  1001  1001 281 Nov  1 23:49 'ARK Survival Ascended Dedicated Server'/
drwxrwxrwx 7  1001  1001 100 Nov  2 07:52  ASA/
drwxrwxrwx 2  1001  1001   6 Nov  1 21:26  Cluster/
-rwxrwxrwx 1  1001  1001 991 Nov  1 23:35  docker-compose.yml*

 


This is abnormal, as the build_id.txt file should not be owned by root?

 

 

Me too, also had this error

grafik.png.b5fb679ddc6339e1e01605f6ee2d7da1.png

If you have this error you can find the file in this directory:
/var/lib/docker/overlay2/53742577039c9c592da7e13b359d89ead4eb441ef07d953462f10c8595037768/diff/tmp/.X0-lock

Edited by LuLuksaZip
Link to comment
Share on other sites

6 hours ago, goolux said:

Hi,

Thanks for the Docker image.

I'm getting the following error message:

01cc:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 01cc, blocked by 0178, retrying (60 sec)
01c8:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 01c8, blocked by 0178, retrying (60 sec)
017c:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 017c, blocked by 0178, retrying (60 sec)

It looks like the server is starting up, and I can see that it's using around 5-6 GB of memory, but then the error message appears and it shuts down to around 500 MB of RAM.

File structure:

drwxrwxrwx 3 1001 1001  19 Nov  1 23:49 Binaries/
-rw-r--r-- 1 root root   9 Nov  2 07:52 build_id.txt
drwxrwxrwx 2 1001 1001   6 Nov  1 23:39 Cluster/
drwxrwxrwx 5 1001 1001  46 Nov  1 23:53 Content/
drwxrwxrwx 4 1001 1001  34 Nov  1 23:53 Plugins/
drwxrwxrwx 5 1001 1001  49 Nov  1 23:54 Saved/

 

drwxrwxrwx 4  1001  1001 281 Nov  1 23:49 'ARK Survival Ascended Dedicated Server'/
drwxrwxrwx 7  1001  1001 100 Nov  2 07:52  ASA/
drwxrwxrwx 2  1001  1001   6 Nov  1 21:26  Cluster/
-rwxrwxrwx 1  1001  1001 991 Nov  1 23:35  docker-compose.yml*

 


This is abnormal, as the build_id.txt file should not be owned by root?

 

 

yeah i released a fix for a couple of hour ago my bad was trying to automate the folder creation process etc got a little to ahead of myself lol 

Edited by acekorneya
Link to comment
Share on other sites

4 hours ago, Ferreo said:

Looks like swapping from wine to protonGE fixes this

yeah I still get this error:

 

0314:fixme:gameux:GameExplorerImpl_VerifyAccess (0000000000D20D90, L"C:\\POK\\Steam\\steamapps\\common\\ARK Survival Ascended Dedicated Server\\ShooterGame\\Binaries\\Win64\\ArkAscendedServer.exe", 0000000000B9EAF8)
0364:fixme:imm:ImeSetActiveContext (000000000007005E, 1): stub
0364:fixme:imm:ImmReleaseContext (0000000000050062, 000000000007005E): stub
0314:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000B9C6F0 1 C) semi-stub
0314:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000B9C360 1 C) semi-stub
0368:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 0368, blocked by 0314, retrying (60 sec)
0364:err:sync:RtlpWaitForCriticalSection section 000000000F481588 (null) wait timed out in thread 0364, blocked by 0368, retrying (60 sec)
0318:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 0318, blocked by 0314, retrying (60 sec)

 

Link to comment
Share on other sites

8 minutes ago, goolux said:

yeah I still get this error:

 

0314:fixme:gameux:GameExplorerImpl_VerifyAccess (0000000000D20D90, L"C:\\POK\\Steam\\steamapps\\common\\ARK Survival Ascended Dedicated Server\\ShooterGame\\Binaries\\Win64\\ArkAscendedServer.exe", 0000000000B9EAF8)
0364:fixme:imm:ImeSetActiveContext (000000000007005E, 1): stub
0364:fixme:imm:ImmReleaseContext (0000000000050062, 000000000007005E): stub
0314:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000B9C6F0 1 C) semi-stub
0314:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000B9C360 1 C) semi-stub
0368:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 0368, blocked by 0314, retrying (60 sec)
0364:err:sync:RtlpWaitForCriticalSection section 000000000F481588 (null) wait timed out in thread 0364, blocked by 0368, retrying (60 sec)
0318:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 0318, blocked by 0314, retrying (60 sec)

 

The error message 0368:err:sync:RtlpWaitForCriticalSection section 000000000598A3C8 (null) wait timed out in thread 0368, blocked by 0314, retrying (60 sec) is indicative of a deadlock or a timeout waiting for a resource within the Wine environment.

The application may be exhausting system resources, causing threads to time out while waiting for critical sections to be released. Ensure that the system has adequate resources (CPU, memory) and that the Docker container is not hitting any limits set in the docker-compose.yaml

 

Link to comment
Share on other sites

15 minutes ago, goolux said:

With 8 cores and 32GB of RAM on this VM, I doubt the problem is with the hardware. The compose file is default.. 

OK, I have not tested this using a VM (like something with Proxmox, etc.). I have only tested this with a machine that has Debian Linux installed and Docker and Docker Compose installed. I have not tested this under a VM environment.

so yeah you have enough to run it you might be getting into other issues as you are running this on a VM which i never tested myself 

Edited by acekorneya
Link to comment
Share on other sites

  • acekorneya changed the title to Host Your Own Ark Survival Ascended Server in LINUX with My Docker Image!


asa_Server  | [2023.11.03-21.38.57:760][  0]Full Startup: 11.15 seconds
asa_Server  | [2023.11.03-21.38.57:760][  0]Number of cores 6
asa_Server  | [2023.11.03-21.38.59:843][  1]wp.Runtime.HLOD = "1"
asa_Server  | [2023.11.03-21.39.01:094][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

Cant find the Server in Server List

 

Link to comment
Share on other sites

5 minutes ago, dargonmine said:


asa_Server  | [2023.11.03-21.38.57:760][  0]Full Startup: 11.15 seconds
asa_Server  | [2023.11.03-21.38.57:760][  0]Number of cores 6
asa_Server  | [2023.11.03-21.38.59:843][  1]wp.Runtime.HLOD = "1"
asa_Server  | [2023.11.03-21.39.01:094][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

Cant find the Server in Server List

 

make sure you have the ports forward in your Host machine and also you have to forward the ports in your router to see the server either in-game or using battlemetrics (will take longer to show up) Steam server gui doesn't work with ASA to see i the server is online 

Link to comment
Share on other sites

4 minutes ago, acekorneya said:

mmm.. yeah then there might be something else blocking your connection to your host machine then... from log section you posted it seems like the server started successfully  

I have the exact same Problem. Server seems to run just fine, but i can not connect.
I tried connecting using "open IP" in the ingame console, but i just get a "Timed out" after a while.

Link to comment
Share on other sites

6 minutes ago, dargonmine said:

Did you have Discord ? Maybe you can help me in a call

 

Not home at the moment but feel free to send me a message on discord user name is the same as on here Ace Korneya

3 minutes ago, CubE135 said:

I have the exact same Problem. Server seems to run just fine, but i can not connect.
I tried connecting using "open IP" in the ingame console, but i just get a "Timed out" after a while.

Idk how you guys are running this but for me I have it installed on a Linux machine running debian have docker and docker compose installed and for firewall i used ufw to allow the ports to the host machine and it works perfectly... I have NOT tested this in a VM environment so idk if that could be an issue 

 

Link to comment
Share on other sites

Hello acekorneya,

I have a VM with ubuntu newest version, docker installed. 

I added the 3 folders you mentioned manually. Made the docker-compose file, just used your base template to start.

I port forwarded on router 7777 27015 both tcp/udp protocols.

Ran the docker compose file, took some time on initial launch.

What's strange is I launched the compose and I'll add a screen shot basically where the loading of the server gets to.

I'll also post photo of permissions.

 

I'm pretty sure I seen from someone elses log file that it says something like "Server Started". I don't seem to get that and usually only get to "Primal Game Data....". Then some other LogMemory stuff. I should be expecting something that says "Server Started", along those lines no? Any idea how I can proceed from here or any tips, thanks.

image.png.23e2f0dbb3c4bdcb9b537a811e353447.png

image.png.4700a1c2a43ae3e1d26d22816943735b.png

 

Link to comment
Share on other sites

31 minutes ago, Cevap said:

Hello acekorneya,

I have a VM with ubuntu newest version, docker installed. 

I added the 3 folders you mentioned manually. Made the docker-compose file, just used your base template to start.

I port forwarded on router 7777 27015 both tcp/udp protocols.

Ran the docker compose file, took some time on initial launch.

What's strange is I launched the compose and I'll add a screen shot basically where the loading of the server gets to.

I'll also post photo of permissions.

 

I'm pretty sure I seen from someone elses log file that it says something like "Server Started". I don't seem to get that and usually only get to "Primal Game Data....". Then some other LogMemory stuff. I should be expecting something that says "Server Started", along those lines no? Any idea how I can proceed from here or any tips, thanks.

image.png.23e2f0dbb3c4bdcb9b537a811e353447.png

image.png.4700a1c2a43ae3e1d26d22816943735b.png

 

yeah at that moment my script is over and is all up to the ArkAscendedServer.exe and it will take a while depending on the machine or VM setup (like i said i never tested this in a VM environments) yeah you should see "Primal Game Data took xx. to load" then it will start to load data into ram and you should see it consuming around 12-13GB of Ram to be able to stat up the map 

 

you might need to use something like Ctop to see the running container and the resource usage 

Edited by acekorneya
Link to comment
Share on other sites

I am getting the same issue, not running on a VM.

Interestingly when I connect to the container I can't see the game running, just the script:

$ docker exec -it asa_Server bash
root@ubuntu:/usr/games# ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.0  0.0   7112  3520 ?        Ss   23:00   0:00 /bin/bash /usr/games/scripts/launch_ASA.sh
root          14  0.0  0.1 144552 47256 ?        S    23:00   0:00 Xvfb :0 -screen 0 1024x768x16
root         179  0.0  0.0   5484   516 ?        S    23:02   0:00 sleep infinity
root         209  0.5  0.0   7244  3752 pts/0    Ss   23:29   0:00 bash
root         217  0.0  0.0   8896  3328 pts/0    R+   23:29   0:00 ps aux

Docker log is:
 

$ docker-compose up
Creating asa_Server ... done
Attaching to asa_Server
asa_Server   | Server is up to date. Skipping installation.
asa_Server   | Continuing with server start.
asa_Server   | Cluster directory already exists. Skipping folder creation.
asa_Server   | [2023.11.03-23.01.16:570][  0]LogMemory: Platform Memory Stats for WindowsServer
asa_Server   | [2023.11.03-23.01.16:570][  0]LogMemory: Process Physical Memory: 330.93 MB used, 334.23 MB peak
asa_Server   | [2023.11.03-23.01.16:570][  0]LogMemory: Process Virtual Memory: 304.94 MB used, 304.94 MB peak
asa_Server   | [2023.11.03-23.01.16:570][  0]LogMemory: Physical Memory: 4896.06 MB used,  18969.24 MB free, 23865.30 MB total
asa_Server   | [2023.11.03-23.01.16:570][  0]LogMemory: Virtual Memory: 4896.32 MB used,  35284.99 MB free, 40181.30 MB total
asa_Server   | [2023.11.03-23.01.17:184][  0]ARK Version: 25.69
asa_Server   | [2023.11.03-23.01.17:783][  0]Primal Game Data Took 0.42 seconds
asa_Server   | [2023.11.03-23.01.18:114][  0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
asa_Server   | [2023.11.03-23.01.18:120][  0]BattlEye successfully started.
asa_Server   | [2023.11.03-23.01.18:135][  0]Server: "StusSecretServer" has successfully started!
asa_Server   | [2023.11.03-23.01.34:553][  0]Commandline:  TheIsland_WP?listen?SessionName=XXXX?Port=7777?QueryPort=27015?MaxPlayers=70?ServerAdminPassword=XXXX -clusterid=cluster -ClusterDirOverride=/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame/Cluster -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -NotifyAdminCommandsInChat -useallavailablecores -usecache -nosteamclient -game -server -log
asa_Server   | [2023.11.03-23.01.34:553][  0]Full Startup: 18.65 seconds
asa_Server   | [2023.11.03-23.01.34:553][  0]Number of cores 4
asa_Server   | [2023.11.03-23.01.38:116][  1]wp.Runtime.HLOD = "1"
asa_Server   | [2023.11.03-23.01.40:214][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

 

Edited by BuffyNZ
Link to comment
Share on other sites

Two things:
1 How do I set the server not to use BattleEye?
2 It looks like everything is running and for sure it uses a bunch of memory on the machine and then it suddenly stops, no error message is given, the memory just goes back to idle and I never see any Ark Dedicated server processes in the system monitor:


asa_server  | [2023.11.04-08.07.33:781][  0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
asa_server  | [2023.11.04-08.07.34:034][  0]BattlEye successfully started.
asa_server  | [2023.11.04-08.07.34:077][  0]Server: "Myserver" has successfully started!
asa_server  | [2023.11.04-08.08.04:997][  0]Commandline:  TheIsland_WP?listen?SessionName=Myserver?Port=7777?QueryPort=27015?MaxPlayers=7?ServerAdminPassword=**** -clusterid=cluster -ClusterDirOverride=/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame/Cluster -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -NotifyAdminCommandsInChat -useallavailablecores -usecache -nosteamclient -game -server -log
asa_server  | [2023.11.04-08.08.04:997][  0]Full Startup: 34.87 seconds
asa_server  | [2023.11.04-08.08.04:997][  0]Number of cores 2
asa_server  | [2023.11.04-08.08.11:344][  1]wp.Runtime.HLOD = "1"
asa_server  | [2023.11.04-08.08.14:384][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp
 

Link to comment
Share on other sites

Now I have the other issue like the other users:

 

sa_server  | [2023.11.04-08.08.04:997][  0]Full Startup: 34.87 seconds
asa_server  | [2023.11.04-08.08.04:997][  0]Number of cores 2
asa_server  | [2023.11.04-08.08.11:344][  1]wp.Runtime.HLOD = "1"
asa_server  | [2023.11.04-08.08.14:384][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

Link to comment
Share on other sites

1 hour ago, Turner59 said:

Now I have the other issue like the other users:

 

sa_server  | [2023.11.04-08.08.04:997][  0]Full Startup: 34.87 seconds
asa_server  | [2023.11.04-08.08.04:997][  0]Number of cores 2
asa_server  | [2023.11.04-08.08.11:344][  1]wp.Runtime.HLOD = "1"
asa_server  | [2023.11.04-08.08.14:384][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

Yeah, that's something I'm trying to figure out. My guess is that it has something to do with Wine and the OS, as it seems to start loading assets into RAM and then for some reason crashes the application, so the game doesn't load up even though the log says it started. it seems some people have it and some don't 

Edited by acekorneya
Link to comment
Share on other sites

10 hours ago, acekorneya said:

Yeah, that's something I'm trying to figure out. My guess is that it has something to do with Wine and the OS, as it seems to start loading assets into RAM and then for some reason crashes the application, so the game doesn't load up even though the log says it started. it seems some people have it and some don't 

I've been having the same issue as well, I've been trying to make this work all day. I thought maybe for some reason the ports weren't being forwarded, but I checked my router and they definitely are. Not sure if I need to set up ufw, but I know I didn't have to do that to run an ASE server. Sounds like it may not be port related though.

Link to comment
Share on other sites

  • acekorneya changed the title to Host Your Own Ark Survival Ascended Server in LINUX with my Management Script!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...