Help: Server won't start [SOLVED]


#1

I know there’s probably a simple solution to this, but every now and then I come across this problem where one of my servers won’t start. The settings look identical, so I can’t work out what’s wrong.

I’ve noticed that my ping version doesn’t say 1.12.2 but I can’t seem to set it. help please.


#2

Any information on /var/log/mineos.log?

We can’t reproduce this issue based on the information provided; what server version of Minecraft are you attempting? Have you updated the MineOS webui? etc.


#3

sorry, I uploaded some screenshots that have dropped off. I’m running the hexparrot/mineos docker

I’m not sure which log file you mean:

[16:46:27] [Server thread/INFO]: Starting minecraft server version 1.12.2
[16:46:27] [Server thread/INFO]: Loading properties
[16:46:27] [Server thread/INFO]: Default game type: SURVIVAL
[16:46:27] [Server thread/INFO]: Generating keypair
[16:46:27] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25566
[16:46:27] [Server thread/INFO]: Using epoll channel type
[16:46:27] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[16:46:27] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[16:46:27] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[16:46:27] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[16:46:27] [Server thread/INFO]: Preparing level "Teamwork"
[16:46:28] [Server thread/INFO]: Loaded 488 advancements
[16:46:28] [Server thread/INFO]: Preparing start region for level 0
[16:46:28] [Server thread/WARN]: Keeping entity minecraft:chicken that already exists with UUID 4be44e45-6cc1-4ca4-bc79-1666ab44f859
[16:46:28] [Server thread/WARN]: Keeping entity minecraft:sheep that already exists with UUID eba2a5dd-4c33-4781-837f-aaec20a8fe12
[16:46:28] [Server thread/WARN]: Keeping entity minecraft:chicken that already exists with UUID 402d7911-6bba-4a42-b722-3271ea0a6ca4
[16:46:28] [Server thread/WARN]: Keeping entity minecraft:chicken that already exists with UUID bf8cdbc0-59a0-4472-8415-6f8bc66b0114
[16:46:29] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.OutOfMemoryError: Java heap space
	at java.util.ArrayList.<init>(ArrayList.java:152) ~[?:1.8.0_131]
	at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:190) ~[minecraft_server.1.12.2.jar:?]
	at ge.a(SourceFile:63) ~[minecraft_server.1.12.2.jar:?]
	at fy.a(SourceFile:440) ~[minecraft_server.1.12.2.jar:?]
	at fy.a(SourceFile:78) ~[minecraft_server.1.12.2.jar:?]
	at ge.a(SourceFile:66) ~[minecraft_server.1.12.2.jar:?]
	at fy.a(SourceFile:440) ~[minecraft_server.1.12.2.jar:?]
	at fy.a(SourceFile:78) ~[minecraft_server.1.12.2.jar:?]
	at fy.a(SourceFile:440) ~[minecraft_server.1.12.2.jar:?]
	at fy.a(SourceFile:78) ~[minecraft_server.1.12.2.jar:?]
	at gi.a(SourceFile:119) ~[minecraft_server.1.12.2.jar:?]
	at gi.a(SourceFile:84) ~[minecraft_server.1.12.2.jar:?]
	at gi.a(SourceFile:80) ~[minecraft_server.1.12.2.jar:?]
	at aye.a(SourceFile:66) ~[minecraft_server.1.12.2.jar:?]
	at on.f(SourceFile:124) ~[minecraft_server.1.12.2.jar:?]
	at on.b(SourceFile:81) ~[minecraft_server.1.12.2.jar:?]
	at on.c(SourceFile:95) ~[minecraft_server.1.12.2.jar:?]
	at net.minecraft.server.MinecraftServer.l(SourceFile:328) ~[minecraft_server.1.12.2.jar:?]
	at net.minecraft.server.MinecraftServer.a(SourceFile:299) ~[minecraft_server.1.12.2.jar:?]
	at nz.j(SourceFile:233) ~[minecraft_server.1.12.2.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:434) [minecraft_server.1.12.2.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
[16:46:29] [Server thread/ERROR]: This crash report has been saved to: /var/games/minecraft/servers/Survival/./crash-reports/crash-2017-12-11_16.46.29-server.txt
[16:46:29] [Server thread/INFO]: Stopping server
[16:46:29] [Server thread/INFO]: Saving players
[16:46:29] [Server thread/INFO]: Saving worlds
[16:46:29] [Server thread/INFO]: Saving chunks for level 'Teamwork'/overworld
[16:46:29] [Server thread/INFO]: Saving chunks for level 'Teamwork'/the_nether
[16:46:29] [Server thread/INFO]: Saving chunks for level 'Teamwork'/the_end
[16:46:29] [Server Shutdown Thread/INFO]: Stopping server
[16:46:29] [Server Shutdown Thread/INFO]: Saving players
[16:46:29] [Server Shutdown Thread/INFO]: Saving worlds
[16:46:29] [Server Shutdown Thread/INFO]: Saving chunks for level 'Teamwork'/overworld
[16:46:29] [Server Shutdown Thread/INFO]: Saving chunks for level 'Teamwork'/the_nether
[16:46:29] [Server Shutdown Thread/INFO]: Saving chunks for level 'Teamwork'/the_end

 USER_NAME not provided; defaulting to "mc"
Created user: mc (uid: 1000)
Generating Self-Signed SSL...
Generating a 1024 bit RSA private key
....++++++
................++++++
writing new private key to '.tmpkey.pem'
-----
writing RSA key
2017-12-09 13:49:24,485 CRIT Supervisor running as root (no user in config file)
2017-12-09 13:49:24,485 WARN Included extra file "/etc/supervisor/conf.d/mineos.conf" during parsing
2017-12-09 13:49:24,493 INFO RPC interface 'supervisor' initialized
2017-12-09 13:49:24,494 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-12-09 13:49:24,494 INFO supervisord started with pid 1
2017-12-09 13:49:25,496 INFO spawned: 'mineos' with pid 31
2017-12-09 13:49:27,184 INFO success: mineos entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-12-09 13:49:47,588 CRIT reaped unknown pid 112)
2017-12-09 13:49:47,589 CRIT reaped unknown pid 113)
2017-12-11 02:02:40,234 WARN received SIGTERM indicating exit request
2017-12-11 02:02:40,238 INFO waiting for mineos to die
2017-12-11 02:02:40,246 INFO stopped: mineos (terminated by SIGTERM)
USER_NAME not provided; defaulting to "mc"
mc already exists.
2017-12-11 03:12:39,975 CRIT Supervisor running as root (no user in config file)
2017-12-11 03:12:39,975 WARN Included extra file "/etc/supervisor/conf.d/mineos.conf" during parsing
2017-12-11 03:12:39,995 INFO RPC interface 'supervisor' initialized
2017-12-11 03:12:39,995 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-12-11 03:12:39,995 INFO supervisord started with pid 1
2017-12-11 03:12:40,997 INFO spawned: 'mineos' with pid 10
2017-12-11 03:12:41,997 INFO success: mineos entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-12-11 03:13:03,749 CRIT reaped unknown pid 91)
2017-12-11 03:13:03,749 CRIT reaped unknown pid 92)
2017-12-11 14:16:46,172 CRIT reaped unknown pid 216)
2017-12-11 14:16:46,172 CRIT reaped unknown pid 217)
2017-12-11 14:18:10,578 CRIT reaped unknown pid 278)
2017-12-11 14:18:10,578 CRIT reaped unknown pid 279)
2017-12-11 14:18:45,588 CRIT reaped unknown pid 341)
2017-12-11 14:18:45,588 CRIT reaped unknown pid 342)
2017-12-11 14:18:56,243 CRIT reaped unknown pid 404)
2017-12-11 14:18:56,243 CRIT reaped unknown pid 405)
2017-12-11 14:22:46,718 CRIT reaped unknown pid 474)
2017-12-11 14:22:46,718 CRIT reaped unknown pid 475)
2017-12-11 14:23:57,825 CRIT reaped unknown pid 540)
2017-12-11 14:23:57,825 CRIT reaped unknown pid 541)
2017-12-11 14:24:15,330 CRIT reaped unknown pid 606)
2017-12-11 14:24:15,330 CRIT reaped unknown pid 607)
2017-12-11 14:24:47,738 CRIT reaped unknown pid 676)
2017-12-11 14:24:47,738 CRIT reaped unknown pid 677)
2017-12-11 14:26:04,120 CRIT reaped unknown pid 744)
2017-12-11 14:26:04,120 CRIT reaped unknown pid 745)
2017-12-11 14:27:41,379 CRIT reaped unknown pid 816)
2017-12-11 14:27:41,379 CRIT reaped unknown pid 817)
2017-12-11 14:28:02,391 CRIT reaped unknown pid 886)
2017-12-11 14:28:02,391 CRIT reaped unknown pid 887)
2017-12-11 14:28:27,057 CRIT reaped unknown pid 956)
2017-12-11 14:28:27,057 CRIT reaped unknown pid 957)
2017-12-11 14:29:03,002 CRIT reaped unknown pid 1028)
2017-12-11 14:29:03,002 CRIT reaped unknown pid 1029)
2017-12-11 15:25:20,672 WARN received SIGTERM indicating exit request
2017-12-11 15:25:20,672 INFO waiting for mineos to die
2017-12-11 15:25:20,684 INFO stopped: mineos (terminated by SIGTERM)
USER_NAME not provided; defaulting to "mc"
mc already exists.
2017-12-11 15:25:21,776 CRIT Supervisor running as root (no user in config file)
2017-12-11 15:25:21,776 WARN Included extra file "/etc/supervisor/conf.d/mineos.conf" during parsing
2017-12-11 15:25:21,786 INFO RPC interface 'supervisor' initialized
2017-12-11 15:25:21,786 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-12-11 15:25:21,787 INFO supervisord started with pid 1
2017-12-11 15:25:22,789 INFO spawned: 'mineos' with pid 10
2017-12-11 15:25:24,494 INFO success: mineos entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-12-11 15:25:44,629 CRIT reaped unknown pid 91)
2017-12-11 15:25:44,629 CRIT reaped unknown pid 92)
2017-12-11 16:46:08,806 CRIT reaped unknown pid 212)
2017-12-11 16:46:08,806 CRIT reaped unknown pid 213)
2017-12-11 16:46:29,825 CRIT reaped unknown pid 274)
2017-12-11 16:46:29,825 CRIT reaped unknown pid 275)

#4

Perhaps you’ve allocated more to this server to start than is available.

Remember, Linux overhead/webui overhead/java overhead all don’t get counted in the heapsize you select (XMX/XMS values), so you need to ensure some headroom.


#5

I have around 20GB free on average, but just to check I stopped the other server and dropped the memory on the bad one to 512KB … no joy, and now both of them won’t start :frowning:


#6

20GB of RAM free?

Seems like with that much excess RAM there really shouldn’t be much risk of running out of heap.

What dose it mean that it dropped the memory on the bad one?

Have you restarted your host and tried starting them again? I’m not sure I’m understanding your comment.


#7

Sorry, should have been clearer. I have two servers, with one not working. What I did was shut down the one that was working, and reduced the ram on the one that wasn’t working to see if that kick-started it. But, things got worse and now neither will start.


#8

I managed to create a new server from an archive - it’s a few weeks old, but I don’t think my kids will notice.

Is there a script that can create restore/archive points on a schedule?