Unable to start TMod Loader Server

OS Name/Version: Oracle Cloud Server/ARM/Ubuntu 24.04

Product Name/Version: AMP Release “Phobos” v2.6.1, built 21/03/2025 20:36

Problem Description: Created a terraria instance but was unable to start it. I created the ModLoader Folder and uploaded the content of the Sava Data Folder of a modpack in there. Still could not start server, what needs to be done to allow server to be setup. Using default setting of instance. github to install Tmod loader, etc… Using an Oracle cloud hosted server running Ubuntu 24.04.

ERROR LOG:
[20:38:16.971] [Main Thread/INFO] [tML]: Starting tModLoader server 1.4.4.9+2025.01.3.1|2025.01|stable|Stable|b9581d52d6b9508ae88f308c62ebe4d1a447dc6a|5250449916459135789 built 03/01/2025 01:36
[20:38:17.022] [Main Thread/INFO] [tML]: Log date: 03/23/2025
[20:38:17.026] [Main Thread/INFO] [tML]: Running on Linux (v6.8.0.1021) X64 NetCore 8.0.14
[20:38:17.049] [Main Thread/INFO] [tML]: CPU: 4 processors. RAM: 23.4 GB
[20:38:17.052] [Main Thread/INFO] [tML]: FrameworkDescription: .NET 8.0.14
[20:38:17.053] [Main Thread/INFO] [tML]: Executable: /home/amp/.ampdata/instances/t101/tModLoader/serverfiles/tModLoader.dll
[20:38:17.055] [Main Thread/INFO] [tML]: Working Directory: /home/amp/.ampdata/instances/t101/tModLoader/serverfiles
[20:38:17.060] [Main Thread/INFO] [tML]: Launch Parameters: -server -seed PoweredByAMP -autocreate 3 -worldname world -tmlsavedirectory ModLoader/Worlds -announcementboxrange -1 -players 8 -port 7778 -config tmodloader14serverconfig.txt
[20:38:17.080] [Main Thread/INFO] [tML]: Parsed Launch Parameters: -server -seed PoweredByAMP -autocreate 3 -worldname world -tmlsavedirectory ModLoader/Worlds -announcementboxrange -1 -players 8 -port 7778 -config tmodloader14serverconfig.txt
[20:38:17.734] [Main Thread/WARN] [tML]: tModLoader.RuntimeErrorSilentlyCaughtException
System.PlatformNotSupportedException: Could not locate clrjit library
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.GetJitObject() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 119
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.get_JitObject() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 115
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.MonoMod.Core.Utils.IInitialize.Initialize() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 77
at MonoMod.Core.Platforms.PlatformTriple.InitIfNeeded(Object obj) in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 212
at MonoMod.Core.Platforms.PlatformTriple…ctor(IArchitecture architecture, ISystem system, IRuntime runtime) in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 200
at MonoMod.Core.Platforms.PlatformTriple.CreateCurrent() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 131
at MonoMod.Utils.Helpers.FuncInvokeHolder1.<>c.<.cctor>b__1_0(Func1 f) in //src/MonoMod.Utils/Helpers.cs:line 162
at MonoMod.Utils.Helpers.InitializeValueWithLock[T,TParam](T& location, Object lock, Func2 init, TParam obj) in /_/src/MonoMod.Utils/Helpers.cs:line 276 at MonoMod.Core.Platforms.PlatformTriple.get_Current() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 123 at MonoMod.Core.DetourFactory.CreateDefaultFactory() in /media/y/src/MonoMod/src/MonoMod.Core/IDetourFactory.cs:line 106 at MonoMod.Utils.Helpers.FuncInvokeHolder1.<>c.<.cctor>b__1_0(Func1 f) in /_/src/MonoMod.Utils/Helpers.cs:line 162 at MonoMod.Utils.Helpers.InitializeValue[T,TParam](T& location, Func2 init, TParam obj) in /
/src/MonoMod.Utils/Helpers.cs:line 254
at MonoMod.RuntimeDetour.DetourContext.GetDefaultFactory() in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/DetourContext.cs:line 116
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target, DetourConfig config, Boolean applyByDefault) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 420
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target, DetourConfig config) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 388
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 330
at Terraria.ModLoader.Engine.LoggingHooks.PrettifyStackTraceSources() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Engine\LoggingHooks.cs:line 99
at Terraria.ModLoader.Engine.LoggingHooks.Init() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Engine\LoggingHooks.cs:line 17
at Terraria.ModLoader.Logging.LogStartup(Boolean dedServ) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Logging.cs:line 103
at Terraria.Program.StartupSequenceTml(Boolean isServer) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\Program.TML.cs:line 344
at Terraria.Program.LaunchGame(String args, Boolean monoArgs) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\Program.cs:line 211
at Terraria.MonoLaunch.Main_End(String args) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\MonoLaunch.cs:line 79
at Terraria.MonoLaunch.<>c__DisplayClass1_0.b__1() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\MonoLaunch.cs:line 65
at Terraria.MonoLaunch.Main(String args) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\MonoLaunch.cs:line 72

