Unable to start any server

I have been running two servers on MineOS for a few months, and suddenly my servers kicked all players, and could no longer be accessed. I tried to restart the servers but nothing would happen, so I stopped them now I cannot start them. I have tried every server with plugins, without plugins and even tried to make new servers. Nothing shows up on the log while starting the servers and if I try to make an archive or restore point, it instantly fails. My MineOS is up to date and I’m using 1.14.4 vanilla and Spigot. in the mineos.log this is what shows up while trying to start a server:
{“level”:“info”,“message”:"[Vanilla] ... issued command : “start”",“timestamp”:“2019-12-02T17:16:39.417Z”}
{“level”:“info”,“message”:"[Vanilla] received request “start”",“timestamp”:“2019-12-02T17:16:39.418Z”}
and then nothing.

This also occurs for other versions and as soon as I press Start, the server will say it’s up for a few seconds and then say it’s down again.

Is there anything else in mineos.log?

That’s all that appears when I load a server, the only other things I can see in the log is “level”:“info”,“message”:"[Server_Name] mc (..*.**) joined server namespace",“timestamp”:“2019-12-02T20:14:53.640Z”} and
“level”:“info”,“message”:"[Server_Name] transmittting existing file contents: logs/latest.log (4674 bytes)",“timestamp”:“2019-12-02T20:14:54.239Z”}
for each server every now and then. That’s all I can see.

I also just tried to run a server from within the console and got a crash report in the server files. This was the crash report:
---- Minecraft Crash Report ----
// My bad.

Time: 12/2/19 8:08 PM
Description: Exception in server tick loop

com.google.gson.JsonParseException: java.io.EOFException: End of input at line 1 column 1 path $
at zs.a(SourceFile:507)
at zs.a(SourceFile:523)
at xz.g(SourceFile:146)
at uj.z(SourceFile:98)
at uj.(SourceFile:25)
at uk.d(SourceFile:185)
at net.minecraft.server.MinecraftServer.run(SourceFile:615)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: End of input at line 1 column 1 path $
at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:74)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at zs.a(SourceFile:505)
… 7 more

A detailed walkthrough of the error, its code path and all known details is as follows:

– System Details –
Details:
Minecraft Version: 1.14.4
Minecraft Version ID: 1.14.4
Operating System: Linux (amd64) version 4.9.0-8-amd64
Java Version: 1.8.0_232, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 49036856 bytes (46 MB) / 173649920 bytes (165 MB) up to 2021195776 bytes (1927 MB)
CPUs: 1
JVM Flags: 0 total;
Data Packs:
Is Modded: Unknown (can’t tell)
Type: Dedicated Server (map_server.txt)

Maybe you need to redownload each of the server jars. This output suggests strictly a Java runtime error, something MineOS wouldn’t have a part in. Redownloading all of your server profiles would be the best, first step.

Also, do try downloading a previous Minecraft vanilla version, to confirm. If 1.12.2 works, then either:

a) 1.14.4 was saved to the disk improperly (probably download related)
b) …something else? Running a server from the console and getting an error suggests further it’s outside MineOS, so ensuring that the downloaded files are OK is the best thing to do.

Lastly, when you’re asked for server logs, you should find a way to provide the server logs rather than only copy paste what you believe to be relevant.

The server logs try to be comprehensive about catching details about server issues, but the value of these logs are lost if you pick-and-choose one or two lines. Naturally, you can just run a search-and-replace for your IP address to omit that, but even the server start-up lines which actually indicate to me what version of the webui you’re using…is important.

Apologies for not including all of the log, I was unsure of how much I needed to include or what I needed to include.
Also I tried to install a few new versions on the profiles page and tried running them but had no luck.
How would I go about re downloading each of the server jars? Would it be manually replacing them within the server files or doing it on the WebUI?

In the profiles page, click to download the profile again. You’ll see the progress indicator go from 1% -> 100%.

Then, go to the server page, select the profile you just downloaded and click the button to copy profile to live server.

Right, Thank you, I’ll try that.

No luck, the server went up for a few seconds then back down again as before.

Then I recommend logging into the terminal, going to the mc user and typing this:

$ cd /var/games/minecraft/servers/Server_Name
$ ls -la
$ java -jar minecraft_server.1.14.4.jar

Adjust the servername to match your actual server name. Adjust the jar filename to match the actual filename.

Provide the results back.

This output from your original post suggests fairly clearly that the jarfile you’re attempting to run doesn’t work. If that truly is the case, you’re going to see that same crash report pop up telling us it’s the file that’s bogus.

