Problem Server crashing on start up.

  • FTB will be shutting down this forum by the end of July. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Nagels

New Member
Jul 29, 2019
14
0
0
Hey guys, when i start up my server via putty, i get this error message.

http://pastebin.com/Qjn2WNyG

Idk what the problem is, but i can tell you that im running a 64 bit linux debian server, with 16GB of ram.
The eula is set to true.

The files comes from the host where i had my server, i pulled all the files out and then i pasted them into my server, im trying to run a FTB infinity server.
 

Slind

Well-Known Member
Mar 8, 2013
492
73
53
journey map server seems to require a more up to data java version. so either upgrade java or remove the mod from the server (not essentially needed, but journey map might lack some features)
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
you can also try to update java. Your running what looks like java 6.
I would either go for java 7 or 8
 

Nagels

New Member
Jul 29, 2019
14
0
0
Im gonna try and update java, would it be a problem if i have both java 6 and 7 on my server?+
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
I am not sure but I always hear people say that you should remove the old one.
 

Nagels

New Member
Jul 29, 2019
14
0
0
Okay, so i tryed installing java 7, still the same error, i then tried with java 8 still the same error.

I can run a normal minecraft server .jar file, but not the ftb one, idk if i should remove the jorneymap and see what happends.

i will just try and do that and then return.

Removing journeymap didn't do anything, and update of it did nothing either. im a bit lost atm, because i can see what you mean by the journeymap is causing the problem, just not sure how to fix it.
 

Nagels

New Member
Jul 29, 2019
14
0
0
java -jar infinity.jar

That is the command i use, i don't have a startup.sh file. to idiot to make one :)
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
let me guess your server only has a terminal?
could you try to start it with this?
Code:
java -d64 -server -Xms32M -Xmx2048M -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar FTBServer-1.7.10-1263.jar nogui
pause
change the FTBServer-1.7.10-1263.jar to the name of your server jar
safe it as startServer.sh on your server in the same directory and open it with sh startServer.sh

note you can name it however you like its just as example
 

Nagels

New Member
Jul 29, 2019
14
0
0
./ServerStart.sh: line 1: syntax error near unexpected token `('
./ServerStart.sh: line 1: `if NOT "%FTB_VERBOSE%"=="yes" ('

Then i get this error, if try running the .sh file with ./StartServer.sh
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
euh strange especially since I don't have a ( in it anyway back to the error.
What I think that is happening is that it want to launch the server with its gui but I would not be surprised if your server only has a terminal thus creating the crash. This is my file that I use for my servers I am also using debian wheezy.

note I had to make it a .txt in order to upload it.
 

Attachments

  • ServerStart.txt
    93 bytes · Views: 69

Nagels

New Member
Jul 29, 2019
14
0
0
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(libgcj.so.13)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.13)
at net.minecraft.launchwrapper.LogWrapper.configureLogging(LogWrapper.java:14)
at net.minecraft.launchwrapper.LogWrapper.log(LogWrapper.java:28)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at java.lang.reflect.Method.invoke(libgcj.so.13)
...2 more
Caused by: java.lang.UnsupportedOperationException: gnu::java::lang::management::VMThreadMXBeanImpl::getThreadInfoForId (jlong, jint) not implemented
at gnu.java.lang.management.ThreadMXBeanImpl.getThreadInfo(libgcj.so.13)
at java.lang.reflect.Method.invoke(libgcj.so.13)
at java.lang.Thread.getStackTrace(libgcj.so.13)
at org.apache.logging.log4j.status.StatusLogger.log(StatusLogger.java:182)
at org.apache.logging.log4j.spi.AbstractLogger.warn(AbstractLogger.java:1918)
at org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:114)
at java.lang.Class.initializeClass(libgcj.so.13)
...7 more

When i try to run it after fixing the error above. Is that a problem with my java? do i need java 8 to run infinity?
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
As far as I know not but I never used infinity as a server so I might be wrong.
 

Nagels

New Member
Jul 29, 2019
14
0
0
Well now i have java 8 installed, when i run the .sh file it does alot of stuff but i still get an error, I would think that it has something to do with enderio as far i can reach.


Caused by: java.lang.ClassNotFoundException: java.lang.ReflectiveOperationException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) ~[?:1.6.0_34]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.6.0_34]
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) ~[?:1.6.0_34]
at java.lang.ClassLoader.loadClass(ClassLoader.java:323) ~[?:1.6.0_34]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) ~[?:1.6.0_34]
at java.lang.ClassLoader.loadClass(ClassLoader.java:268) ~[?:1.6.0_34]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:323) ~[?:1.6.0_34]
at java.lang.ClassLoader.loadClass(ClassLoader.java:268) ~[?:1.6.0_34]
 

Nagels

New Member
Jul 29, 2019
14
0
0
Because i get this at the end of the crash.

[21:42:07] [Server thread/INFO] [FML]: Holder lookups applied
[21:42:07] [pool-3-thread-1/INFO] [EnderIO]: ServerChannelRegister: Dimensional Trasciever data saved to /home/nagels/infinity/./world/enderio/dimensionalTransceiver.json
[21:42:07] [Server thread/INFO] [STDOUT]: [com.mcjty.rftools.RFTools:serverStopped:185]: ###### RFTools.serverStopped
[21:42:07] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.