マインクラフトが起動しない

 当ページのリンクには広告が含まれています。

root@x162-43-20-115:/usr/games/minecraft# java -server -jar paper.jar
Starting org.bukkit.craftbukkit.Main
*** Warning, you've not updated in a while! ***
*** Please download a new build as per instructions from https://papermc.io/downloads/paper ***
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.9+9-Ubuntu-122.04) Host: Linux 5.15.0-86-generic (amd64)
Loading libraries, please wait...
[12:41:06 INFO]: Environment: Environment[accountsHost=https://api.mojang.com, sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[12:41:08 INFO]: Loaded 7 recipes
[12:41:09 INFO]: Starting minecraft server version 1.20.2
[12:41:09 WARN]: ****************************
[12:41:09 WARN]: YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED.
[12:41:09 WARN]: YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS.
[12:41:09 WARN]: FOR MORE INFORMATION, SEE https://madelinemiller.dev/blog/root-minecraft-server/
[12:41:09 WARN]: ****************************
[12:41:09 INFO]: Loading properties
[12:41:09 INFO]: This server is running Paper version git-Paper-307 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: b37bbcf)
[12:41:10 INFO]: Server Ping Player Sample Count: 12
[12:41:10 INFO]: Using 4 threads for Netty based IO
[12:41:10 WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future.
    We recommend installing the spark profiler as a replacement: https://spark.lucko.me/
    For more information please visit: https://github.com/PaperMC/Paper/issues/8948
[12:41:10 INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 1 worker threads, and gen parallelism of 1 threads
[12:41:10 INFO]: Default game type: SURVIVAL
[12:41:10 INFO]: Generating keypair
[12:41:10 INFO]: Starting Minecraft server on *:25565
[12:41:11 INFO]: Using epoll channel type
[12:41:11 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[12:41:11 INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[12:41:11 WARN]: **** FAILED TO BIND TO PORT!
[12:41:11 WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: アドレスは既に使用 中です
[12:41:11 WARN]: Perhaps a server is already running on that port?
[12:41:11 ERROR]: Encountered an unexpected exception
java.lang.IllegalStateException: Failed to initialize server
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1087) ~[paper-1.20.2.jar:git-Paper-307]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-307]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
[12:41:11 ERROR]: This crash report has been saved to: /usr/games/minecraft/./crash-reports/crash-2024-01-11_12.41.11-server.txt
[12:41:11 INFO]: Stopping server
[12:41:11 INFO]: Saving players
[12:41:12 INFO]: Saving worlds
[12:41:12 INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[12:41:12 INFO]: Flushing Chunk IO
> 2024-01-11 12:41:12,077 Log4j2-AsyncAppenderEventDispatcher-1-Async WARN Advanced terminal features are not available in this environment
[12:41:12 INFO]: Closing Thread Pool
[12:41:12 INFO]: Closing Server
root@x162-43-20-115:/usr/games/minecraft# cd /usr/games/minecraft/./crash-reports/
root@x162-43-20-115:/usr/games/minecraft/crash-reports# pwd
/usr/games/minecraft/crash-reports
root@x162-43-20-115:/usr/games/minecraft/crash-reports# client_loop: send disconnect: Connection reset
PS C:\Users\375>

もう1回起動確認してみるか。

*** Warning, you've not updated in a while! ***
*** Please download a new build as per instructions from https://papermc.io/downloads/paper ***
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.9+9-Ubuntu-122.04) Host: Linux 5.15.0-86-generic (amd64)
Loading libraries, please wait...

# *** 警告、しばらく更新していません! ***
# *** https://papermc.io/downloads/paper から指示に従って新しいビルドをダウンロードしてください ***
# システム情報: Java 17 (OpenJDK 64 ビット サーバー VM 17.0.9+9-Ubuntu-122.04) ホスト: Linux 5.15.0-86-generic (amd64)
# ライブラリをロードしています。お待ちください...
[14:54:48 INFO]: Loaded 7 recipes
[14:54:49 INFO]: Starting minecraft server version 1.20.2
[14:54:49 WARN]: ****************************
[14:54:49 WARN]: YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED.
[14:54:49 WARN]: YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS.
[14:54:49 WARN]: FOR MORE INFORMATION, SEE https://madelinemiller.dev/blog/root-minecraft-server/
[14:54:49 WARN]: ****************************
[14:54:49 INFO]: Loading properties
[14:54:49 INFO]: This server is running Paper version git-Paper-307 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: b37bbcf)
[14:54:50 INFO]: Server Ping Player Sample Count: 12
[14:54:50 INFO]: Using 4 threads for Netty based IO

# [14:54:48 INFO]: 7 つのレシピをロードしました
# [14:54:49 INFO]: Minecraft サーバー バージョン 1.20.2 を開始します
# [14:54:49 警告]: ****************************
# [14:54:49 警告]: このサーバーを管理者または root ユーザーとして実行しています。 これはお勧めできません。
# [14:54:49 警告]: これを実行すると、潜在的なリスクにさらされることになります。
# [14:54:49 警告]: 詳細については、https://madelinemiller.dev/blog/root-minecraft-server/ を参照してください。
# [14:54:49 警告]: ****************************
# [14:54:49 INFO]: プロパティを読み込み中
# [14:54:49 INFO]: このサーバーは Paper バージョン git-Paper-307 (MC: 1.20.2) (API バージョン 1.20.2-R0.1-SNAPSHOT を実装) (Git: b37bbcf) を実行しています。
# [14:54:50 情報]: サーバー Ping プレーヤーのサンプル数: 12
# [14:54:50 INFO]: Netty ベースの IO に 4 つのスレッドを使用
[14:54:50 WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future.
    We recommend installing the spark profiler as a replacement: https://spark.lucko.me/
    For more information please visit: https://github.com/PaperMC/Paper/issues/8948
[14:54:50 INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 1 worker threads, and gen parallelism of 1 threads
[14:54:50 INFO]: Default game type: SURVIVAL
[14:54:50 INFO]: Generating keypair
[14:54:50 INFO]: Starting Minecraft server on *:25565
[14:54:50 INFO]: Using epoll channel type
[14:54:50 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[14:54:50 INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[14:54:50 WARN]: **** FAILED TO BIND TO PORT!
[14:54:50 WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: アドレスは既に使用 中です
[14:54:50 WARN]: Perhaps a server is already running on that port?

# [14:54:50 WARN]: [!] タイミング プロファイラは有効になっていますが、将来的に Paper から削除される予定です。
#      代わりに Spark プロファイラーをインストールすることをお勧めします: https://spark.lucko.me/
#      詳細については、https://github.com/PaperMC/Paper/issues/8948 をご覧ください。
# [14:54:50 INFO]: [ChunkTaskScheduler] チャンク システムは 1 つの I/O スレッド、1 つのワーカー スレッド、および 1 つのスレッドの gen 並列処理を使用しています
# [14:54:50 INFO]: デフォルトのゲームタイプ: サバイバル
# [14:54:50 INFO]: キーペアを生成しています
[14:54:50 情報]: Minecraft サーバーを *:25565 で起動しています
# [14:54:50 INFO]: epoll チャネル タイプを使用しています
# [14:54:50 INFO]: 論文: Velocity からの libdeflate (Linux x86_64) 圧縮の使用。
# [14:54:50 情報]: 論文: Velocity の OpenSSL 3.0.x (Linux x86_64) 暗号を使用。
# [14:54:50 警告]: **** ポートへのバインドに失敗しました!
# [14:54:50 WARN]: 例外は次のとおりです: io.netty.channel.unix.Errors$NativeIoException: binding(..) が失敗しました: アドレスはすでに使用されています
# [14:54:50 WARN]: おそらくサーバーがそのポートですでに実行されているのではないでしょうか?

ポートバインドに、失敗?w

バックアップを取ったらワールドのデータの中のlevel.datを削除して下さい
そして、level.dat_oldの名前をlevel.datになおして下さい
そして起動して確認してみてください

マインクラフトを起動したら、クラッシュしてしまいました。今まで普通に起動・プレ… – Yahoo!知恵袋
> root@x162-43-20-115:/usr/games/minecraft# java -server -jar paper.jar
Starting org.bukkit.craftbukkit.Main
*** Warning, you've not updated in a while! ***
*** Please download a new build as per instructions from https://papermc.io/downloads/paper ***
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.9+9-Ubuntu-122.04) Host: Linux 5.15.0-86-generic (amd64)
Loading libraries, please wait...
[18:43:47 INFO]: Environment: Environment[accountsHost=https://api.mojang.com, sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[18:43:49 INFO]: Loaded 7 recipes
[18:43:50 INFO]: Starting minecraft server version 1.20.2
[18:43:50 WARN]: ****************************
[18:43:50 WARN]: YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED.
[18:43:50 WARN]: YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS.
[18:43:50 WARN]: FOR MORE INFORMATION, SEE https://madelinemiller.dev/blog/root-minecraft-server/
[18:43:50 WARN]: ****************************
[18:43:50 INFO]: Loading properties
[18:43:50 INFO]: This server is running Paper version git-Paper-307 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: b37bbcf)
[18:43:50 INFO]: Server Ping Player Sample Count: 12
[18:43:50 INFO]: Using 4 threads for Netty based IO
[18:43:51 WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future.
    We recommend installing the spark profiler as a replacement: https://spark.lucko.me/
    For more information please visit: https://github.com/PaperMC/Paper/issues/8948
[18:43:51 INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 1 worker threads, and gen parallelism of 1 threads
[18:43:51 INFO]: Default game type: SURVIVAL
[18:43:51 INFO]: Generating keypair
[18:43:51 INFO]: Starting Minecraft server on *:25565
[18:43:51 INFO]: Using epoll channel type
[18:43:51 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[18:43:51 INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[18:43:51 WARN]: **** FAILED TO BIND TO PORT!
[18:43:51 WARN]: The exception was: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: アドレスは既に使用 中です
[18:43:51 WARN]: Perhaps a server is already running on that port?
[18:43:51 ERROR]: Encountered an unexpected exception
java.lang.IllegalStateException: Failed to initialize server
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1087) ~[paper-1.20.2.jar:git-Paper-307]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-307]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
[18:43:52 ERROR]: This crash report has been saved to: /usr/games/minecraft/./crash-reports/crash-2024-01-12_18.43.52-server.txt
[18:43:52 INFO]: Stopping server
[18:43:52 INFO]: Saving players
[18:43:52 INFO]: Saving worlds
[18:43:52 INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[18:43:52 INFO]: Flushing Chunk IO
[18:43:52 INFO]: Closing Thread Pool
[18:43:52 INFO]: Closing Server

うーん。
とりあえず、サーバを再起動してみるか。

[12:32:38 WARN]: [ViaVersion] There is a newer plugin version available: 4.9.2, you're on: 4.8.1

新しいバージョンがあるってことね。

右上のDownload Nowを押下して、最新ファイルを取得。
サーバにアップ。

Minecraft起動。

OK。

まとめ

まめに手入れてやらないと駄目なんだな。
そーいやバージョンアップ早いもんね。