root@mineos-tkldev /# cd /var/games/minecraft/servers/Server_1
root@mineos-tkldev …/servers/Server_1# ls -la
total 67028
drwxrwxrwx 2 mc mc 4096 Dec 4 17:36 .
drwxrwxrwx 13 root root 4096 Dec 3 15:40 …
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 banned-ips.json
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 banned-players.json
-rw-rw-r-- 1 mc mc 0 Dec 3 15:40 cron.config
-rw-rw-r-- 1 mc mc 9 Dec 3 15:40 eula.txt
-rw-rw-r-- 1 mc mc 32649675 Dec 3 15:37 minecraft_server.1.13.jar
-rwxrwxrwx 1 mc mc 35958734 Dec 4 17:35 minecraft_server.1.14.4.jar
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 ops.json
-rw-rw-r-- 1 mc mc 108 Dec 4 17:36 server.config
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 server.properties
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 usercache.json
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 whitelist.json
root@mineos-tkldev …/servers/Server_1# java -jar minecraft_server_1.14.4.jar
Error: Unable to access jarfile minecraft_server_1.14.4.jar
root@mineos-tkldev …/servers/Server_1# ls

Here’s the result I got. Is there a reason it’s unable to access the jarfile? typed ls while in the Server file and minecraft_server.1.14.4.jar is there.

The answer is the filename is minecraft_server.1.14.4.jar. I put it wrong in my post, but the natural followup should have been to check that it matched what was in the ls command.

That said, do this as mc; I can see you did it as root.

Sorry I didn’t realise I could run this as mc, I’ve only ever done this as root. I thought that the initial java -jar command matched the jar file in the ls, apologies. After logging in as mc and running the commands this was the result I got:
mc@mineos-tkldev /$ cd /var/games/minecraft/servers/Server_1
mc@mineos-tkldev …/servers/Server_1$ ls -la
total 67028
drwxrwxrwx 2 mc mc 4096 Dec 4 17:36 .
drwxrwxrwx 13 root root 4096 Dec 3 15:40 …
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 banned-ips.json
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 banned-players.json
-rw-rw-r-- 1 mc mc 0 Dec 3 15:40 cron.config
-rw-rw-r-- 1 mc mc 9 Dec 3 15:40 eula.txt
-rw-rw-r-- 1 mc mc 32649675 Dec 3 15:37 minecraft_server.1.13.jar
-rwxrwxrwx 1 mc mc 35958734 Dec 4 17:35 minecraft_server.1.14.4.jar
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 ops.json
-rw-rw-r-- 1 mc mc 108 Dec 4 17:36 server.config
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 server.properties
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 usercache.json
-rw-rw-r-- 1 mc mc 0 Dec 4 17:36 whitelist.json
mc@mineos-tkldev …/servers/Server_1$ java -jar minecraft_server.1.14.4.jar
2019-12-05 15:37:56,238 main ERROR Cannot access RandomAccessFile java.io.IOExce ption: Could not create directory /var/games/minecraft/servers/Server_1/logs jav a.io.IOException: Could not create directory /var/games/minecraft/servers/Server _1/logs
at org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:119 )
at org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils .java:136)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccess FileManager.java:179)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccess FileManager.java:156)
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs tractManager.java:112)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager (OutputStreamManager.java:114)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:8 7)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:115)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:52)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build (PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug inObject(AbstractConfiguration.java:952)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:892)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:884)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur e(AbstractConfiguration.java:508)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize (AbstractConfiguration.java:232)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst ractConfiguration.java:244)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:617)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:634)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java: 229)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:152)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
at agq.(SourceFile:17)

2019-12-05 15:37:56,252 main ERROR Unable to inject fields into builder class fo r plugin type class org.apache.logging.log4j.core.appender.RollingRandomAccessFi leAppender, element RollingRandomAccessFile. java.lang.IllegalStateException: Ma nagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingRandomAccess FileManager$RollingRandomAccessFileManagerFactory@a1153bc] unable to create mana ger for [logs/latest.log] with data [org.apache.logging.log4j.core.appender.roll ing.RollingRandomAccessFileManager$FactoryData@1aafa419]
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs tractManager.java:114)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager (OutputStreamManager.java:114)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFil eManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:8 7)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:115)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppende r$Builder.build(RollingRandomAccessFileAppender.java:52)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build (PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug inObject(AbstractConfiguration.java:952)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:892)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:884)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur e(AbstractConfiguration.java:508)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize (AbstractConfiguration.java:232)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst ractConfiguration.java:244)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:617)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:634)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java: 229)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:152)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
at agq.(SourceFile:17)

