I need some help. I decided to start a private server for me and my family. I got the server up and running, but about 5 minutes after I join the server, the server .exe closes on its own. I restarted my computer and tried again and the same thing happened. Can anyone tell me how to fix this?
I looked at some of the crash reports and from what i can tell it needs more ram. Can someone explain to me how to make one of thoose batch files for the minecraft 1.8.1 server.exe. I googled it but none of the tutorials tell me what i actually have to do. Please somebody help me!
I need another solution. I've copied in the latest crash report. If anyone can understand what it means, please tell me what the problem is and what I should do to fix it. I've left everything untouched except for my username and IP.
[14:37:27] [Server thread/INFO]: Starting minecraft server version 1.8.1
[14:37:27] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_71]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_71]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_71]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_71]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_71]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_71]
at pr.run(SourceFile:81) [minecraft_server.1.8.1.exe:?]
[14:37:27] [Server thread/INFO]: Loading properties
[14:37:28] [Server thread/INFO]: Default game type: SURVIVAL
[14:37:28] [Server thread/INFO]: Generating keypair
[14:37:30] [Server thread/INFO]: Starting Minecraft server on
[14:37:31] [Server thread/INFO]: Using default channel type
[14:37:38] [Server thread/INFO]: Preparing level "world"
[14:37:39] [Server thread/INFO]: Preparing start region for level 0
[14:37:40] [Server thread/INFO]: Preparing spawn area: 1%
[14:37:41] [Server thread/INFO]: Preparing spawn area: 3%
[14:37:42] [Server thread/INFO]: Preparing spawn area: 9%
[14:37:43] [Server thread/INFO]: Preparing spawn area: 15%
[14:37:44] [Server thread/INFO]: Preparing spawn area: 19%
[14:37:45] [Server thread/INFO]: Preparing spawn area: 25%
[14:37:46] [Server thread/INFO]: Preparing spawn area: 29%
[14:37:47] [Server thread/INFO]: Preparing spawn area: 35%
[14:37:48] [Server thread/INFO]: Preparing spawn area: 38%
[14:37:49] [Server thread/INFO]: Preparing spawn area: 42%
[14:37:50] [Server thread/INFO]: Preparing spawn area: 47%
[14:37:51] [Server thread/INFO]: Preparing spawn area: 49%
[14:37:53] [Server thread/INFO]: Preparing spawn area: 53%
[14:37:54] [Server thread/INFO]: Preparing spawn area: 57%
[14:37:55] [Server thread/INFO]: Preparing spawn area: 60%
[14:37:56] [Server thread/INFO]: Preparing spawn area: 63%
[14:37:57] [Server thread/INFO]: Preparing spawn area: 66%
[14:37:58] [Server thread/INFO]: Preparing spawn area: 68%
[14:37:59] [Server thread/INFO]: Preparing spawn area: 72%
[14:38:00] [Server thread/INFO]: Preparing spawn area: 74%
[14:38:01] [Server thread/INFO]: Preparing spawn area: 75%
[14:38:02] [Server thread/INFO]: Preparing spawn area: 77%
[14:38:04] [Server thread/INFO]: Preparing spawn area: 78%
[14:38:05] [Server thread/INFO]: Preparing spawn area: 81%
[14:38:06] [Server thread/INFO]: Preparing spawn area: 84%
[14:38:08] [Server thread/INFO]: Preparing spawn area: 86%
[14:38:09] [Server thread/INFO]: Preparing spawn area: 88%
[14:38:10] [Server thread/INFO]: Preparing spawn area: 90%
[14:38:11] [Server thread/INFO]: Preparing spawn area: 92%
[14:38:12] [Server thread/INFO]: Preparing spawn area: 94%
[14:38:13] [Server thread/INFO]: Preparing spawn area: 95%
[14:38:14] [Server thread/INFO]: Preparing spawn area: 97%
[14:38:15] [Server thread/INFO]: Preparing spawn area: 99%
[14:38:16] [Server thread/INFO]: Done (37.659s)! For help, type "help" or "?"
[14:38:23] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6748ms behind, skipping 134 tick(s)
[14:38:49] [User Authenticator #1/INFO]: UUID of player is c4e9ccf2-677e-4bbd-93f3-0da163849b40
[14:38:50] [Server thread/INFO]: ] logged in with entity id 251 at (-261.4088356938619, 70.75330403710976, 218.54969326167267)
[14:38:50] [Server thread/INFO]: joined the game
[14:39:02] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 30296ms behind, skipping 605 tick(s)
[14:39:13] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 10755ms behind, skipping 215 tick(s)
[14:40:30] [Server Watchdog/FATAL]: A single server tick took 60.51 seconds (should be max 0.05)
[14:40:30] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
[14:40:30] [Server Watchdog/ERROR]: This crash report has been saved to: C:\Users\Person\Desktop\Minecraft Server\.\crash-reports\crash-2014-12-22_14.40.30-server.txt
[14:40:30] [Server Shutdown Thread/INFO]: Stopping server
[14:40:30] [Server Shutdown Thread/INFO]: Saving players
I did what you said but when I open the run.bat and everything works, except it says it wont start because it doesn't recognize java as an operable command. D: What do I do now!
I need some help. I decided to start a private server for me and my family. I got the server up and running, but about 5 minutes after I join the server, the server .exe closes on its own. I restarted my computer and tried again and the same thing happened. Can anyone tell me how to fix this?
[14:37:27] [Server thread/INFO]: Starting minecraft server version 1.8.1
[14:37:27] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_71]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_71]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_71]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_71]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_71]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_71]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_71]
at pr.run(SourceFile:81) [minecraft_server.1.8.1.exe:?]
[14:37:27] [Server thread/INFO]: Loading properties
[14:37:28] [Server thread/INFO]: Default game type: SURVIVAL
[14:37:28] [Server thread/INFO]: Generating keypair
[14:37:30] [Server thread/INFO]: Starting Minecraft server on
[14:37:31] [Server thread/INFO]: Using default channel type
[14:37:38] [Server thread/INFO]: Preparing level "world"
[14:37:39] [Server thread/INFO]: Preparing start region for level 0
[14:37:40] [Server thread/INFO]: Preparing spawn area: 1%
[14:37:41] [Server thread/INFO]: Preparing spawn area: 3%
[14:37:42] [Server thread/INFO]: Preparing spawn area: 9%
[14:37:43] [Server thread/INFO]: Preparing spawn area: 15%
[14:37:44] [Server thread/INFO]: Preparing spawn area: 19%
[14:37:45] [Server thread/INFO]: Preparing spawn area: 25%
[14:37:46] [Server thread/INFO]: Preparing spawn area: 29%
[14:37:47] [Server thread/INFO]: Preparing spawn area: 35%
[14:37:48] [Server thread/INFO]: Preparing spawn area: 38%
[14:37:49] [Server thread/INFO]: Preparing spawn area: 42%
[14:37:50] [Server thread/INFO]: Preparing spawn area: 47%
[14:37:51] [Server thread/INFO]: Preparing spawn area: 49%
[14:37:53] [Server thread/INFO]: Preparing spawn area: 53%
[14:37:54] [Server thread/INFO]: Preparing spawn area: 57%
[14:37:55] [Server thread/INFO]: Preparing spawn area: 60%
[14:37:56] [Server thread/INFO]: Preparing spawn area: 63%
[14:37:57] [Server thread/INFO]: Preparing spawn area: 66%
[14:37:58] [Server thread/INFO]: Preparing spawn area: 68%
[14:37:59] [Server thread/INFO]: Preparing spawn area: 72%
[14:38:00] [Server thread/INFO]: Preparing spawn area: 74%
[14:38:01] [Server thread/INFO]: Preparing spawn area: 75%
[14:38:02] [Server thread/INFO]: Preparing spawn area: 77%
[14:38:04] [Server thread/INFO]: Preparing spawn area: 78%
[14:38:05] [Server thread/INFO]: Preparing spawn area: 81%
[14:38:06] [Server thread/INFO]: Preparing spawn area: 84%
[14:38:08] [Server thread/INFO]: Preparing spawn area: 86%
[14:38:09] [Server thread/INFO]: Preparing spawn area: 88%
[14:38:10] [Server thread/INFO]: Preparing spawn area: 90%
[14:38:11] [Server thread/INFO]: Preparing spawn area: 92%
[14:38:12] [Server thread/INFO]: Preparing spawn area: 94%
[14:38:13] [Server thread/INFO]: Preparing spawn area: 95%
[14:38:14] [Server thread/INFO]: Preparing spawn area: 97%
[14:38:15] [Server thread/INFO]: Preparing spawn area: 99%
[14:38:16] [Server thread/INFO]: Done (37.659s)! For help, type "help" or "?"
[14:38:23] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6748ms behind, skipping 134 tick(s)
[14:38:49] [User Authenticator #1/INFO]: UUID of player is c4e9ccf2-677e-4bbd-93f3-0da163849b40
[14:38:50] [Server thread/INFO]: ] logged in with entity id 251 at (-261.4088356938619, 70.75330403710976, 218.54969326167267)
[14:38:50] [Server thread/INFO]: joined the game
[14:39:02] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 30296ms behind, skipping 605 tick(s)
[14:39:13] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 10755ms behind, skipping 215 tick(s)
[14:40:30] [Server Watchdog/FATAL]: A single server tick took 60.51 seconds (should be max 0.05)
[14:40:30] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
[14:40:30] [Server Watchdog/ERROR]: This crash report has been saved to: C:\Users\Person\Desktop\Minecraft Server\.\crash-reports\crash-2014-12-22_14.40.30-server.txt
[14:40:30] [Server Shutdown Thread/INFO]: Stopping server
[14:40:30] [Server Shutdown Thread/INFO]: Saving players
1. Press the key on right of the Left Ctrl button (Looks like the windows logo) and R at the same time until a window called "Run" opens
2. Type in "dxdiag" without the quotes and press enter.
3. If a box pops up, press Yes.
4. It opens a window. Look for "Memory: (Amount here)"
If you only have about 2000-3000MB, then you may not be capable of running a server.
If you have a good amount, use the JAR instead of exe to run the server (Should be on the server download page)
and make a new text file INSIDE THE SERVER FOLDER. Open it and put:
java -Xmx (About "3000M" if you have enough to spare) -jar minecraft_server.1.8.1.jar -o true
PAUSE
Save the file, then rename it to "run.bat"
After that open the file and hopefully, it works!
Thank You!
I make Minecraft mods. More info on my website.