TekaKatar Posted August 23 Posted August 23 Greetings, I am Teka. Upon starting up a 1.20.1 server, with up to date Java 17, and the recommended Forge Server, the server fails to start automatically when running as admin, note I am the owner and admin of the box I am working on. It works when I do not run as admin, however without the jvm arg set I have. The issue I have is that the batch file requires admin privileges for certain jvm args such as the usage of Large Page memory, so at this time I either run with no jvm args, or all of them. Removing the Large Page args does not assist the issue either, as running the .bat without those args, and not as admin, it still does not register any of the arguments. For reference here is the list of flags I have set in the user_jvm_args.txt file: Spoiler -Xmx24G -Xms16G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseNUMA -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -XX:+UseG1GC -XX:MaxGCPauseMillis=37 -XX:+PerfDisableSharedMem -XX:G1HeapRegionSize=16M -XX:G1NewSizePercent=23 -XX:G1ReservePercent=20 -XX:SurvivorRatio=32 -XX:G1MixedGCCountTarget=3 -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:G1ConcRSHotCardLimit=16 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:GCTimeRatio=99 -XX:+UseLargePages -XX:LargePageSizeInBytes=2m I am rather new to the more advanced side of these things, as I'm looking to branch out the usage of my dedicated server box for things other than Arma III server hosting. So if it's an obvious error on my end feel free to call out my ignorance, I am always looking to learn. One final note, I would give logs, however the server does not generate them as it fails before start, giving only the error in question. I will add the latest log of the server start up when I don't run as admin below, just to show that side of things, if it helps. Thanks again! Spoiler [22Aug2024 19:29:04.786] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 47.3.0, --fml.mcVersion, 1.20.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230612.114412] [22Aug2024 19:29:04.794] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.10 by Oracle Corporation; OS Windows 10 arch amd64 version 10.0 [22Aug2024 19:29:04.986] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: ImmediateWindowProvider not loading because launch target is forgeserver [22Aug2024 19:29:05.061] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/tyler/Documents/Minecraft%201.20.1%20FORGE%20SERVER/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2365!/ Service=ModLauncher Env=SERVER [22Aug2024 19:29:05.360] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\tyler\Documents\Minecraft 1.20.1 FORGE SERVER\libraries\net\minecraftforge\fmlcore\1.20.1-47.3.0\fmlcore-1.20.1-47.3.0.jar is missing mods.toml file [22Aug2024 19:29:05.366] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\tyler\Documents\Minecraft 1.20.1 FORGE SERVER\libraries\net\minecraftforge\javafmllanguage\1.20.1-47.3.0\javafmllanguage-1.20.1-47.3.0.jar is missing mods.toml file [22Aug2024 19:29:05.371] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\tyler\Documents\Minecraft 1.20.1 FORGE SERVER\libraries\net\minecraftforge\lowcodelanguage\1.20.1-47.3.0\lowcodelanguage-1.20.1-47.3.0.jar is missing mods.toml file [22Aug2024 19:29:05.376] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file C:\Users\tyler\Documents\Minecraft 1.20.1 FORGE SERVER\libraries\net\minecraftforge\mclanguage\1.20.1-47.3.0\mclanguage-1.20.1-47.3.0.jar is missing mods.toml file [22Aug2024 19:29:05.618] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: No dependencies to load found. Skipping! [22Aug2024 19:29:07.372] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [] [22Aug2024 19:29:14.825] [modloading-worker-0/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 47.3.0, for MC 1.20.1 with MCP 20230612.114412 [22Aug2024 19:29:14.830] [modloading-worker-0/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v47.3.0 Initialized [22Aug2024 19:29:15.813] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [22Aug2024 19:29:16.612] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 47.3.0 Target: null [22Aug2024 19:29:17.131] [main/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [22Aug2024 19:29:17.960] [main/WARN] [net.minecraft.server.packs.VanillaPackResourcesBuilder/]: Assets URL 'union:/C:/Users/tyler/Documents/Minecraft%201.20.1%20FORGE%20SERVER/libraries/net/minecraft/server/1.20.1-20230612.114412/server-1.20.1-20230612.114412-srg.jar%23101!/assets/.mcassetsroot' uses unexpected schema [22Aug2024 19:29:17.961] [main/WARN] [net.minecraft.server.packs.VanillaPackResourcesBuilder/]: Assets URL 'union:/C:/Users/tyler/Documents/Minecraft%201.20.1%20FORGE%20SERVER/libraries/net/minecraft/server/1.20.1-20230612.114412/server-1.20.1-20230612.114412-srg.jar%23101!/data/.mcassetsroot' uses unexpected schema [22Aug2024 19:29:19.838] [main/INFO] [net.minecraft.world.item.crafting.RecipeManager/]: Loaded 7 recipes [22Aug2024 19:29:19.988] [main/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 1271 advancements [22Aug2024 19:29:20.913] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Starting minecraft server version 1.20.1 [22Aug2024 19:29:20.914] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Loading properties [22Aug2024 19:29:20.917] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Default game type: SURVIVAL [22Aug2024 19:29:20.918] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Generating keypair [22Aug2024 19:29:21.025] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Starting Minecraft server on *:25565 [22Aug2024 19:29:21.054] [Server thread/INFO] [net.minecraft.server.network.ServerConnectionListener/]: Using default channel type [22Aug2024 19:29:21.418] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Preparing level "world" [22Aug2024 19:29:22.255] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Preparing start region for dimension minecraft:overworld [22Aug2024 19:29:24.472] [Worker-Main-41/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 0% [22Aug2024 19:29:24.483] [Worker-Main-41/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 0% [22Aug2024 19:29:24.484] [Worker-Main-41/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 0% [22Aug2024 19:29:24.484] [Worker-Main-41/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 0% [22Aug2024 19:29:24.486] [Worker-Main-41/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 0% [22Aug2024 19:29:24.756] [Worker-Main-24/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 2% [22Aug2024 19:29:25.256] [Worker-Main-41/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Preparing spawn area: 73% [22Aug2024 19:29:25.436] [Server thread/INFO] [net.minecraft.server.level.progress.LoggerChunkProgressListener/]: Time elapsed: 3180 ms [22Aug2024 19:29:25.437] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer/]: Done (4.067s)! For help, type "help" [22Aug2024 19:29:25.458] [Server thread/INFO] [net.minecraftforge.server.permission.PermissionAPI/]: Successfully initialized permission handler forge:default_handler [22Aug2024 19:34:47.912] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping the server [22Aug2024 19:34:47.960] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server [22Aug2024 19:34:47.961] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players [22Aug2024 19:34:47.962] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds [22Aug2024 19:34:48.690] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [22Aug2024 19:34:49.122] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [22Aug2024 19:34:49.123] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [22Aug2024 19:34:49.143] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: ThreadedAnvilChunkStorage (world): All chunks are saved [22Aug2024 19:34:49.144] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [22Aug2024 19:34:49.144] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [22Aug2024 19:34:49.145] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: ThreadedAnvilChunkStorage: All dimensions are saved Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.