Migrating from Minecraft to Craftbukkit

Discussion in 'Bukkit Help' started by PatDoHere, Aug 20, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    PatDoHere

    Hi Everyone,
    We recently decided that we wanted to move from Minecraft to Craftbukkit server, in order to take advantage of the powerful features it has to offer. I put our world in the worldstorage folder, but when I attemp to start I get these errors.
    OS: Ubuntu Server 11.04 x86
    CPU: Pentium 4 M 1.6 Ghz
    RAM: 1024M DDR
    Packages
    -vsftpd
    -openssh-server
    -python-software-properties
    -sun-java6-jre
    -sun-java6-plugin
    No wrappers, mods.
    Server start command
    Code:
    java -Xmx1024M -Xms64M -XX: +UseConcMarkSweepGC -XX: +CMSIncrementalPacing -XX:ParallelGCThreads=1 -XX:AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    
    server.log
    Code:
    2011-08-20 22:55:31 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-20 22:55:31 [INFO] Loading properties
    2011-08-20 22:55:31 [INFO] Starting Minecraft server on *:25565
    2011-08-20 22:55:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    2011-08-20 22:55:32 [INFO] Preparing level "world"
    2011-08-20 22:55:32 [INFO] ---- Migration of old nether folder required ----
    2011-08-20 22:55:32 [INFO] Unfortunately due to the way that Minecraft implemented multiworld support in 1.6, Bukkit requires that you move your nether folder to a new location in order to operate correctly.
    2011-08-20 22:55:32 [INFO] We will move this folder for you, but it will mean that you need to move it back should you wish to stop using Bukkit in the future.
    2011-08-20 22:55:32 [INFO] Attempting to move world/DIM-1 to world_nether/DIM-1...
    2011-08-20 22:55:32 [SEVERE] Could not create path for world_nether/DIM-1!
    2011-08-20 22:55:32 [INFO] ---- Migration of old nether folder failed ----
    2011-08-20 22:55:32 [SEVERE] java.io.FileNotFoundException: ./world_nether/session.lock (No such file or directory)
    2011-08-20 22:55:32 [SEVERE]     at java.io.FileOutputStream.open(Native Method)
    2011-08-20 22:55:32 [SEVERE]     at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    2011-08-20 22:55:32 [SEVERE]     at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.PlayerNBTManager.f(PlayerNBTManager.java:41)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.PlayerNBTManager.<init>(PlayerNBTManager.java:35)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.ServerNBTManager.<init>(SourceFile:17)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:211)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-20 22:55:32 [SEVERE] java.lang.RuntimeException: Failed to check session lock, aborting
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.PlayerNBTManager.f(PlayerNBTManager.java:50)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.PlayerNBTManager.<init>(PlayerNBTManager.java:35)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.ServerNBTManager.<init>(SourceFile:17)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:211)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-08-20 22:55:32 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-20 22:55:32 [SEVERE] Unexpected exception
    java.lang.RuntimeException: Failed to check session lock, aborting
        at net.minecraft.server.PlayerNBTManager.f(PlayerNBTManager.java:50)
        at net.minecraft.server.PlayerNBTManager.<init>(PlayerNBTManager.java:35)
        at net.minecraft.server.ServerNBTManager.<init>(SourceFile:17)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:211)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  2. Offline

    Trollkemada

    I think is a permissions issue, try running bukkit with sudo?
     
    PatDoHere likes this.
  3. Offline

    PatDoHere

    I just tried what you suggested but still get the same error? I'm using Ahtenus script.
     
  4. Offline

    exrook

    Based on the exception you are getting, I think you need to migrate your minecraft server's nether world to a diffrent folder. This can be accomplished by opening your main world's folder and moving the sub-folder called DIM-1 to a different folder named world_nether. i.e. move "/world/DIM-1" to "/world_nether/DIM-1"
     
    PatDoHere likes this.
  5. Offline

    PatDoHere

    Okay, i got it working so I have to copy worldstorage!
     
Thread Status:
Not open for further replies.

Share This Page