Jump to content

New Dedicated server owner needs help


DirtySnipe

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...