2019-12-05 15:37:56,259 main ERROR Unable to invoke factory method in class clas s org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender for ele ment RollingRandomAccessFile. java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingRandomAccessFileA ppender
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findF actoryMethod(PluginBuilder.java:224)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build (PluginBuilder.java:130)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug inObject(AbstractConfiguration.java:952)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:892)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf iguration(AbstractConfiguration.java:884)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur e(AbstractConfiguration.java:508)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize (AbstractConfiguration.java:232)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst ractConfiguration.java:244)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:617)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext .java:634)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java: 229)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:152)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log 4jContextFactory.java:45)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
at agq.(SourceFile:17)

2019-12-05 15:37:56,266 main ERROR Null object returned for RollingRandomAccessF ile in Appenders.
2019-12-05 15:37:56,273 main ERROR Unable to locate appender “File” for logger c onfig “root”
[15:37:56] [main/ERROR]: Failed to store properties to file: server.properties
[15:38:01] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[15:38:01] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:38:01] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:38:01] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[15:38:01] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[15:38:01] [Server thread/INFO]: Starting minecraft server version 1.14.4
[15:38:01] [Server thread/INFO]: Loading properties
[15:38:01] [Server thread/INFO]: Default game type: SURVIVAL
[15:38:01] [Server thread/INFO]: Generating keypair
[15:38:02] [Server thread/INFO]: Starting Minecraft server on *:25565
[15:38:02] [Server thread/INFO]: Using default channel type
[15:38:02] [Server thread/ERROR]: Encountered an unexpected exception
com.google.gson.JsonParseException: java.io.EOFException: End of input at line 1 column 1 path $
at zs.a(SourceFile:507) ~[minecraft_server.1.14.4.jar:?]
at zs.a(SourceFile:523) ~[minecraft_server.1.14.4.jar:?]
at xz.g(SourceFile:146) ~[minecraft_server.1.14.4.jar:?]
at uj.z(SourceFile:98) ~[minecraft_server.1.14.4.jar:?]
at uj.(SourceFile:25) ~[minecraft_server.1.14.4.jar:?]
at uk.d(SourceFile:185) ~[minecraft_server.1.14.4.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:615) [minecraft_server.1.14.4.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Caused by: java.io.EOFException: End of input at line 1 column 1 path $
at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393) ~[minecraft_server.1.14.4.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549) ~[minecraft_server.1.14.4.jar:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[minecraft_server.1.14.4.jar:?]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:74) ~[minecraft_server.1.14.4.jar:?]
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[minecraft_server.1.14.4.jar:?]
at zs.a(SourceFile:505) ~[minecraft_server.1.14.4.jar:?]
… 7 more
[15:38:02] [Server thread/ERROR]: Could not save crash report to ./crash-reports/crash-2019-12-05_15.38.02-server.txt
java.io.FileNotFoundException: ./crash-reports/crash-2019-12-05_15.38.02-server.txt (No such file or directory)
at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_232]
at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_232]
at java.io.FileOutputStream.(FileOutputStream.java:213) ~[?:1.8.0_232]
at java.io.FileOutputStream.(FileOutputStream.java:162) ~[?:1.8.0_232]
at d.a(SourceFile:179) [minecraft_server.1.14.4.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:666) [minecraft_server.1.14.4.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
[15:38:02] [Server thread/ERROR]: We were unable to save this crash report to disk.
[15:38:02] [Server thread/INFO]: Stopping server
[15:38:02] [Server thread/INFO]: Saving worlds
[15:38:02] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:546) ~[minecraft_server.1.14.4.jar:?]
at net.minecraft.server.MinecraftServer.m(SourceFile:574) ~[minecraft_server.1.14.4.jar:?]
at uk.m(SourceFile:593) ~[minecraft_server.1.14.4.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:676) [minecraft_server.1.14.4.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

Something is wrong with your filesystem, though I cannot place what it would be.

Here, Java failed to create the ‘logs’ directory. Since the permissions look right, I’m inclined to think it’s something deeper, because taking a look at server.properties, it is also empty; this file should always have contents by default.

What happens when you do this as mc:

cd /var/games/minecraft/servers/Server_1
touch newfile
mkdir logs

mc@mineos-tkldev /$ cd /var/games/minecraft/servers/Server_1
mc@mineos-tkldev …/servers/Server_1$ touch newfile
mc@mineos-tkldev …/servers/Server_1$ mkdir logs
mkdir: cannot create directory ‘logs’: No space left on device
mc@mineos-tkldev …/servers/Server_1$

What does it mean by ‘No space left on device?’
I’m running MineOS on a virtual machine. The virtual machine is being run on Windows 10 on a computer with loads of spare storage.

I’ve figured it out. The allocated space for the VMWare was 20GB and it was completely full. I tried removing unused backups to clear a lot of space and was able to get the server up and working ad normal again. Now I’m just allocating more space. Thank you so much for helping me figure this out!

1 Like