Nie można wejść na serwer MC

Thomas | 2019-01-27 18:52:38 UTC | #1

Cześć otóż mam problem ponieważ nie można wejść na serwer Minecraft który mam na VPS lecz jest taki motyw bo mam przycisk który włączy serwer ale nie można na niego wejść a jak włączę przez PUTTY to wtedy wszystko działa. A nie wiem zbytnio co jest grane błąd który się wyświetla w mc:

Internal Exception: io.netty.handler.timeout.ReadTimeoutException

Jeśli wie ktoś co jest nie tak prosił bym o pomoc.
Komendy jakich używam do włączenia serwera:

PHP:

exec(“cd /home/mc/ && screen -dmS x java -Xms1524M -Xmx1524M -jar silnik.jar”, $o);

Putty:

screen -dmS x java -Xms1024M -Xmx1024M -jar silnik.jar


Jakub | 2019-01-27 19:32:48 UTC | #2

Błąd może powodować któryś z pluginów ( daj screena z konsoli )


Thomas | 2019-01-27 19:37:06 UTC | #3

Właśnie zauważyłem że po włączeniu serwera przez stronę nie mogę wejść na konsole na Putty :confused:


Tadzio | 2019-01-27 20:27:33 UTC | #4

A logi konsoli ?


Thomas | 2019-01-27 20:49:28 UTC | #5

Logi są tylko po włączeniu po przez Putty. Logi z ostatniego działania serwera:

[20:43:56] [Server thread/INFO]: Starting minecraft server version 1.7.2
[20:43:56] [Server thread/INFO]: Loading properties
[20:43:56] [Server thread/INFO]: Default game type: SURVIVAL
[20:43:56] [Server thread/INFO]: Generating keypair
[20:43:56] [Server thread/INFO]: Starting Minecraft server on :25565
[20:43:56] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.4-SNAPSHOT)
[20:43:57] [Server thread/INFO]: [PermissionsEx] sql backend registered!
[20:43:57] [Server thread/INFO]: [PermissionsEx] file backend registered!
[20:43:57] [Server thread/INFO]: [PermissionsEx] PermissionEx plugin initialized.
[20:43:57] [Server thread/INFO]: [PermissionsEx] p2compat backend registered!
[20:43:57] [Server thread/INFO]: [PermissionsCompat] Compatibility Layer Initalized!
[20:43:57] [Server thread/INFO]: [PermissionsEx] Loading PermissionsEx v1.17
[20:43:57] [Server thread/ERROR]: org/bukkit/util/config/Configuration initializing PermissionsEx v1.17 (Is it up to date?)
java.lang.NoClassDefFoundError: org/bukkit/util/config/Configuration
at ru.tehkode.permissions.bukkit.PermissionsEx.loadConfig(PermissionsEx.java:202) ~[?:?]
at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:72) ~[?:?]
at org.bukkit.craftbukkit.v17R1.CraftServer.loadPlugins(CraftServer.java:355) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at org.bukkit.craftbukkit.v17R1.CraftServer.(CraftServer.java:312) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.PlayerList.(PlayerList.java:63) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.DedicatedPlayerList.(SourceFile:14) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.DedicatedServer.init(DedicatedServer.java:126) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.MinecraftServer.run(MinecraftServer.java:424) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.ThreadServerApplication.run(SourceFile:617) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
Caused by: java.lang.ClassNotFoundException: org.bukkit.util.config.Configuration
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) ~[silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0201]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0
201]
… 9 more
[20:43:57] [Server thread/INFO]: [AutoSaveWorld] Loading AutoSaveWorld v4.15
[20:43:57] [Server thread/INFO]: [Modifyworld] Loading Modifyworld v1.16
[20:43:57] [Server thread/INFO]: [Permissions] Loading Permissions v2.7.7
[20:43:57] [Server thread/WARN]: [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
[20:43:57] [Server thread/INFO]: [ChatManager] Loading ChatManager v1.15
[20:43:57] [Server thread/INFO]: [AutoSaveWorld] Enabling AutoSaveWorld v4.15
[20:43:57] [Server thread/WARN]:
*** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[20:43:57] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[20:43:57] [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.
[20:43:57] [Server thread/WARN]: To change this, set “online-mode” to “true” in the server.properties file.
[20:43:57] [Server thread/INFO]: Preparing level “world”
[20:43:57] [Server thread/INFO]: Preparing start region for level 0 (Seed: -7202671247152696613)
[20:43:58] [Server thread/INFO]: Preparing spawn area: 42%
[20:43:59] [Server thread/INFO]: Preparing start region for level 1 (Seed: -7202671247152696613)
[20:44:00] [Server thread/INFO]: Preparing start region for level 2 (Seed: -7202671247152696613)
[20:44:00] [Server thread/INFO]: [PermissionsEx] Enabling PermissionsEx v1.17
[20:44:00] [Server thread/ERROR]: Error occurred while enabling PermissionsEx v1.17 (Is it up to date?)
java.lang.NullPointerException
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:80) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at org.bukkit.craftbukkit.v17R1.CraftServer.loadPlugin(CraftServer.java:439) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at org.bukkit.craftbukkit.v17R1.CraftServer.enablePlugins(CraftServer.java:375) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.MinecraftServer.m(MinecraftServer.java:342) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.MinecraftServer.g(MinecraftServer.java:319) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.MinecraftServer.a(MinecraftServer.java:275) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.DedicatedServer.init(DedicatedServer.java:175) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.MinecraftServer.run(MinecraftServer.java:424) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
at net.minecraft.server.v17R1.ThreadServerApplication.run(SourceFile:617) [silnik.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3023jnks]
[20:44:00] [Server thread/INFO]: [Modifyworld] Enabling Modifyworld v1.16
[20:44:00] [Server thread/ERROR]: [Modifyworld] PermissionsEx not found, disabling
[20:44:00] [Server thread/INFO]: [Modifyworld] Disabling Modifyworld v1.16
[20:44:00] [Server thread/INFO]: [Modifyworld] Modifyworld disabled!
[20:44:00] [Server thread/INFO]: [Permissions] Enabling Permissions v2.7.7
[20:44:00] [Server thread/INFO]: [PermissionsCompat] Compatibility layer enabled.
[20:44:00] [Server thread/INFO]: [ChatManager] Enabling ChatManager v1.15
[20:44:00] [Server thread/ERROR]: [ChatManager] PermissionsEx not found, disabling
[20:44:00] [Server thread/INFO]: [ChatManager] Disabling ChatManager v1.15
[20:44:00] [Server thread/INFO]: [ChatManager] ChatManager disabled!
[20:44:00] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[20:44:00] [Server thread/INFO]: Done (3.367s)! For help, type “help” or “?”
[20:44:00] [Server thread/INFO]: Starting GS4 status listener
[20:44:00] [Server thread/WARN]: Unable to determine local host IP, please set server-ip in ‘/home/mc/server.properties’ : vps7309: vps7309: Name or service not known
[20:44:00] [Server thread/INFO]: Starting remote control listener
[20:44:00] [Query Listener #1/INFO]: Query running on 0.0.0.0:25565
[20:44:00] [RCON Listener #2/INFO]: RCON running on 0.0.0.0:25575
[20:44:06] [Server thread/INFO]: Magmus[/185.21.84.111:45810] logged in with entity id 271 at ([world] -863.6999999880791, 66.875, 1802.5395257729504)
[20:44:13] [Server thread/INFO]: Magmus issued server command: /lol
[20:44:16] [Server thread/INFO]: Magmus issued server command: /help
[20:44:20] [Server thread/INFO]: Magmus issued server command: /stop
[20:44:20] [Server thread/INFO]: Magmus: Stopping the server..
[20:44:20] [Server thread/INFO]: Stopping server
[20:44:20] [Server thread/INFO]: [Permissions] Disabling Permissions v2.7.7
[20:44:20] [Server thread/INFO]: [AutoSaveWorld] Disabling AutoSaveWorld v4.15
[20:44:20] [Server thread/INFO]: AutoSaving
[20:44:21] [Server thread/INFO]: AutoSave Complete
[20:44:26] [Server thread/INFO]: [PermissionsEx] Disabling PermissionsEx v1.17
[20:44:26] [Server thread/INFO]: [PermissionsEx] v1.17 disabled successfully.
[20:44:26] [Server thread/INFO]: Saving players
[20:44:26] [Server thread/INFO]: Magmus lost connection: Server closed
[20:44:26] [Server thread/INFO]: Magmus left the game.
[20:44:26] [Server thread/INFO]: Saving worlds
[20:44:26] [Server thread/INFO]: Saving chunks for level ‘world’/Overworld
[20:44:27] [Server thread/INFO]: Saving chunks for level ‘worldnether’/Nether
[20:44:27] [Server thread/INFO]: Saving chunks for level ‘world
the_end’/The End
[20:44:27] [Thread-4/INFO]: Stopping server
[20:44:27] [Thread-4/INFO]: Saving players
[20:44:27] [Thread-4/INFO]: Saving worlds
[20:44:27] [Thread-4/INFO]: Saving chunks for level ‘world’/Overworld

Sorki że tak wkleiłem ale nie wiedziałem jak tu zrobić rozwijanego div’a.


liamdj23 | 2019-01-27 20:52:09 UTC | #6

Masz PermissionsEx w niepoprawnej wersji


Thomas | 2019-01-27 22:54:31 UTC | #7

Usunąłem wszystkie pluginy oprócz auto save word ale błąd niestety się powtarza. :confused:


Tadzio | 2019-01-28 07:55:35 UTC | #8

Spróbuj wgrać inny silnik np. Spigot


Nieznajomy11 | 2019-01-28 07:56:12 UTC | #9

Uruchamiasz serwer prawdopodobnie na użytkowniku www-data, zamiast na właściwym, na którym potem próbujesz otworzyć screena. Każdy użytkownik widzi tylko własne screeny.


Thomas | 2019-01-28 08:43:41 UTC | #10

@Nieznajomy11 jak uruchomić na tym właściwym ? Bo ja trochę taki zielony.
@Tadzio instalacja innego silnika nic nie da bo jak uruchomię przez Putty to działa ale chciałbym by działało też przez stronę


Nieznajomy11 | 2019-01-28 09:18:42 UTC | #11

[quote=”Thomas, post:10, topic:9899”]
Bo ja trochę taki zielony.
[/quote]

W takim razie nie próbuj uruchamiać serwera przez exec. To nie jest najlepszy pomysł.


Thomas | 2019-01-28 10:45:37 UTC | #12

Tak ale chciałbym się nauczyć. serwer niby się włączy ale nie można wejść


system | 2019-03-01 10:45:42 UTC | #13

Ten temat został automatycznie zamknięty 32 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.