I keep running ARK dedicated server recently. It works fine until updated to the version of Genesis 2(327.21 to 329.7). Every time I start my server now, it will get the same Fatal Error result in around 10 seconds. The crash report is attached to this post. Here below is the log of the server:
[2021.06.05-13.07.15:403][ 0]Log file open, 06/05/21 21:07:15
[2021.06.05-13.07.15:403][ 0]LogMemory: Platform Memory Stats for WindowsServer
[2021.06.05-13.07.15:403][ 0]LogMemory: Process Physical Memory: 81.38 MB used, 81.38 MB peak
[2021.06.05-13.07.15:404][ 0]LogMemory: Process Virtual Memory: 50.52 MB used, 50.65 MB peak
[2021.06.05-13.07.15:404][ 0]LogMemory: Physical Memory: 12854.46 MB used, 32679.49 MB total
[2021.06.05-13.07.15:404][ 0]LogMemory: Virtual Memory: 4475.14 MB used, 134217728.00 MB total
[2021.06.05-13.07.15:799][ 0]ARK Version: 314.9
[2021.06.05-13.07.15:799][ 0]PID: 1748
[2021.06.05-13.07.46:643][ 0]LogMemory: Platform Memory Stats for WindowsServer
[2021.06.05-13.07.46:643][ 0]LogMemory: Process Physical Memory: 396.98 MB used, 423.98 MB peak
[2021.06.05-13.07.46:644][ 0]LogMemory: Process Virtual Memory: 716.10 MB used, 716.27 MB peak
[2021.06.05-13.07.46:644][ 0]LogMemory: Physical Memory: 13201.58 MB used, 32679.49 MB total
[2021.06.05-13.07.46:644][ 0]LogMemory: Virtual Memory: 5237.95 MB used, 134217728.00 MB total
[2021.06.05-13.07.49:776][ 0] - FPlatformMisc::RequestExit(1)
[2021.06.05-13.07.49:776][ 0]Log file closed, 06/05/21 21:07:49
As shown above, I don’t know why the ‘ARK version’ is 314.9. It became this after my ARK update. Previously, the ‘ARK version’ it showed is just the correct ARK version at that time.
I tried to verify the game files of my ARK in steam as well as reinstalling the whole ARK, but this error still here and it is the same every time.
Also, no matter which map I use, it gives the same error and same ‘ARK version’, 314.9..
In addition, my friend also have this problem after the update, and the crash log is very similar as mine as well.
06.05-21.07.49.crashstack
ARK: Survival Evolved – игра о выживании, в которой игрокам предстоит выживать на неизведанных островах и древнейших созданиях. Игра имеет множество режимов, от одиночной игры до онлайн-соревнований на выделенных серверах.
В этой статье мы расскажем, как создать выделенный сервер ARK и какие ошибки могут возникнуть в процессе, а также как их исправить.
Как создать выделенный сервер в ARK
Для создания выделенного сервера в ARK необходимо выполнить следующие шаги:
- Скачайте последнюю версию сервера с официального сайта ARK.
- Создайте папку, в которой вы будете хранить сервер.
- Распакуйте содержимое скачанного архива в созданную папку.
- Откройте порты 7777 (UDP), 27015-27030 (UDP) и 32330 (TCP) в настройках маршрутизатора или файрвола.
- Запустите сервер, запустив файл “ShooterGameServer.exe”.
Ошибки и их исправление
В процессе создания выделенного сервера в ARK могут возникнуть некоторые ошибки. Рассмотрим наиболее распространенные из них и как их исправить.
Ошибка при запуске сервера
Одной из самых распространенных ошибок является невозможность запустить сервер, так как появляется сообщение об ошибке: “Не удалось запустить приложение”. Это может произойти из-за отсутствия необходимых файлов или несоответствия требованиям системы.
Решение: Удалите сервер и скачайте его снова, удостоверившись, что установлены все необходимые компоненты.
Ошибка “Could not retrieve address” (Не удалось получить адрес)
Эта ошибка возникает из-за неправильно настроенного сервера или маршрутизатора.
Решение: Убедитесь, что порты, необходимые для работы сервера, открыты и настроены правильно.
Ошибка “Join Failed” (Не удалось подключиться)
Это сообщение об ошибке может появиться, если сервер не запущен или не работает. Также это может быть вызвано неправильными настройками маршрутизатора.
Решение: Убедитесь, что сервер запущен и настроен правильно. Проверьте настройки маршрутизатора и убедитесь, что порты, необходимые для работы сервера, открыты и настроены правильно.
Ошибка “Server not responding” (Сервер не отвечает)
Эта ошибка может появиться, если сервер не отвечает на запросы игроков. Это может быть вызвано неправильными настройками маршрутизатора или проблемами с Интернет-соединением.
Решение: Убедитесь, что настройки маршрутизатора правильны и что ваше Интернет-соединение стабильно.
Вывод
Создание выделенного сервера ARK может быть сложным процессом, но если вы будете следовать вышеописанным инструкциям и исправлять возможные ошибки, то в конечном итоге вы сможете запустить свой сервер и наслаждаться игрой со своими друзьями. Не забывайте сохранять резервные копии данных, чтобы избежать потери информации, если что-то пойдет не так.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Open
bushibot opened this issue
May 2, 2022
· 24 comments
Comments
Ark survival evolved dedicated server crashing on launch. Install has been validated vi steamcmd.
ubuntu@Foundry:~/Steam/steamapps/common/ark_server/ShooterGame/Binaries/Linux$ ./server_start.sh Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Box64 with Dynarec v0.1.9 098317e built on May 2 2022 17:21:44 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 27 Env var Looking for ./ShooterGameServer argv[1]="TheIsland?listen?SessionName=avatarark?ServerPassword=xxx?ServerAdminPassword=xxx" argv[2]="-server" argv[3]="-log" Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) librt.so.1 Using emulated /home/ubuntu/Steam/steamapps/common/ark_server/ShooterGame/Binaries/Linux/../../../Engine/Binaries/Linux/libsteam_api.so Using emulated libEOSSDK-Linux-Shipping.so Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libresolv.so.2 Warning: Global Symbol _ZTH15GCrashErrorType not found, cannot apply R_X86_64_GLOB_DAT @0xffffab8a8f10 ((nil)) in libEOSSDK-Linux-Shipping.so Warning: Global Symbol _ZTH18GCrashErrorMessage not found, cannot apply R_X86_64_GLOB_DAT @0xffffab8a8f08 ((nil)) in libEOSSDK-Linux-Shipping.so Shutdown handler: initalize. Using binned. 4.5.1-0+UE4 7038 3077 404 10 [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Using emulated steamclient.so Error loading needed lib crashhandler.so Warning: Cannot dlopen("crashhandler.so"/0xffff9606b8a8, 2) Error loading needed lib /home/ubuntu/Steam/steamapps/common/ark_server/ShooterGame/Binaries/Linux/steamservice.so Warning: Cannot dlopen("/home/ubuntu/Steam/steamapps/common/ark_server/ShooterGame/Binaries/Linux/steamservice.so"/0xffff852370b0, 2) Error loading needed lib steamservice.so Warning: Cannot dlopen("steamservice.so"/0xffff852370b0, 2) Setting breakpad minidump AppID = 346110 Error loading needed lib /home/ubuntu/.steam/sdk64/libsteam.so Warning: Cannot dlopen("/home/ubuntu/.steam/sdk64/libsteam.so"/0xffffac2c3560, 2) Error loading needed lib libsteam.so Warning: Cannot dlopen("libsteam.so"/0xffffacb4754d, 2) 112250|0x1b180eb: Unimplemented Opcode (FF) 64 66 0F 2E 04 C5 D0 F7 FF FF 89 C3 77 02 89 /home/buildbot/buildslave/steam_rel_client_linux64/build/src/tier1/../tier1/fileio.cpp (4008) : Assertion Failed: CFileWriterThread: pending file writer content_log.txt /home/buildbot/buildslave/steam_rel_client_linux64/build/src/tier0/threadtools.cpp (1416) : Assertion Failed: Thread synchronization object is unuseable Shutdown handler: cleanup.
Got the exact same issue, Could you find a solution for that or did you give up like me?
I have to check what this missing opcode is first, and see if I can add it.
Got the exact same issue, Could you find a solution for that or did you give up like me?
Gave up and moved to an x86 closet server.
In fact, couldn’t get Conan exiles or 7 days to run start either.
love the idea of being able to leverage the free oracle cloud service for this stuff but emulation so far for servers has been a hard fail. Steam cm works for install but that is snout it.
Hosting works great for foundry and Minecraft though :p, but no emulation needed there.
Yeah man, It would be really good if it worked. Maybe ptitSeb would be able to add the opcode, who knows. I can just hope I guess
i also wanted to create an ark server but it gives the same error
If I’m reading the code correctly, the opcode in question is already implemented here:
case 0x2E: /* UCOMISD Gx, Ex */ |
and the problem is that it’s not implemented in the dynarec portion of the code. If I disable dynarec, the server stops running on a different opcode:
16714|0x1b37ad0: Unimplemented Opcode (00) 64 F2 42 0F 10 04 FD D0 F7 FF FF 64 66 0F 2E
I couldn’t figure out which opcode that one is, though (MOVSD maybe?)
Yes and no.
First Opcode is movsd
, but acting on fs:
segment because of the 64
prefixes.
Need to add it, as the «FS:» opcodes are speicific (for better speed, to avoid taking segment into account for «regular» versions)
The UCOMISD opcode is the next one…
ptitSeb
added a commit
that referenced
this issue
Jul 3, 2022
Cool! Out of curiosity, what tool is the screenshot from?
I’m happy to test out your changes and capture debugging information. Now with Dynarec I’m seeing:
22311|SIGILL @0x8631ff64 (???(0x8631ff64)) (x64pc=0x1b37adb//steamcmd/ark_survival_evolved/ShooterGame/Binaries/Linux/ShooterGameServer:"/steamcmd/ark_survival_evolved/ShooterGame/Binaries/Linux/ShooterGameServer + 0x1737a70", rsp=0xffff98271a20, stack=0xffff97a82000:0xffff98282000 own=(nil) fp=0xffff98271a50), for accessing 0x8631ff64 (code=1/prot=7), db=0x863b4630(0x8631fd24:0x863200a0/0x1b37a70:0x1b37b0c//steamcmd/ark_survival_evolved/ShooterGame/Binaries/Linux/ShooterGameServer + 0x1737a70:clean, hash:3a89249f/3a89249f) handler=(nil)
RAX:0x0000000000000001 RCX:0x0000000000000000 RDX:0x00000000bb269c00 RBX:0x0000000000000100
RSP:0x0000ffff98271a20 RBP:0x0000ffff98271a50 RSI:0x0000ffff99037dc0 RDI:0x00000000bab31480
R8:0x0000000000000000 R9:0x0000000000000013 R10:0x0000000100001fff R11:0x0000000000001000
R12:0x0000000000000056 R13:0x00000000bab31490 R14:0x00000000bab31480 R15:0x0000000000000000
RSP-0x20:0x0000000000000055 RSP-0x18:0x000000000000001e RSP-0x10:0x0000ffff98271ab6 RSP-0x08:0x0000000000000158
RSP+0x00:0x0000ffff98271be0 RSP+0x08:0x00000000bab31480 RSP+0x10:0x0000000000000056 RSP+0x18:0x00000000bab31480 opcode=00 E7 7E BE A2 1A 81 52 (64 66 0F 2E 04)
Illegal instruction (core dumped)
ptitSeb
added a commit
that referenced
this issue
Jul 3, 2022
I diable the dynarec opcode, ,it seems I have made a mystake somewhere, but I don’t see where. As I don’t have that game I cannot reproduce. It will fallback to the interpretor (so slower) for this block, but hopefully it will go further now.
Maybe if I’m doing it wrong, but now the behavior is the same as in my first post above i.e. 24865|0x1b37adb: Unimplemented Opcode (FF) 64 66 0F 2E 04 C5 D0 F7 FF FF 89 C3 77 02 89
with BOX64_DYNAREC=1
and 24883|0x1b37ad0: Unimplemented Opcode (00) 64 F2 42 0F 10 04 FD D0 F7 FF FF 64 66 0F 2E
with Dynarec off.
If it matters, my build command is:
git pull
cmake .. -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_CCACHE=1
make -j4
sudo make install
I’ll keep testing the changes and updating my results here, but FYI you can install the ARK server using steamcmd and anonymous login (i.e. don’t need to own the client to install the server). I didn’t bother trying to get steamcmd working on arm64, instead I just downloaded the Ark server to a network drive from an amd64 Linux instance.
I diable the dynarec opcode, ,it seems I have made a mystake somewhere, but I don’t see where. As I don’t have that game I cannot reproduce. It will fallback to the interpretor (so slower) for this block, but hopefully it will go further now.
Just as an aside you don’t actually need to own the game to install the server and run it. Only the client requires a license (though those are free atm too).
https://ark.fandom.com/wiki/Dedicated_server_setup
Oh yes, ARK was free on steam, I even claimed it (and forgot I did). I’ll check the server later.
ptitSeb
added a commit
that referenced
this issue
Jul 4, 2022
I can confirm that the server works now. I’ve only had it running for a few minutes so I can’t speak to its stability, but I was able to connect.
I can confirm that the server works now. I’ve only had it running for a few minutes so I can’t speak to its stability, but I was able to connect.
What command string are you using to launch? Going try this again
I’m currently using ShooterGameServer TheIsland?listen -server -log -NoBattlEye -crossplay
. I have BattlEye disabled, but it seemed to start with it enabled too. I imagine you can remove the crossplay option. I set the session name/password through the config file, but you can add those options to the command line as well.
Thanks for the update! I got it working as well, and played for about half an hour with no issues. Very impressed with the performance and stability so far. In a few days I’ll get some friends on the server and we’ll put some more load on it.
Okay, we tested it out a bit yesterday. The good news is that we can close this bug out, definitely no crashes. However we saw some weird issues, like dinos pooping in large quantities (rather than one pellet at a time), difficulty using lasso on a horse (but not impossible), and other players seeing incorrect locations for my player, or not seeing my mount (just a few times, and then it was fine). Since Ark is known to have a bunch of bugs at any given time I want to double check the same server on the PC before opening a bug here.
I should add that I did have the ARK server crash with a segmentation fault after around 25 hours of uptime. I don’t know yet if it was just a fluke, or if it will become a recurring issue. Although, yes, ARK is buggy on its own so the crash might not have been related to box64. 🤷
After almost 3 days my Ark server also crashed with just a:
Signal 11 caught.
EngineCrashHandler: Signal=11
Signal 11 caught.
EngineCrashHandler: Signal=11
It looks like the amount of memory used was slowly increasing over time (with no players logged in) until it finally crashed. I’ve never run the server for this long before, so it’s hard to say if it’s unique to running under box64. Will keep using it meanwhile, we need more data!
I had the ARK server crash once more after the same amount of time. I tried starting it in a screen session instead of as a systemd service, and it hasn’t crashed yet after 2 1/2 days. We’ll see if it ends up crashing or not.
The total system memory usage hasn’t increased much since starting the ARK server. I don’t remember how much memory the process was using initially. Roughly how much did the ARK server memory usage grow on your system, @code-monet?
(Edit: I had to restart the server because apparently using the -servergamelog
option corrupted the Logs folder and it made players unable to connect? ARK makes no sense.)
It went up by about 700 MB over 3 days, after the last players logged out, which isn’t that much (considering the 7-8 GB footprint overall), but is curious given that no one was logged in at the time. I see there’s server and client updates, will get those and restart the server.
Turns out my ARK server has been up for 4 days now, after I removed LimitNOFILE
from my systemd service. Did you modify the open file limit as well?
Yes, I did that too, as per the dedicated server setup guide. I’ve launched the server again with updates applied, and if it segfaults, will remove that limit and retry.
Yes, I did that too, as per the dedicated server setup guide. I’ve launched the server again with updates applied, and if it segfaults, will remove that limit and retry.
May I ask you how did you host the server? I am using the Oracle Cloud free tier and I still get the same error, even tho I pulled the latest version of box64 and built it again. Is there a step that I missed?
Post by arcsaren on Dec 11, 2021 17:14:26 GMT -5Hello, and thank you in advance for the assistance.
Setting breakpad minidump AppID = 346110 [2021.12.11-21.38.49:574][ 0]LogMemory: Platform Memory Stats for WindowsServer [2021.12.11-21.38.49:574][ 0]LogMemory: Process Physical Memory: 89.19 MB used, 91.57 MB peak [2021.12.11-21.38.49:574][ 0]LogMemory: Process Virtual Memory: 58.23 MB used, 58.36 MB peak [2021.12.11-21.38.49:574][ 0]LogMemory: Physical Memory: 5360.44 MB used, 16313.66 MB total [2021.12.11-21.38.49:574][ 0]LogMemory: Virtual Memory: 4520.37 MB used, 134217728.00 MB total [2021.12.11-21.38.49:984][ 0]ARK Version: 340.12 [2021.12.11-21.38.49:984][ 0]PID: 13496 [2021.12.11-21.49.07:537][ 0]Primal Game Data Took 617.51 seconds [2021.12.11-21.49.30:548][ 0]SteamSocketsOpenSource: gethostname failed () [2021.12.11-21.49.30:548][ 0]gethostbyname failed () [2021.12.11-21.52.40:633][ 0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye [2021.12.11-21.53.14:709][ 0]BattlEye successfully started. [2021.12.11-21.53.14:800][ 0]Server: «Ixia» has successfully started! [2021.12.11-21.53.15:086][ 0]ADayCycleManager DayCycleManager3, [2021.12.11-21.53.17:813][ 0]Commandline: «/Game/Maps/TheIslandSubMaps/TheIsland?QueryPort=27015?SessionName=Ixia?MaxPlayers=127?listen?ServerPassword=pie?ServerAdminPassword=?DifficultyOffset=0.200000?NewMaxStructuresInRange=6000.000000?GlobalVoiceChat=false?ProximityChat=false?NoTributeDownloads=false?AllowThirdPersonPlayer=true?AlwaysNotifyPlayerLeft=true?DontAlwaysNotifyPlayerJoined=false?ServerHardcore=false?ServerPVE=false?ServerCrosshair=true?ServerForceNoHUD=false?ShowMapPlayerLocation=false?EnablePvPGamma=true?DisableStructureDecayPvE=false?AllowFlyerCarryPvE=true» -nosteamclient -game -server -log [2021.12.11-21.53.17:813][ 0]Full Startup: 870.33 seconds (BP compile: 0.00 seconds) [2021.12.11-21.53.17:813][ 0]Number of cores 6 |
|
natclanwy Moderator
Posts: 384 Staff |
Post by natclanwy on Dec 15, 2021 1:11:36 GMT -5That’s a fully started server, nothing else will be displayed until someone joins your server. Have you tried joining by adding your server to favorites in steam using the local IP and query port? |
Post by arkslayertobe on Dec 15, 2021 13:27:34 GMT -5I also have the same issue. I have used everything i can think of. I have looked in the threads and cannot find a fix. UPDATE: After using locap IP:QueryPort in steam servers i cannot join. When looking at the server info through steam, it says: My Server Console: Setting breakpad minidump AppID = 346110 [2021.12.15-18.05.23:427][ 0]LogMemory: Platform Memory Stats for WindowsServer [2021.12.15-18.05.23:427][ 0]LogMemory: Process Physical Memory: 66.49 MB used, 66.49 MB peak [2021.12.15-18.05.23:427][ 0]LogMemory: Process Virtual Memory: 51.57 MB used, 51.70 MB peak [2021.12.15-18.05.23:427][ 0]LogMemory: Physical Memory: 10660.99 MB used, 32718.64 MB total [2021.12.15-18.05.23:427][ 0]LogMemory: Virtual Memory: 4490.32 MB used, 134217728.00 MB total [2021.12.15-18.05.23:922][ 0]ARK Version: 341.22 [2021.12.15-18.05.23:922][ 0]PID: 8924 [2021.12.15-18.08.32:912][ 0]Primal Game Data Took 185.71 seconds [2021.12.15-18.08.38:609][ 0]SteamSocketsOpenSource: gethostname failed () [2021.12.15-18.08.38:609][ 0]gethostbyname failed () [2021.12.15-18.08.56:496][ 0]Server: «valleyCuh» has successfully started! [2021.12.15-18.09.03:445][ 0]ADayCycleManager DayCycleManager3, [2021.12.15-18.09.04:762][ 0]Full Startup: 224.75 seconds (BP compile: 0.00 seconds) [2021.12.15-18.09.04:762][ 0]Number of cores 8 |
|
Last Edit: Dec 15, 2021 14:19:03 GMT -5 by arkslayertobe |
Hello Dev, if you’re reading this article, chances are you’re experiencing some trouble with hosting a dedicated server for Ark. Don’t worry, we’ve got you covered. In this article, we’ll go over the common reasons why you may be having difficulty hosting a dedicated server for Ark and provide solutions for each of them.
Reasons Why You Can’t Host a Dedicated Server for Ark
1. Network Configuration
One of the most common reasons why you may not be able to host a dedicated server for Ark is your network configuration. There may be some issues with your router settings or firewall blocking the server from connecting to the internet. To fix this issue, you need to adjust your network configuration settings. You can also check if the server is conflicting with other devices or programs on the network.
Another possible network configuration issue is that you may have a slow or unstable internet connection. This can cause the server to disconnect frequently or run slowly. To fix this, you can upgrade your internet plan or try using a wired connection instead of wireless.
2. System Requirements
Ark requires certain system requirements to host a dedicated server. If your computer or server does not meet these requirements, you may not be able to host a server. The recommended system requirements are at least 8GB of RAM, a quad-core CPU, and a dedicated GPU. To check if your system meets these requirements, you can go to the system settings and check the specifications.
3. Software Conflicts
Another reason why you may not be able to host a dedicated server for Ark is software conflicts. Sometimes, there may be software on your computer or server that is conflicting with Ark’s server software. This can cause the server to crash or not start at all. To fix this, you can try disabling or uninstalling the conflicting software.
4. Server Software Issues
Ark’s server software may also have some issues that prevent you from hosting a dedicated server. These issues may include bugs, glitches, or errors. To fix this, you can try updating the server software to the latest version or reinstalling it altogether.
5. Port Forwarding Issues
Port forwarding is a crucial step in hosting a dedicated server for Ark. It allows the server to communicate with other devices over the internet. If you have not properly configured your port forwarding settings, your server may not be able to connect to the internet. To fix this, you need to open the required ports on your router and forward them to your server’s IP address.
FAQ About Hosting a Dedicated Server for Ark
Question |
Answer |
---|---|
What are the system requirements for hosting a dedicated server for Ark? |
The recommended system requirements are at least 8GB of RAM, a quad-core CPU, and a dedicated GPU. |
How do I configure my network settings to host a dedicated server for Ark? |
You need to adjust your router settings and ensure that your firewall is not blocking the server from connecting to the internet. |
Why is the server software crashing? |
It may be due to bugs, glitches, or errors in the software. Try updating the server software to the latest version or reinstalling it altogether. |
What should I do if I’m still unable to host a dedicated server for Ark? |
You can try contacting the official Ark support team or seeking help from online forums and communities. |
Conclusion
Hosting a dedicated server for Ark can be a challenging task, but with the right knowledge and tools, it can be easily achieved. If you’re experiencing any issues while hosting a server, refer to this article for guidance on how to troubleshoot and solve the problem. Remember to always check the system requirements, network configuration, software conflicts, server software issues, and port forwarding settings before hosting a dedicated server for Ark.