Server Not Starting

  • Thread starter Thread starter mvdude3
  • Start date Start date
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
M

mvdude3

Guest
Hi, I keep trying to run my Ubuntu server using the FTBServer .jar file and all of the Sky Factory mods, and it keeps sending this message and stopping the server:

A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge tException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunc hWrapper.java:62)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaun chWrapper.java:31)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 8 more


If anyone knows how to fix this or how to run the FTB server through Ubuntu an easier way, please help.
Thanks!
 
Last edited:
Use the provided files in the server zip-file.

For linux and osX: ServerStart.sh
Windows: ServerStart.bat

This will set memory to what's either set in that file or in settings.sh/settings.bat - if it's the first time the server is launched the FTBInstall.sh or .bat will be triggered and needed files will be downloaded. (this can also be done without starting the server, then just run FTBInstall.sh/.bat)