[20:38:17.767] [Main Thread/DEBUG] [tML]: Native Resolve: FNA, Version=23.10.0.0, Culture=neutral, PublicKeyToken=null → SDL2
[20:38:17.773] [Main Thread/DEBUG] [tML]: attempting load /home/amp/.ampdata/instances/t101/tModLoader/serverfiles/Libraries/Native/Linux/libSDL2-2.0.so.0
[20:38:17.778] [Main Thread/DEBUG] [tML]: success
[20:38:17.813] [Main Thread/FATAL] [tML]: An unexpected error occurred during tML startup

System.PlatformNotSupportedException: Could not locate clrjit library
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.GetClrJitPath() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 108
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.GetJitObject() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 119
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.get_JitObject() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 115
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.MonoMod.Core.Utils.IInitialize.Initialize() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 77
at MonoMod.Core.Platforms.PlatformTriple.InitIfNeeded(Object obj) in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 212
at MonoMod.Core.Platforms.PlatformTriple…ctor(IArchitecture architecture, ISystem system, IRuntime runtime) in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 200
at MonoMod.Core.Platforms.PlatformTriple.CreateCurrent() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 131
at MonoMod.Utils.Helpers.FuncInvokeHolder1.<>c.<.cctor>b__1_0(Func1 f) in //src/MonoMod.Utils/Helpers.cs:line 162
at MonoMod.Utils.Helpers.InitializeValueWithLock[T,TParam](T& location, Object lock, Func2 init, TParam obj) in /_/src/MonoMod.Utils/Helpers.cs:line 276 at MonoMod.Core.Platforms.PlatformTriple.get_Current() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 123 at MonoMod.Core.DetourFactory.CreateDefaultFactory() in /media/y/src/MonoMod/src/MonoMod.Core/IDetourFactory.cs:line 106 at MonoMod.Utils.Helpers.FuncInvokeHolder1.<>c.<.cctor>b__1_0(Func1 f) in /_/src/MonoMod.Utils/Helpers.cs:line 162 at MonoMod.Utils.Helpers.InitializeValue[T,TParam](T& location, Func2 init, TParam obj) in /
/src/MonoMod.Utils/Helpers.cs:line 254
at MonoMod.RuntimeDetour.DetourContext.GetDefaultFactory() in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/DetourContext.cs:line 116
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target, DetourConfig config, Boolean applyByDefault) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 420
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target, DetourConfig config) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 388
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 330
at Terraria.ModLoader.Engine.LoggingHooks.PrettifyStackTraceSources() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Engine\LoggingHooks.cs:line 99
at Terraria.ModLoader.Engine.LoggingHooks.Init() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Engine\LoggingHooks.cs:line 17
at Terraria.ModLoader.Logging.LogStartup(Boolean dedServ) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Logging.cs:line 103
at Terraria.Program.StartupSequenceTml(Boolean isServer) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\Program.TML.cs:line 344

CONSOLE LOG:

