이해도 | 입문자 |
---|---|
게임버전 (JE) | 1.16.5 |
게임버전 (BE) | 관련없음 |
System Info: Java 11 (OpenJDK 64-Bit Server VM 11.0.19+7-post-Ubuntu-0ubuntu118.04.1) Host: Linux 5.4.0-1104-gcp (amd64)
Loading libraries, please wait...
[14:05:52 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:05:52 FATAL]: Failed to start the minecraft server
net.minecraft.server.v1_16_R3.SessionLock$ExceptionWorldConflict: /home/mineserver/./world/session.lock: already locked (possibly by other Minecraft instance?)
at net.minecraft.server.v1_16_R3.SessionLock$ExceptionWorldConflict.a(SourceFile:98) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.SessionLock.a(SourceFile:44) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Convertable$ConversionSession.<init>(Convertable.java:257) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Convertable.c(Convertable.java:227) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Main.main(Main.java:154) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.Main.main(Main.java:289) ~[patched_1.16.5.jar:git-Paper-794]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at io.papermc.paperclip.Paperclip.main(Paperclip.java:58) ~[paper-1.16.5-794.jar:?]
reretay
2023.06.06리눅스 사용하시는것같은데 이전에 sudo로 실행시키신적이 있나요? sudo를 안주고 실행시키려면 파일 소유자를 해당 사용자 (mineserver)로 (chown)바꿔주시거나 chmod를 설정해주셔야 합니다. sudo로 실행시키면 파일 소유자가 root로 됩니다. 추가로 sudo로 실행하셔도 상관없긴 하지만 보안상 문제가 될 수 있어 권장되는 방법은 아닙니다.
짱춘
2023.06.07다 해봤는데 계속 오류가 나네요😥
root@minecraft-server:/home/mineserver# java -Xms500M -Xmx3G -jar paper-1.16.5-794.jar
System Info: Java 11 (OpenJDK 64-Bit Server VM 11.0.19+7-post-Ubuntu-0ubuntu118.04.1) Host: Linux 5.4.0-1104-gcp (amd64)
Loading libraries, please wait...
[15:06:56 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[15:06:56 FATAL]: Failed to start the minecraft server
net.minecraft.server.v1_16_R3.SessionLock$ExceptionWorldConflict: /home/mineserver/./world/session.lock: already locked (possibly by other Minecraft instance?)
at net.minecraft.server.v1_16_R3.SessionLock$ExceptionWorldConflict.a(SourceFile:98) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.SessionLock.a(SourceFile:44) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Convertable$ConversionSession.(Convertable.java:257) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Convertable.c(Convertable.java:227) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.Main.main(Main.java:154) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.Main.main(Main.java:289) ~[patched_1.16.5.jar:git-Paper-794]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at io.papermc.paperclip.Paperclip.main(Paperclip.java:58) ~[paper-1.16.5-794.jar:?]
코코냐
2023.06.07서버가 이미 실행중이거냐, session.lock 파일이 알수 없는 이유로 냠아있는 상태입니다. 서버가 열리지 않았음이 확실하다면 월드 폴더에서 해당 파일을 수동으로 삭제해주세요.