[SERVER WONT START] Failed to check session lock, aborting

Discussion in 'Spigot Help' started by MrNuck, Aug 14, 2018.

  1. Hi, I am running a minecraft network on an vps, this vps uses ubuntu as OS.
    I loaded a premade setup of a lobby on its own server, the plugins loaded well, but the map will cause the server tot crash giving the following error:

    Code (Text):
    ---- Minecraft Crash Report ----
    // Sorry :(

    Time: 8/14/18 1:01 AM
    Description: Exception in server tick loop

    java.lang.RuntimeException: Failed to check session lock for world located at ./world_nether, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
        at net.minecraft.server.v1_8_R3.WorldNBTStorage.h(WorldNBTStorage.java:57)
        at net.minecraft.server.v1_8_R3.WorldNBTStorage.<init>(WorldNBTStorage.java:41)
        at net.minecraft.server.v1_8_R3.ServerNBTManager.<init>(SourceFile:19)
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:304)
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267)
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563)
        at java.lang.Thread.run(Thread.java:748)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
        Minecraft Version: 1.8.8
        Operating System: Linux (amd64) version 4.15.17-1-pve
        Java Version: 1.8.0_171, Oracle Corporation
        Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 1974935960 bytes (1883 MB) / 2059403264 bytes (1964 MB) up to 2059403264 bytes (1964 MB)
        JVM Flags: 1 total; -Xmx2048M
        IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
        CraftBukkit Information:
       Running: CraftBukkit version git-PaperSpigot-"8b18730" (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT) false
       Plugins: { icJukeBox v1.6.4 com.statiocraft.jukebox.scJukeBox [jeussa], AsyncWorldEditInjector v3.4.9 org.primesoft.asyncworldedit.injector.InjectorBukkit [SBPrime], CustomHelpMessage v1.4 me.RexlessTazz.CustomHelp.CustomHelpMessage [], AnimationLib v1.6.4 me.megamichiel.animationlib.bukkit.AnimLibPlugin [megamichiel], LeakParkour v2.4 org.parkour.api.Start [Rafael], ClicksPerSecond v1.0 com.davidcubesvk.ClicksPerSecond.Main [davidcubesvk], ExcelsiorBaseAPI-LE v1.0 me.excelsiorvfx.excelsiorbasele.ExcelsiorBase [ExcelsiorVFX], iChat v1.0 me.iWarPvP.iChat.Main [iWarPvP], ColoredSigns v1.1.0 com.SirBlobman.color.ColoredSigns [SirBlobman], HalloweenHunter v0.0.4 HalloweenHunter.Main [Phloxz], CustomList v2.0.7 me.wpm.customlist.Core [WPM], PlayerSettings v4.9.4 me.limbo56.settings.PlayerSettings [lim_bo56], ReservedSlots v1.5 me.deceptions.reservedslots.Main [FXA], GlassJoin v1.0.0 me.ematu.glassjoin.Join [Ematu], PlaceholderAPI v2.8.6 me.clip.placeholderapi.PlaceholderAPIPlugin [[extended_clip]], LiveReport v1.7 io.termz.LiveReport [terms], AdvancedBan v2.1.4-RELEASE me.leoko.advancedban.bukkit.BukkitMain [Leoko], Profiles v2.1 eu.iamgio.Profiles.Profiles [iAmGio], PlayerCount v2.1.0 com.twanl.playercount.PlayerCount [T.L], LevelUP v1.2 ru.ZentoFX.levelup.Core [ZentoFX], AntiWDL v0.1 me.upd4ting.antiwdl.AntiWDL [Upd4ting], AdvancedPortals v0.0.39 com.sekwah.advancedportals.AdvancedPortalsPlugin [sekwah41], UnrealBoard v1.0 me.kyokosenpai.uboard.board1 [KyokoSenpai], Friends3_0 v3.0.2.5 de.HyChrod.Friends.Friends [HyChrod], AsyncWorldEdit v3.4.11 org.primesoft.asyncworldedit.AsyncWorldEditBukkit [SBPrime], Sophos v1.3 main.zachstyles.sophos.Core [Zachstyles], CommandConfirm v1.3-SNAPSHOT net.frankheijden.commandconfirm.CommandConfirm [], KingOfTheLadder v1.7 net.theelder.plugins.KingOfTheLadder.Main [ExcelsiorVFX], UltimateBossBar v1.5.0 me.megamichiel.ultimatebossbar.UltimateBossBar [megamichiel], ViaVersion v1.3.0 us.myles.ViaVersion.ViaVersionPlugin [_MylesC, Matsv], Vault v1.5.6-b49 net.milkbowl.vault.Vault [cereal, Sleaker, mung3r], WorldEdit v6.1.3;7a097ca com.sk89q.worldedit.bukkit.WorldEditPlugin [], Essentials v2.0.1-b488 com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs, SupaHam], UltraCosmetics v2.4.10 be.isach.ultracosmetics.UltraCosmetics [iSach], ServerTutorialPlus v1.16.2 com.martenm.servertutorialplus.MainClass [MartenM], ProtocolLib v4.3.0 com.comphenix.protocol.ProtocolLib [dmulloy2, comphenix], WorldGuard v6.2.1;84bc322 com.sk89q.worldguard.bukkit.WorldGuardPlugin [], SuperLobby v3.3.0 com.pedrojm96.superlobby.SuperLobby [PedroJM96], Citizens v2.0.16-SNAPSHOT (build 1267) net.citizensnpcs.Citizens [aPunch, fullwall], NoPlugins v6.6 me.xanium.noplugin.NoPlugins [Xanium], ServerListPlus v3.4.8 net.minecrell.serverlistplus.bukkit.BukkitPlugin [Minecrell <https://github.com/Minecrell>], EssentialsSpawn v2.0.1-b604 com.earth2me.essentials.spawn.EssentialsSpawn [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits], WorldGuardExtraFlags v3.0.3 net.goldtreeservers.worldguardextraflags.WorldGuardExtraFlagsPlugin [isokissa3], Hawk vb1.8.12 me.islandscout.hawk.Hawk [Islandscout], HolographicDisplays v2.2.6 com.gmail.filoghost.holographicdisplays.HolographicDisplays [], CitizensCMD v1.2.2 com.triumphcraft.citizenscmd.CitizensCMD [Mateus Moreira],}
       Warnings: DEFAULT
       Reload Count: 0
       Threads: { RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Thread.java:1610), org.bukkit.craftbukkit.v1_8_R3.CraftCrashReport.call(CraftCrashReport.java:29), net.minecraft.server.v1_8_R3.CrashReportSystemDetails.a(SourceFile:78), net.minecraft.server.v1_8_R3.CrashReport.h(CrashReport.java:127), net.minecraft.server.v1_8_R3.CrashReport.<init>(CrashReport.java:34), net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:636), java.lang.Thread.run(Thread.java:748)], WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), java.util.TimerThread.mainLoop(Timer.java:526), java.util.TimerThread.run(Timer.java:505)], TIMED_WAITING PaperSpigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], RUNNABLE Spigot Metrics Thread: [java.net.PlainSocketImpl.socketConnect(Native Method), java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350), java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206), java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188), java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392), java.net.Socket.connect(Socket.java:589), java.net.Socket.connect(Socket.java:538), sun.net.NetworkClient.doConnect(NetworkClient.java:180), sun.net.www.http.HttpClient.openServer(HttpClient.java:463), sun.net.www.http.HttpClient.openServer(HttpClient.java:558), sun.net.www.http.HttpClient.<init>(HttpClient.java:242), sun.net.www.http.HttpClient.New(HttpClient.java:339), sun.net.www.http.HttpClient.New(HttpClient.java:357), sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220), sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156), sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050), sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984), sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334), sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309), org.spigotmc.Metrics.postPlugin(Metrics.java:430), org.spigotmc.Metrics.access$4(Metrics.java:345), org.spigotmc.Metrics$1.run(Metrics.java:240), java.util.TimerThread.mainLoop(Timer.java:555), java.util.TimerThread.run(Timer.java:505)], WAITING Java2D Disposer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), sun.java2d.Disposer.run(Disposer.java:148), java.lang.Thread.run(Thread.java:748)], RUNNABLE Server console handler: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(FileInputStream.java:255), java.io.BufferedInputStream.fill(BufferedInputStream.java:246), java.io.BufferedInputStream.read(BufferedInputStream.java:265), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:248), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:3183), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2333), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2269), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2257), net.minecraft.server.v1_8_R3.DedicatedServer$2.run(DedicatedServer.java:81)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), java.lang.ref.Reference.tryHandlePending(Reference.java:191), java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)], TIMED_WAITING Keep-Alive-Timer: [java.lang.Thread.sleep(Native Method), sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:172), java.lang.Thread.run(Thread.java:748)], WAITING Thread-4: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:175), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), org.bukkit.craftbukkit.v1_8_R3.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:25), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_8_R3.DedicatedServer$1.run(DedicatedServer.java:54)], RUNNABLE Signal Dispatcher: [], TIMED_WAITING process reaper: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624), java.lang.Thread.run(Thread.java:748)], RUNNABLE Netty Epoll Server IO #0: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:212)], RUNNABLE DestroyJavaVM: [],}
       Recent tasks from -31--1{}
        Profiler Position: N/A (disabled)
        Player Count: 0 / 20; []
        Is Modded: Definitely; Server brand changed to 'PaperSpigot'
        Type: Dedicated Server (map_server.txt)

    I have tried the setting the permissions of the session.lock file to 777 with a command and it allowed the server to start without crash, but after that the map wont load so when I log In I fell to the void.

    Thanks for the help!
     
  2. As it said in the log, delete session.lock. Not allow permissions.
     
  3. That's the first thing I tried mate, it just keeps regenerating itself everytime I try to run the server
     
  4. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    Where are you finding the session lock file?
     
  5. I find the session lock file in the world folder
     
  6. That;s supposed to happen.
    Delete it from the world_nether folder. Not world
     
  7. Just Tried that, nothing changes