l'erreur de session.lock

zephere

Massacreur de Mouton
6 Mai 2015
47
5
22
c'est quoi la console ssh ?
et les logs sans session.lock:
[15:04:01] [Server thread/INFO]: Starting minecraft server version 1.8
[15:04:01] [Server thread/INFO]: Loading properties
[15:04:01] [Server thread/INFO]: Default game type: CREATIVE
[15:04:02] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-550ebac-7019900 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[15:04:02] [Server thread/INFO]: Server Ping Player Sample Count: 12
[15:04:02] [Server thread/INFO]: Using 4 threads for Netty based IO
[15:04:02] [Server thread/INFO]: Debug logging is disabled
[15:04:02] [Server thread/INFO]: Generating keypair
[15:04:02] [Server thread/INFO]: Starting Minecraft server on *:25577
[15:04:02] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[15:04:02] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[15:04:02] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[15:04:02] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[15:04:02] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[15:04:02] [Server thread/INFO]: Preparing level "hub"
[15:04:02] [Server thread/WARN]: java.io.FileNotFoundException: ./hub/session.lock (Permission denied)
[15:04:02] [Server thread/WARN]: at java.io.FileOutputStream.open(Native Method)
[15:04:03] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
[15:04:03] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
[15:04:03] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:47)
[15:04:03] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41)
[15:04:03] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19)
[15:04:03] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249)
[15:04:03] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211)
[15:04:03] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505)
[15:04:03] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[15:04:03] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Failed to check session lock for world located at ./hub, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:57) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95]
[15:04:03] [Server thread/ERROR]: This crash report has been saved to: /var/games/minecraft/servers/hub1/./crash-reports/crash-2016-04-17_15.04.03-server.txt
[15:04:03] [Server thread/INFO]: Stopping server
[15:04:03] [Server thread/INFO]: Saving players
[15:04:03] [Server thread/INFO]: Saving worlds
[15:10:28] [Server thread/INFO]: Starting minecraft server version 1.8
[15:10:28] [Server thread/INFO]: Loading properties
[15:10:28] [Server thread/INFO]: Default game type: CREATIVE
[15:10:28] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-550ebac-7019900 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[15:10:28] [Server thread/INFO]: Server Ping Player Sample Count: 12
[15:10:28] [Server thread/INFO]: Using 4 threads for Netty based IO
[15:10:28] [Server thread/INFO]: Debug logging is disabled
[15:10:29] [Server thread/INFO]: Generating keypair
[15:10:29] [Server thread/INFO]: Starting Minecraft server on *:25577
[15:10:29] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[15:10:29] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[15:10:29] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[15:10:29] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[15:10:29] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[15:10:29] [Server thread/INFO]: Preparing level "hub"
[15:10:29] [Server thread/WARN]: java.io.FileNotFoundException: ./hub/session.lock (Permission denied)
[15:10:29] [Server thread/WARN]: at java.io.FileOutputStream.open(Native Method)
[15:10:29] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
[15:10:29] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:47)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505)
[15:10:29] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[15:10:29] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Failed to check session lock for world located at ./hub, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:57) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95]
[15:10:29] [Server thread/ERROR]: This crash report has been saved to: /var/games/minecraft/servers/hub1/./crash-reports/crash-2016-04-17_15.10.29-server.txt
[15:10:29] [Server thread/INFO]: Stopping server
[15:10:29] [Server thread/INFO]: Saving players
[15:10:29] [Server thread/INFO]: Saving world
 

MrAuks

Architecte en herbe
1 Avril 2011
192
28
134
C'est une console qui te permet d'insérer des commandes à distance envoyer sur le serveur mais directement dans les entrailles du serveur, si tu l'as tu doit utiliser putty en général.
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
28
Bruxelles - Belgique
www.phoenix-rebirth.fr
Salut,

15:04:03] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Failed to check session lock for world located at ./hub, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
L'erreur est toujours la.
A tu bien éteint ton serveur. Supprimé le fichier et ensuite relancé ?
Le supprimé quand le serveur fonctionne est inutile...


Cordialement,
Detobel36
 
  • J'aime
Reactions: Snow_freeze

zephere

