Jump to content

Recommended Posts

Posted

Im a complete nubin when it comes to linux and I thought id throw myself in at the deep end.

I have installed java onto the system and that seems to be running fine.

i only have ssh access to it and also access via the plesk panel for the website side.

My question are these:-

Where do I save my files to on this system ??? lots of folder like home /usr and so on...

Also is there a web based server manager script out there that I can publish to the webserver which is also installed on it?

I did try installing it into a restricted folder with the webserver but was running into permission problems when the plugins started creating there config folders. It would keep turning them into read only and stoped me from editing them.

My goal is to run a tekkit server and it auto start the mc server on a reboot.

I have also seen on tuts that it should not be run under root so i have created an account.

Posted

Log to the user and install the server to the users /home directory AS the user, or else it wont have permissions.

Use cron to start tekkit at boot, using something along the lines of

@reboot screen /home/start.sh

Note, something like that, I don't think that's 100% correct

Posted

i have saved the files under that users home folder.

ran chmod to allow the launch.sh file to be executed.

I tried to run it via that user but get the following error

-bash: ./launch.sh: /bin/sh^M: bad interpreter: No such file or directory

Posted

uploaded a new launch.sh file and ran again

now getting this error

minecraft@ns310343:~/server$ screen ./launch.sh

00:20:39 [sEVERE] ... 6 more

00:20:39 [sEVERE] Caused by: java.io.FileNotFoundException: /home/minecraft/server/config/mod_MinecraftForge.cfg (Permission denied)

00:20:39 [sEVERE] at java.io.FileOutputStream.open(Native Method)

00:20:39 [sEVERE] at java.io.FileOutputStream.<init>(FileOutputStream.java:212)

00:20:39 [sEVERE] at java.io.FileOutputStream.<init>(FileOutputStream.java:165)

00:20:39 [sEVERE] at java.io.FileWriter.<init>(FileWriter.java:90)

00:20:39 [sEVERE] at cpw.mods.fml.common.modloader.ModLoaderModContainer.configureMod(ModLoaderModContainer.java:263)

00:20:39 [sEVERE] ... 7 more

00:20:39 [sEVERE] Unexpected exception

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.io.FileNotFoundException: /home/minecraft/server/config/mod_MinecraftForge.cfg (Permission denied)

at cpw.mods.fml.common.modloader.ModLoaderModContainer.preInit(ModLoaderModContainer.java:114)

at cpw.mods.fml.common.Loader.preModInit(Loader.java:235)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:607)

at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:134)

at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: cpw.mods.fml.common.LoaderException: java.io.FileNotFoundException: /home/minecraft/server/config/mod_MinecraftForge.cfg (Permission denied)

at cpw.mods.fml.common.modloader.ModLoaderModContainer.configureMod(ModLoaderModContainer.java:272)

at cpw.mods.fml.common.modloader.ModLoaderModContainer.preInit(ModLoaderModContainer.java:106)

... 6 more

Caused by: java.io.FileNotFoundException: /home/minecraft/server/config/mod_MinecraftForge.cfg (Permission denied)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.<init>(FileOutputStream.java:212)

at java.io.FileOutputStream.<init>(FileOutputStream.java:165)

at java.io.FileWriter.<init>(FileWriter.java:90)

at cpw.mods.fml.common.modloader.ModLoaderModContainer.configureMod(ModLoaderModContainer.java:263)

... 7 more

>

Posted

Use cron to start tekkit at boot, using something along the lines of

@reboot screen /home/start.sh

Note, something like that, I don't think that's 100% correct

I could do with something that is 100% correct not a not sure.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...