SomePerson Posted March 14, 2012 Posted March 14, 2012 This has been driving me crazy, when I start Tekkit.jar I have a problem with mod_ee.class not loading. Launcher/pack Version: Tekkit 2.1 Server (Using "always use development builds" option in launcher) Operating System: Debian Version of Java: 7 Description of Problem: Equivalent Exhange crashes the server, not really sure what else to say. It's a very odd problem. Error Messages: [FINE] Failed to load mod from "mod_EE.class" Link to pastebin of log: http://pastebin.com/hXPcd8F5 Quote
0 kyneff Posted March 14, 2012 Posted March 14, 2012 I'll be the nice guy. You need to use the proper bug report format. http://forums.technicpack.net/index.php/topic,2797.0.html Quote
0 Cheap Shot Posted March 14, 2012 Posted March 14, 2012 That's good, better hurry up. Not reading the stickies and not using the proper report format in those stickies is probate-able. If you aren't willing to put in a little effort and read a bit before posting, you honestly don't deserve help, or the slack I'm cutting you right now. Hup hup git goin! Quote
0 SomePerson Posted March 14, 2012 Author Posted March 14, 2012 Sorry about that Cheap Shot, updated original post to the proper structure... i think Quote
0 Cheap Shot Posted March 14, 2012 Posted March 14, 2012 Something is wrong with modloader. Delete your .techniclauncher folder and your .exe or .jar (whichever you're using) and redownload. Clean slate. Quote
0 SomePerson Posted March 14, 2012 Author Posted March 14, 2012 The log was taken from server.log, i've done a complete reinstall of the server from scratch with a fresh download and I have now even done a completely fresh reinstall of the client (deleted the .techniclauncher folder and redownloaded) sadly it still shows that error. Quote
0 Cheap Shot Posted March 14, 2012 Posted March 14, 2012 Ok, lets talk about Java then. Is your OS 64 bit, and is your version of Java also 64 bit? Probably not your problem but I might as well ask until someone who knows more shows up to help. Quote
0 havocx42 Posted March 14, 2012 Posted March 14, 2012 How are you running the server, I mean what command are you using? Where is the server placed in your directory structure. Have you tried checking the file permissions? The error says "Null output stream" and "at java.io.PrintStream.requireNonNull(Unknown Source)". Looks like it is unable to get hold of either a file output or standard out. Quote
0 SomePerson Posted March 14, 2012 Author Posted March 14, 2012 I have a server startup script in my init.d directory which I access to start and stop the server etc. I used this script: http://www.minecraftwiki.net/wiki/Server_startup_script with it pointing to Tekkit.jar instead. The server works well if I remove Equivalent Exchange from the mods folder so i'm not sure if it's a problem with paths, I could be wrong though. Quote
0 Pokemane Posted March 14, 2012 Posted March 14, 2012 Does the start command example from the wiki match what is supposed to be in the one that comes with the technic server download? I'd check that. You might be missing something in there, or missing some permission, like was just said above. IIRC the standard server start command from the wiki is a little sparse on details, parameters, etc. Just enough to make it go. Quote
0 havocx42 Posted March 14, 2012 Posted March 14, 2012 Try just running the server with "java -jar Tekkit.jar" from the server's folder. Edit: I say this because scripts run by init.d at boot time are run as root (which you certainly do not want anyway) and running it there could certainly be messing with the way Java gets a standard out. Edit2: looks like the script will su to a different user Quote
0 Pokemane Posted March 14, 2012 Posted March 14, 2012 Try just running the server with "java -jar Tekkit.jar" from the server's folder. That's what I was getting at, but I wasn't sure if it'd work since he is running Debian and all. Quote
0 havocx42 Posted March 14, 2012 Posted March 14, 2012 That's what I was getting at, but I wasn't sure if it'd work since he is running Debian and all. Shouldn't be any problem, he must have PATH set up with java otherwise the script he linked wouldn't work, the other java arguments are just customisation. Quote
0 Pokemane Posted March 14, 2012 Posted March 14, 2012 Shouldn't be any problem, he must have PATH set up with java otherwise the script he linked wouldn't work, the other java arguments are just customisation. Ahhh. TodayILearned. Thankee kindly. Quote
0 SomePerson Posted March 14, 2012 Author Posted March 14, 2012 Ok, the server script seems to be the problem. I stopped the server and ran the command "java -Xmx1536M -Xms1536M -jar Tekkit.jar nogui" (Had to customize the memory allocation) and it works, it loads everything without a problem, now I just need to dig around that stupid script and find out why it didn't do what it was supposed to, I even changed the INVOCATION line to that command. Strange... Quote
0 havocx42 Posted March 14, 2012 Posted March 14, 2012 And the problem is caused when you run the script manually as well as from init.d? Quote
0 SomePerson Posted March 14, 2012 Author Posted March 14, 2012 It's hardly safe but I changed the USERNAME in the script to root to force it to accept me as root, that works. Just a note to anyone with a similar problem, I really would not recommend changing the username to root, it's pretty stupid and leaves your server vulnerable, this turned out to be a permissions problem so I just used the chown command to recursively set all of my minecraft folder back to my minecraft user account (not sure why it changed to begin with but there it is) Thanks havocx42, Cheap Shot and kyneff for your fast replies. Quote
Question
SomePerson
This has been driving me crazy, when I start Tekkit.jar I have a problem with mod_ee.class not loading.
Launcher/pack Version: Tekkit 2.1 Server (Using "always use development builds" option in launcher)
Operating System: Debian
Version of Java: 7
Description of Problem: Equivalent Exhange crashes the server, not really sure what else to say. It's a very odd problem.
Error Messages: [FINE] Failed to load mod from "mod_EE.class"
Link to pastebin of log: http://pastebin.com/hXPcd8F5
18 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.