Massacreur de Mouton
6 Mai 2015
47
5
22
c'est quoi la console ssh et les logs sans le session.lock:
File is too large (> 256 KB). Only newly added lines will appear here.
[15:10:28] [Server thread/INFO]: Starting minecraft server version 1.8
[15:10:28] [Server thread/INFO]: Loading properties
[15:10:28] [Server thread/INFO]: Default game type: CREATIVE
[15:10:28] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-550ebac-7019900 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[15:10:28] [Server thread/INFO]: Server Ping Player Sample Count: 12
[15:10:28] [Server thread/INFO]: Using 4 threads for Netty based IO
[15:10:28] [Server thread/INFO]: Debug logging is disabled
[15:10:29] [Server thread/INFO]: Generating keypair
[15:10:29] [Server thread/INFO]: Starting Minecraft server on *:25577
[15:10:29] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[15:10:29] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[15:10:29] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[15:10:29] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[15:10:29] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[15:10:29] [Server thread/INFO]: Preparing level "hub"
[15:10:29] [Server thread/WARN]: java.io.FileNotFoundException: ./hub/session.lock (Permission denied)
[15:10:29] [Server thread/WARN]: at java.io.FileOutputStream.open(Native Method)
[15:10:29] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
[15:10:29] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:47)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211)
[15:10:29] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505)
[15:10:29] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[15:10:29] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Failed to check session lock for world located at ./hub, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:57) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95]
[15:10:29] [Server thread/ERROR]: This crash report has been saved to: /var/games/minecraft/servers/hub1/./crash-reports/crash-2016-04-17_15.10.29-server.txt
[15:10:29] [Server thread/INFO]: Stopping server
[15:10:29] [Server thread/INFO]: Saving players
[15:10:29] [Server thread/INFO]: Saving worlds
[15:18:36] [Server thread/INFO]: Starting minecraft server version 1.8
[15:18:36] [Server thread/INFO]: Loading properties
[15:18:36] [Server thread/INFO]: Default game type: CREATIVE
[15:18:37] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-550ebac-7019900 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[15:18:37] [Server thread/INFO]: Server Ping Player Sample Count: 12
[15:18:37] [Server thread/INFO]: Using 4 threads for Netty based IO
[15:18:37] [Server thread/INFO]: Debug logging is disabled
[15:18:37] [Server thread/INFO]: Generating keypair
[15:18:37] [Server thread/INFO]: Starting Minecraft server on *:25577
[15:18:37] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[15:18:37] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[15:18:37] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[15:18:37] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[15:18:37] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[15:18:37] [Server thread/INFO]: Preparing level "hub"
[15:18:37] [Server thread/WARN]: java.io.FileNotFoundException: ./hub/session.lock (Permission denied)
[15:18:37] [Server thread/WARN]: at java.io.FileOutputStream.open(Native Method)
[15:18:37] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
[15:18:37] [Server thread/WARN]: at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
[15:18:37] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:47)
[15:18:37] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41)
[15:18:37] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19)
[15:18:37] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249)
[15:18:37] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211)
[15:18:37] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505)
[15:18:37] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[15:18:37] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.RuntimeException: Failed to check session lock for world located at ./hub, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
at net.minecraft.server.v1_8_R1.WorldNBTStorage.h(WorldNBTStorage.java:57) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:41) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.ServerNBTManager.<init>(SourceFile:19) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:249) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) ~[spigot-1.8.jar:git-Spigot-550ebac-7019900]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot-1.8.jar:git-Spigot-550ebac-7019900]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95]
[15:18:37] [Server thread/ERROR]: This crash report has been saved to: /var/games/minecraft/servers/hub1/./crash-reports/crash-2016-04-17_15.18.37-server.txt
[15:18:37] [Server thread/INFO]: Stopping server
[15:18:37] [Server thread/INFO]: Saving players
[15:18:37] [Server thread/INFO]: Saving worlds
 

MrAuks

Architecte en herbe
1 Avril 2011
192
28
134
[15:04:02] [Server thread/WARN]: java.io.FileNotFoundException: ./hub/session.lock (Permission denied)

Je pense que c'est un problème de permission au niveau linux avec un chmod 777 et chown ca devrait ce régler.

Le SSH c'est la console du serveur à distance ils ont du te donner les accès si tu as un vps avec l'utilisateur root.
 
  • J'aime
Reactions: Detobel36

zephere

Massacreur de Mouton
6 Mai 2015
47
5
22
oui oui je suis dans le bon dossier
oui et je l'ai deja dit mais je ne voyais pas le message j'ai cru un bug :p
 

MrAuks

Architecte en herbe
1 Avril 2011
192
28
134
Putty est le logiciel pour accéder à la console :p

Bon alors du va faire ce que je te dit et tout devrait marcher normalement.

Quand tu es sur la console va dans le dossier ou est mis ton serveur et fait un: ls -l

Et envoie moi le résultat
 

zephere

Massacreur de Mouton
6 Mai 2015
47
5
22
mon fichier est dans un fichier je n'arrive pas a rentrer
 
Dernière édition: