Jump to content

Server problem: Pid 0 [Java]


Simon942

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 21 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use