I got the following error when I tried to start my Minecraft server:

16.09 20:06:02 [Server] INFO [20:06:02 WARN]: net.minecraft.server.v1_7_R4.ExceptionWorldConflict: Failed to check session lock for world located at ./..., aborting. Stop the server and delete the session.lock in this world to prevent further issues.

What does this error mean?

The session.lock file is a critical file needed in order to run a world. The error above means that this session.lock file can't be opened.

The error message says:

Stop the server and delete the session.lock in this world to prevent further issues.

But in many cases, this may not work. What worked for me was setting the permissions of the session.lock file to 777. You must have SSH access to your server (otherwise you should contact your host). Run:

chmod 777 session.lock

Make sure that you're in the world which contains the session.lock file the server has issues with.

This should make Minecraft be able to write and read the file.

If it still doesn't work, try running:

chmod 777 [world]

Replace [world] with the name of the world you're having issues with.

After moving .minecraft directory from ubuntu to kubuntu, same problem occured. For me this worked: Change owner of the 'saves'-directory from root to user's one. For instance with user sven (player's user):

christian@kubuntu-pc:~$ sudo chown sven:sven /home/sven/.minecraft/saves/ -R

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.