[BOX64] Error initializing native libicuuc.so.75 (last dlerror is libicuuc.so.75: cannot open shared object file: No such file or directory)
13:38:17
Could not locate clrjit library tModLoader.RuntimeErrorSeeLogsForFullTrace
[BOX64] Error initializing native libSDL2.so (last dlerror is libSDL2-2.0.so.0: cannot open shared object file: No such file or directory)
tModLoader v2025.1.3.1 Error
An unexpected error occurred during tML startup
System.PlatformNotSupportedException: Could not locate clrjit library
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.GetClrJitPath() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 108
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.GetJitObject() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 119
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.get_JitObject() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 115
at MonoMod.Core.Platforms.Runtimes.CoreBaseRuntime.MonoMod.Core.Utils.IInitialize.Initialize() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/Runtimes/CoreBaseRuntime.cs:line 77
at MonoMod.Core.Platforms.PlatformTriple.InitIfNeeded(Object obj) in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 212
at MonoMod.Core.Platforms.PlatformTriple…ctor(IArchitecture architecture, ISystem system, IRuntime runtime) in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 200
at MonoMod.Core.Platforms.PlatformTriple.CreateCurrent() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 131
at MonoMod.Utils.Helpers.FuncInvokeHolder1.<>c.<.cctor>b__1_0(Func1 f) in //src/MonoMod.Utils/Helpers.cs:line 162
at MonoMod.Utils.Helpers.InitializeValueWithLock[T,TParam](T& location, Object lock, Func2 init, TParam obj) in /_/src/MonoMod.Utils/Helpers.cs:line 276 at MonoMod.Core.Platforms.PlatformTriple.get_Current() in /media/y/src/MonoMod/src/MonoMod.Core/Platforms/PlatformTriple.cs:line 123 at MonoMod.Core.DetourFactory.CreateDefaultFactory() in /media/y/src/MonoMod/src/MonoMod.Core/IDetourFactory.cs:line 106 at MonoMod.Utils.Helpers.FuncInvokeHolder1.<>c.<.cctor>b__1_0(Func1 f) in /_/src/MonoMod.Utils/Helpers.cs:line 162 at MonoMod.Utils.Helpers.InitializeValue[T,TParam](T& location, Func2 init, TParam obj) in /
/src/MonoMod.Utils/Helpers.cs:line 254
at MonoMod.RuntimeDetour.DetourContext.GetDefaultFactory() in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/DetourContext.cs:line 116
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target, DetourConfig config, Boolean applyByDefault) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 420
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target, DetourConfig config) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 388
at MonoMod.RuntimeDetour.Hook…ctor(MethodBase source, Delegate target) in /media/y/src/MonoMod/src/MonoMod.RuntimeDetour/Hook.cs:line 330
at Terraria.ModLoader.Engine.LoggingHooks.PrettifyStackTraceSources() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Engine\LoggingHooks.cs:line 99
at Terraria.ModLoader.Engine.LoggingHooks.Init() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Engine\LoggingHooks.cs:line 17
at Terraria.ModLoader.Logging.LogStartup(Boolean dedServ) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Logging.cs:line 103
at Terraria.Program.StartupSequenceTml(Boolean isServer) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\Program.TML.cs:line 344
A server.log file containing error information has been generated in
/home/amp/.ampdata/instances/t101/tModLoader/serverfiles/tModLoader-Logs
(You will need to share this file if asking for help)
[BOX64] Error initializing native libSDL2.so (last dlerror is libSDL2-2.0.so.0: cannot open shared object file: No such file or directory)
[BOX64] Error initializing native libXcursor.so.1 (last dlerror is libXcursor.so: cannot open shared object file: No such file or directory)
[BOX64] Error initializing native libXfixes.so.3 (last dlerror is libXfixes.so: cannot open shared object file: No such file or directory)
[BOX64] Error initializing native libXrandr.so.2 (last dlerror is libXrandr.so: cannot open shared object file: No such file or directory)
[BOX64] Error initializing native libXss.so.1 (last dlerror is libXss.so: cannot open shared object file: No such file or directory)

Steps to reproduce:

  • Step 1 Created Tmod Loader Instance
  • Step 2 Attempted to start Server: Failure
  • Step 3 Attempted to add mods following Guide: No ModLoader Folder found
  • Step 4 Created ModLoader Folder and Used export modpack function to transfer content of Save Data Folder to ModLoader Folder
  • Step 5 Attempted To start via start button: Failure
  • Step 6 Attempted to run start server script via console: No console response/Failure
  • Step 7 Figured Out that TMod Loader is not supported on ARM
  • Step 8 Attempted to enable Cpx emulation Using General Arm from source:
  • GitHub - Pi-Apps-Coders/box64-debs
    (Not sure if this is the correct one)
  • Step 9 Attempted to update and start server: Error
    This task could not be completed: Starting tModLoader… - - State: 3

Actions taken to resolve so far:

As noted on discord, some (many) servers just won’t run on ARM, even with x64 emulation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.