vicious00013 Posted February 14, 2012 Posted February 14, 2012 Does anyone have any experience with the control panel Called Multicraft. I an using a VPS running Centos that has Multicraft installed and due to the way it handles Jar files I'm not sure how to get Tekkit up and running on the server. Quote
vicious00013 Posted February 14, 2012 Author Posted February 14, 2012 I'm still working on it. Multicraft uses Jars from one folder and puts on the server files in another folder. Right now when I try starting it up with a tekkit jar I get this... java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:900) at net.minecraft.server.ModLoader.init(ModLoader.java:542) at net.minecraft.server.ModLoader.Init(ModLoader.java:1082) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:100) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:402) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Quote
minestewycrafty Posted February 14, 2012 Posted February 14, 2012 Does anyone have any experience with the control panel Called Multicraft. I an using a VPS running Centos that has Multicraft installed and due to the way it handles Jar files I'm not sure how to get Tekkit up and running on the server. I'm not a user of CentOs, but that sounds like you have permissions incorrectly setup... I'm using; Ubuntu 11.10 Server x64 McMyAdmin Personal Tekkit 1.1.4 Craftbukkit 1.0.1 all i done to get Tekkit started was to rename the Tekkit "Server" Jar to craftbukkit.jar Quote
vicious00013 Posted February 14, 2012 Author Posted February 14, 2012 The normal craftbukkit jar starts up fine... Then I tried the rename the tekkit jar to craftbukkit.. and still get the same error. I do see that it looks like a permissions issue but I have know Idea how to resolve Quote
minestewycrafty Posted February 14, 2012 Posted February 14, 2012 Just been digging around, and found this... I ran into this problem recently and found that java.io.File.createNewFile() actually requires the "Change Permissions" permission (you can find this entry under Security->Advanced when checking folder permissions). Without this it will create the file and then subsequently throw an IOException. It's deceptive because you will still be able to create files on the folder when manually testing, however createNewFile() will still fail if it doesn't have this particular permission (presumably such that it can change the permissions on the file its creating). I have no idea what it means, as i use Ubuntu, i just use chmod on the folder Quote
vicious00013 Posted February 14, 2012 Author Posted February 14, 2012 To trouble shoot and see if it would run at all on the server. I manually installed in and ran it with screen and it loaded right up with no issues. But still the errors when ran through multicraft I have done chmod on the tekkit.jar... guess I will try the whole folder. Quote
minestewycrafty Posted February 14, 2012 Posted February 14, 2012 I assume the command will be the same as ubuntu... You could try chmod 700 -R {/folder/} (owner can read, write and execute) Quote
vicious00013 Posted February 14, 2012 Author Posted February 14, 2012 I assume the command will be the same as ubuntu... You could try chmod 700 -R {/folder/} (owner can read, write and execute) well that kinda broke multicraft... lol I think daemon stopped running and tells me I don't have permission when I try to start it Quote
minestewycrafty Posted February 14, 2012 Posted February 14, 2012 : are you logged in as the user account thats running it? Quote
Mrpeanut188 Posted February 15, 2012 Posted February 15, 2012 The problem is ModLoader trying to make a configuration and/or log file. Whatever it is, ModLoader tells Java to create a file and write in it. Java tells the system, but the system claims that Java's permissions have been denied. Try running as administrator, and make sure that the permissions for the folder are open, some OSs will lock any new folders by default. Quote
vicious00013 Posted February 15, 2012 Author Posted February 15, 2012 I believe that the multicraft script created a user called minecraft. In Centos is there a way for me to see its permissions and maybe add it as an administrator? Quote
minestewycrafty Posted February 15, 2012 Posted February 15, 2012 Doesn't the multicraft setup.sh script create the minecraft user and set the correct permissions? Quote
vicious00013 Posted February 15, 2012 Author Posted February 15, 2012 I finally got it up and running solid. You have to set the option of "Look for JARs in" to "Server JAR directory" Then make a copy of the craft_bukkit.jar.conf. Rename it to Tekkit.jar.conf and edit it for Tekkit instead of Craftbuckett. Working like a champ now....now I just need Tekkit 2.0 and I will finally be all done. Thanks for the help and I also got great support from MultiCraft Customer Service. Quote
3of0 Posted April 25, 2012 Posted April 25, 2012 You have to set the option of "Look for JARs in" to "Server JAR directory" This was the missing link for me, thank you very much. :D Quote
Xadiant Posted April 26, 2012 Posted April 26, 2012 Just install Tekkit and all the config files in the /home/minecraft/multicraft/jar directory. Copy the config file over from Bukkit. Make sure the permissions allow it all to run... and also put all the plugin/config files are ALSO in the users server directory. The redundancy of the files is key. Works like a charm after that :D Quote
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.