Project Zomboid
Тема закрыта
Steam Server Setup on a linux Server not starting.
I'll explain a bit more. After launching the server it goes ahead and attempts to use UPnP to set it up. it goes well. im a bit happy. so anyway as it loads we get to the bottom and then i see this message and it quits his process.

Initialising RakNet...
znet: Java_zombie_core_raknet_RakNetPeerInterface_Init
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetMaximumIncomingConnections
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetServerPort
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetIncomingPassword
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetOccasionalPing
znet: Java_zombie_core_raknet_RakNetPeerInterface_Startup
znet: Zomboid Steam Server started, ports 8766 and 16261 must be open on the router
Unknown bind__() error -1.
RakNet.Startup() return code: 5 (0 means success)
java.net.ConnectException
at zombie.core.raknet.UdpEngine.<init>(UdpEngine.java:67)
at zombie.network.GameServer.startServer(GameServer.java:1785)
at zombie.network.GameServer.main(GameServer.java:599)
znet: Java_zombie_core_znet_SteamUtils_n_1Shutdown


It will do that over and over again. I also attempted to re-install the server files. I used the guide on Project zomboid the how to setup a steam server for PZ.

idk what i did wrong. just a bit mad that i can not get this server running.

< >
Сообщения 115 из 37
@Enigmagrey, I already restarted at least twice, i had no luck. When it did its ports thing with UPnP it said it was able to add those ports and the router logs also show the ports being opened.

Should i try adding the ports myself?
Отредактировано Flaming; 30 мая. 2016 г. в 16:37
ok let me try it again. give a me a min
Отредактировано Flaming; 30 мая. 2016 г. в 16:41
same error Initialising RakNet...
znet: Java_zombie_core_raknet_RakNetPeerInterface_Init
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetMaximumIncomingConnections
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetServerPort
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetIncomingPassword
znet: Java_zombie_core_raknet_RakNetPeerInterface_SetOccasionalPing
znet: Java_zombie_core_raknet_RakNetPeerInterface_Startup
znet: Zomboid Steam Server started, ports 8766 and 16261 must be open on the router
Unknown bind__() error -1.
RakNet.Startup() return code: 5 (0 means success)
java.net.ConnectException
at zombie.core.raknet.UdpEngine.<init>(UdpEngine.java:67)
at zombie.network.GameServer.startServer(GameServer.java:1785)
at zombie.network.GameServer.main(GameServer.java:599)
znet: Java_zombie_core_znet_SteamUtils_n_1Shutdown


and of course ends it's process

Also heres the part of the ports
znet: Using http://(ip hidden)/upnp/control/WANIPConnection0 to map external UDP port 16261 to local port 16261...
znet: Checking if the port is already mapped...
znet: Port 16261 is already mapped to :16261 for 72130 seconds
znet: It seems to be our old mapping
znet: Deleting this existing mapping...
znet: Existing mapping has been successfully removed
znet: Adding mapping to the routing table...
znet: UPNP_AddPortMapping() succeeded, testing now...
znet: UPNP_GetSpecificPortMappingEntry() succeeded, seems that we're good
znet: UPNP_GetSpecificPortMappingEntry() results: intClient == ', intPort == '16261', duration == '86397'
Default port has been mapped successfully
znet: Using http://:49156/upnp/control/WANIPConnection0 to map external UDP port 8766 to local port 8766...
znet: Checking if the port is already mapped...
znet: Port 8766 is already mapped to for 72185 seconds
znet: It seems to be our old mapping
znet: Deleting this existing mapping...
znet: Existing mapping has been successfully removed
znet: Adding mapping to the routing table...
znet: UPNP_AddPortMapping() succeeded, testing now...
znet: UPNP_GetSpecificPortMappingEntry() succeeded, seems that we're good
znet: UPNP_GetSpecificPortMappingEntry() results: intClient == '', intPort == '8766', duration == '86397'
SteamPort1 has been mapped successfully
znet: Using http://49156/upnp/control/WANIPConnection0 to map external UDP port 8767 to local port 8767...
znet: Checking if the port is already mapped...
znet: Port 8767 is already mapped to :8767 for 72153 seconds
znet: It seems to be our old mapping
znet: Deleting this existing mapping...
znet: Existing mapping has been successfully removed
znet: Adding mapping to the routing table...
znet: UPNP_AddPortMapping() succeeded, testing now...
znet: UPNP_GetSpecificPortMappingEntry() succeeded, seems that we're good
znet: UPNP_GetSpecificPortMappingEntry() results: intClient == '', intPort == '8767', duration == '86398'
SteamPort2 has been mapped successfully


Wondering were the ip's? just removed them nothing wrong with the UPNP part with the IP. since it sees my Router very easily.
EasyPickins  [Разработчик] 30 мая. 2016 г. в 16:55 
Try with some different ports. Error 5 is SOCKET_PORT_ALREADY_IN_USE, so some process seems to be using one of the ports.
Alright so i should try port forwarding myself? with the ports it tells me to port forward?
EasyPickins  [Разработчик] 30 мая. 2016 г. в 17:01 
The port forwarding seems to be working fine.
Ok, So i kinda of don't understand by changing the ports? just need a little more detail? thank you for helping me. hopefully this would be fixed soon. just need a bit more understanding on what you ment
Отредактировано Flaming; 30 мая. 2016 г. в 17:04
EasyPickins  [Разработчик] 30 мая. 2016 г. в 17:04 
In the server settings, try changing 16261 to 17000 and see if that port is unused. Or 8766 to 9000 until you find an unused port.
eh, need a bit info on how to find these server settings. i looked everywere for a file named server settings.ini or something near that. cant find it.
(the thing is this was just working fine. thats when the auto port forwarding failed)
EasyPickins  [Разработчик] 30 мая. 2016 г. в 17:08 
~/Zomboid/Servers/servertest.ini
Nope its not there however i see servertest1.ini but thats not the one since thats the co-op test sever i was seeing the settings

server name is "servertest" - according to the decicated server.
EasyPickins  [Разработчик] 30 мая. 2016 г. в 17:13 
You'll have to create the settings in the client then before running the server.
EasyPickins  [Разработчик] 30 мая. 2016 г. в 17:14 
Or start the server with arguments "-port 17000" for example.
Okay, Can i please have a link on how to do this. i don't want to waste your time bothering you, its a bit backwards to me, i set up and hosted servers before but this is a bit odd, never had problems with port forwarding, by the way these hosted servers are off and they are not using any ports right now.
< >
Сообщения 115 из 37
Показывать на странице: 1530 50

Дата создания: 30 мая. 2016 г. в 15:06
Сообщений: 37