CPU and Memory Monitoring Failing to Load on Status Page

  • 69 Views
  • Last Post 15 February 2020
Z_ero posted this 12 February 2020

OS Name/Version:

  • Operating System: Windows 10 (x86) version 10.0

Product Name/Version:

  • McMyAdmin 2.7.1.4 Personal Edition
  • Minecraft Version: 1.15.2
  • Java Version: 1.8.0_241, Oracle Corporation
  • Forge-1.15.2-31.1.0-server

Problem Description:

  • ForgeMod.jar seems to be launching without issue when hitting the "Start Server" button on the McMyAdmin Status page.

  • On the Console tab nothing really sticks out as an issue and the server seems to fully start up.

  • However CPU and Memory monitoring are failing to load back on the Status Page with the following message: "A fault is preventing the server from starting" when in fact the server is started up and running just fine.

Steps to reproduce:

  • Step 1: Hit "Start Button" on McMyAdmin Status Page

  • Step 2: Watch Console Page for full server startup

  • Step 3: Go back to Status Page for CPU & Memory monitoring to notice the Fault message.

Actions taken to resolve so far:

  • Stopped Forge/Minecraft server and quit McMyAdmin and relaunched. Instead of "A fault is preventing the server from starting" I'm now seeing "Server is getting ready to start..."

Order By: Standard | Newest | Votes
Z_ero posted this 12 February 2020

Update to "Actions taken to resolve so far:"

My original post was running the actual McMyAdmin.exe and not the service itself.

In an effort to see if the CPU and Memory monitoring issue would get fixed if I ran the McMyAdmin service instead of the McMyAdmin app itself I found yet another issue isolated to the service itself.

Seems like the McMyAdmin service is failing to launch the forge/minecraft server where as the McMyAdmin app itself has no issue launching it.

System/Network Service/Administrators seem to have full read/write privileges to the ForgeMod.jar file and Minecraft Server directory in general so not quite sure what the issue is.

Console output from trying to launch Forge/Minecraft from the McMyAdmin service:

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

2:37:39 AM CONSOLE: main WARN Advanced terminal features are not available in this environment

2:37:40 AM CONSOLE: [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.1.0, --fml.mcpVersion, 20200122.131323, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, nogui]

2:37:40 AM CONSOLE: [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 5.0.0-milestone.4+67+b1a340b starting: java version 1.8.0_241 by Oracle Corporation

2:37:40 AM CONSOLE: [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust

2:37:41 AM CONSOLE: [ne.mi.fm.lo.mo.ModDiscoverer/SCAN]: Unable to read minecraft default mod

2:37:41 AM CONSOLE: [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Users\moren\AppData\Local\McMyAdmin\Minecraft\ForgeMod.jar

2:37:41 AM CONSOLE: [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer$MinecraftLocator.findPath(ModDiscoverer.java:182)

2:37:41 AM CONSOLE: [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:46)

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Mike posted this 12 February 2020

Take a backup of the server and verify that a vanilla server is able to start normally.

Z_ero posted this 12 February 2020

Starting a vanilla server from the McMyAdmin application starts without issue with CPU and Monitoring working without issue.

Starting a vanilla server from the McMyAdmin running as a service fails to start the vanilla server.

Console output:

  • 4:38:23 PM CONSOLE: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
  • 4:38:23 PM CONSOLE: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
  • 4:38:23 PM CONSOLE: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
  • 4:38:23 PM CONSOLE: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
  • 4:38:23 PM CONSOLE: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
  • 4:38:23 PM CONSOLE: Failed to start the minecraft server
  • 4:38:23 PM CONSOLE: java.nio.file.AccessDeniedException: C:\Users\moren\AppData\Local\McMyAdmin\Minecraft
  • 4:38:23 PM CONSOLE: Source) ~[?:1.8.0_241]
  • 4:38:23 PM CONSOLE: Source) ~[?:1.8.0_241]
  • 4:38:23 PM CONSOLE: Source) ~[?:1.8.0_241]

Mike posted this 13 February 2020

You can't switch between using the service and the application, this will cause permissions issues. You'll need to delete the server data, pick if you want it to be a service or application and stick to that.

Z_ero posted this 15 February 2020

I deleted both McMyAdim and the entire minecraft server and reinstalled McMyAdmin as a service (never even opening the McMyAdmin application itself).

When starting a brand new vanilla minecraft server from the McMyAdmin service, I still get the same error.

1:01:30 PM CONSOLE: java.nio.file.AccessDeniedException: C:\Users\moren\AppData\Local\McMyAdmin\Minecraft

You mentioned deleting the server data, can you clarify what exactly I need to delete? I deleted the entire McMyAdmin directory and reinstalled but that didn't' seem to fix anything.

Mike posted this 15 February 2020

Does the NETWORK SERVICE user have read/write access to that directory?

Z_ero posted this 15 February 2020

I was about to reply to this post as well lol,

Network Service user doesn't seem to be defining it's permissions correctly upon install (installed with cmd running as admin). Instead of running it as Networking Service, I changed it to the Local System log on which allowed me to fire up the Forge/Minecraft server.

CPU and Memory monitoring are still not functioning on the Status Page of McMyAdmin but I'm assuming that's because the service isn't running as Network Service.

Close