No Webmin - socket error
#1
Hi

I compiled and ran MCServer from source on my Raspberry PI yesterday and I'm not able to connect to the Webinterface.

When i try to connect i can see this red error messages on console:


[19:58:09] Cannot bind a Control socket for a cSocketThread (“99: Cannot assign requested address”); continuing, but server may be unreachable from now on.
[19:58:09] A new cSocketThread failed to start
[19:58:09] Error closing socket -1 (): 9: Bad file descriptor
[19:58:09] Error closing socket -1 (): 9: Bad file descriptor


Any Ideas?
there is also minidlna and samba running.
Reply
Thanks given by:
#2
Hi, welcome to the forum.

This is really weird. Does it happen regularly, or did it happen only once? Does the server work otherwise, can you connect to it from MC?

The only explanation that comes to my mind is that you've removed IPv4 support from the OS. MCS uses IPv4 sockets internally to provide synchronization for all the other external sockets. If that is so, does installing the IPv4 support fix the problem?
Reply
Thanks given by:
#3
Hi

I cannot connect with MineCraft neither.

Full Log. I tried to connect to Webmin Interface @15:41:24 and ran Minecraft 1.7.4 Multiplayer @15:42:20

Code:
[15:39:27] --- Started Log ---

[15:39:27] Creating new server instance...
[15:39:27] Reading server config...
[15:39:27] Starting server...
[15:39:27] Compatible clients: 1.2.4, 1.2.5, 1.3.1, 1.3.2, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.5, 1.5.1, 1.5.2, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.2, 1.7.4
[15:39:27] Compatible protocol versions 29, 39, 47, 49, 51, 60, 61, 73, 74, 77, 78, 4
[15:39:27] Client IPv4 IPv4: Port 25565 is open for connections
[15:39:27] Client IPv6 IPv6: Cannot create listening socket for port 25565: "97: Address family not supported by protocol"
[15:39:28] WebServer IPv4 IPv4: Port 8080 is open for connections
[15:39:28] WebServer IPv6 IPv6: Cannot create listening socket for port 8080: "97: Address family not supported by protocol"
[15:39:28] Loaded 269 crafting recipes
[15:39:29] Loaded 14 furnace recipes and 15 fuels
[15:39:29] -- Loading Plugins --
[15:39:29] Initialised Core v.14
[15:39:29] Initialized TransAPI v.1
[15:39:29] Initialized ChatLog v.3
[15:39:29] -- Loaded 12 Plugins --
[15:39:29] World "world": Unknown mob type: slime
[15:39:29] [Physics] WaterSimulator not present or empty in world/world.ini, using the default of "Floody".
[15:39:29] [Physics] LavaSimulator not present or empty in world/world.ini, using the default of "Floody".
[15:39:29] [Physics] RedstoneSimulator not present or empty in world/world.ini, using the default of "incremental".
[15:39:29] [Generator] BiomeGen value not set in world.ini, using "MultiStepMap".
[15:39:29] [Generator] HeightGen value not set in world.ini, using "Biomal".
[15:39:29] Preparing spawn area in world "world"...
[15:39:30] 395 chunks to load, 0 chunks to generate
[15:39:32] 340 chunks to load, 0 chunks to generate
[15:39:34] 288 chunks to load, 0 chunks to generate
[15:39:36] 248 chunks to load, 0 chunks to generate
[15:39:38] 208 chunks to load, 0 chunks to generate
[15:39:41] 172 chunks to load, 0 chunks to generate
[15:39:43] 129 chunks to load, 0 chunks to generate
[15:39:45] 86 chunks to load, 0 chunks to generate
[15:39:47] 44 chunks to load, 0 chunks to generate
[15:39:49] 1 chunks to load, 0 chunks to generate
[15:39:49] Lighting spawn area in world "world"...
[15:39:52] 397 chunks remaining to light
[15:39:54] 392 chunks remaining to light
[15:39:56] 387 chunks remaining to light
[15:39:58] 382 chunks remaining to light
[15:40:00] 377 chunks remaining to light
[15:40:02] 373 chunks remaining to light
[15:40:05] 367 chunks remaining to light
[15:40:07] 362 chunks remaining to light
[15:40:09] 357 chunks remaining to light
[15:40:11] 351 chunks remaining to light
[15:40:13] 344 chunks remaining to light
[15:40:15] 337 chunks remaining to light
[15:40:17] 331 chunks remaining to light
[15:40:19] 323 chunks remaining to light
[15:40:22] 317 chunks remaining to light
[15:40:24] 310 chunks remaining to light
[15:40:26] 304 chunks remaining to light
[15:40:28] 297 chunks remaining to light
[15:40:30] 290 chunks remaining to light
[15:40:32] 280 chunks remaining to light
[15:40:34] 266 chunks remaining to light
[15:40:36] 251 chunks remaining to light
[15:40:38] 238 chunks remaining to light
[15:40:41] 224 chunks remaining to light
[15:40:43] 211 chunks remaining to light
[15:40:45] 197 chunks remaining to light
[15:40:47] 183 chunks remaining to light
[15:40:49] 168 chunks remaining to light
[15:40:51] 153 chunks remaining to light
[15:40:53] 138 chunks remaining to light
[15:40:55] 124 chunks remaining to light
[15:40:58] 109 chunks remaining to light
[15:41:00] 95 chunks remaining to light
[15:41:02] 81 chunks remaining to light
[15:41:04] 66 chunks remaining to light
[15:41:06] 52 chunks remaining to light
[15:41:08] 37 chunks remaining to light
[15:41:10] 23 chunks remaining to light
[15:41:12] 8 chunks remaining to light
[15:41:14] Startup complete, took 106917 ms!
[15:41:24] Cannot bind a Control socket for a cSocketThread ("99: Cannot assign requested address"); continuing, but server may be unreachable from now on.
[15:41:24] A new cSocketThread failed to start
[15:41:24] Error closing socket -1 (): 9: Bad file descriptor
[15:41:24] Error closing socket -1 (): 9: Bad file descriptor
[15:42:20] Cannot bind a Control socket for a cSocketThread ("99: Cannot assign requested address"); continuing, but server may be unreachable from now on.
[15:42:20] A new cSocketThread failed to start
[15:42:20] Error closing socket -1 (): 9: Bad file descriptor
[15:42:20] Error closing socket -1 (): 9: Bad file descriptor
[15:42:20] Client "178.201.153.237" cannot be handled, server probably unstable
[15:42:50] Shutting down server...
[15:42:50] Saving all chunks...
[15:42:50] Waiting for the world storage to finish saving
[15:43:09] Saved all chunks in world world
[15:43:09] World storage thread finished
[15:43:10] Waiting for the world storage to finish saving
[15:43:10] World storage thread finished
[15:43:10] Disabled Core!
[15:43:10] Disabled TransAPI!
[15:43:10] Cleaning up...
[15:43:10] Shutdown successful!
[15:43:10] --- Stopped Log ---

I think IPv4 should work because I'm running PyLoad as well and that works perfect at Port 8000. I also tried to close PyLoad first but this didn't help.

In the beginning of the log i can see errors regarding IPv6.

edit: added full log
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)