Simon942 Posted January 19, 2017 Share Posted January 19, 2017 Hello TCAdmin, We have a problem with the Windows version of TCAdmin all servers stay on pid 0. Service manager logs: System.InvalidOperationException: Process has exited, so the requested information is not available. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_ProcessName() at TCAdmin.ServiceManLib.ProcessController.GetModuleSaveInfo(Process p) at TCAdmin.ServiceManLib.WindowsProcessController.Start2() If you need more information you are must welcome . Best regards Simon Br?ndsted Link to comment Share on other sites More sharing options...
Simon942 Posted January 19, 2017 Author Share Posted January 19, 2017 It?s begun after a Java update Link to comment Share on other sites More sharing options...
ECF Posted January 19, 2017 Share Posted January 19, 2017 Put in a support ticket. Fastest way to get a response/fix. Link to comment Share on other sites More sharing options...
Simon942 Posted January 20, 2017 Author Share Posted January 20, 2017 Okay thanks Link to comment Share on other sites More sharing options...
Dennis Posted January 20, 2017 Share Posted January 20, 2017 Seems weird that Java would mess with TCAdmin... IIRC, TCAdmin doesn't depend on Java to run, right? I mean, how would that ever be an issue? xD Please post whatever the solution is, I'm curious :-) Link to comment Share on other sites More sharing options...
Simon942 Posted January 20, 2017 Author Share Posted January 20, 2017 We host Minecraft servers . there we need to run .jar files Link to comment Share on other sites More sharing options...
Dennis Posted January 20, 2017 Share Posted January 20, 2017 Yes, but TCAdmin shouldn't be giving errors because of a Java update. Those errors should just be TCAdmin errors - not something that has to do with Java. It's probably caused by you guys installing Java 8 - you need to correct the path to Java in the Minecraft config Link to comment Share on other sites More sharing options...
Simon942 Posted January 20, 2017 Author Share Posted January 20, 2017 Okay. But will it work if we reinstall Java on our machine? some servers can still run but many servers stay on Pid: 0 Sorry. For my bad english Link to comment Share on other sites More sharing options...
Dennis Posted January 20, 2017 Share Posted January 20, 2017 It shouldn't affect that. It's just that when you update Java, the path to the Java executable is changed (on Windows, that is). If Java isn't configured with your environment variables, you need to specify the full path to the executable. If you open Settings -> Games & Other Voice Servers -> Minecraft -> Scripts -> Create minecraft_server.bat, you see something like this: https://hastebin.com/uhubijemow.php You need to change the following lines: IF EXIST "%ProgramFiles%\Java\jre1.8.0_45\bin\java.exe" GOTO JAVAJRE8 to IF EXIST "%ProgramFiles%\Java\jre1.8.0_XX\bin\java.exe" GOTO JAVAJRE8 replacing XX with the version number and you also need to change echo ^"%%ProgramFiles%%\Java\jre1.8.0_45\bin\java.exe^" %%^* > minecraft_server.bat to fit the same path as before. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.