Cant start forge 1.7.10 Java.io.IOException: the handle is invalid

Hey guys im having trouble starting my forge server my log will be below any ideas of what im doing wrong?

[20:21:34] [Server thread/INFO]: Starting minecraft server version 1.7.10
[20:21:34] [Server thread/WARN]: To start the server with more ram, launch it as “java -Xmx1024M -Xms1024M -jar minecraft_server.jar”
[20:21:34] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_101]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_101]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_101]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_101]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_101]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_101]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_101]
at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]
[20:21:38] [Server thread/INFO]: Loading properties
[20:21:38] [Server thread/INFO]: Default game type: SURVIVAL
[20:21:38] [Server thread/INFO]: Generating keypair
[20:21:39] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25575
[20:21:40] [Server thread/INFO]: Preparing level “world”
[20:21:41] [Server thread/INFO]: Preparing start region for level 0
[20:21:42] [Server thread/INFO]: Preparing spawn area: 3%
[20:21:43] [Server thread/INFO]: Preparing spawn area: 35%
[20:21:44] [Server thread/INFO]: Preparing spawn area: 88%
[20:21:44] [Server thread/INFO]: Done (4.379s)! For help, type “help” or “?”
[20:22:11] [Server thread/INFO]: Stopping server
[20:22:12] [Server thread/INFO]: Saving players
[20:22:12] [Server thread/INFO]: Saving worlds
[20:22:12] [Server thread/INFO]: Saving chunks for level ‘world’/Overworld
[20:22:12] [Server thread/INFO]: Saving chunks for level ‘world’/Nether
[20:22:12] [Server thread/INFO]: Saving chunks for level ‘world’/The End

Question, your log doesn’t seem to indicate that you can’t start it–does it auto-close eventually? Or did you manually close it?

Googling your error seems to indicate it is a largely benign error that doesn’t cause issues for people actually to log in and play…

it doesn’t keep the server up it just closes right away

Can you provide any additional information? Does this issue happen with any other server jars?

With no additional information, I can only guess it’s a Forge-specific problem, which I admittedly am not an expert in.

Based on your provided logs, it runs for a whole 20+ seconds before it apparently gracefully stops and Googling the error doesn’t seem to indicate that this issue is preventing other admins from keeping the server up and letting other users log in.

If you’re still having this issue, please let me know as much about these above concerns as you can provide.

this issue doesn’t happen with any vanilla servers just forge i am running mineos on ubuntu 16.04 on a dell power edge 1950 let me know what other info you need and i can provide

please ensure there are NO jar or mods installed that are for minecraft version 1.8.0 on a 1.7.10 server and that includes the forge universal jar.

also, how is this addressed?

[20:21:34] [Server thread/WARN]: To start the server with more ram, launch it as “java -Xmx1024M -Xms1024M -jar minecraft_server.jar”

please tell us what is your entries for ‘Memory Allocation (Heapsize)’ for both Xmx and Xms?

also, did you open this port? as it is closed by default:

[20:21:39] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25575

thanks and best regards,

tNt