Project Zomboid

Project Zomboid

This topic has been locked
Flaming May 30, 2016 @ 3:06pm
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.

< >
Showing 1-15 of 37 comments
Flaming May 30, 2016 @ 4:34pm 
@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?
Last edited by Flaming; May 30, 2016 @ 4:37pm
Flaming May 30, 2016 @ 4:41pm 
ok let me try it again. give a me a min
Last edited by Flaming; May 30, 2016 @ 4:41pm
Flaming May 30, 2016 @ 4:48pm 
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  [developer] May 30, 2016 @ 4:55pm 
Try with some different ports. Error 5 is SOCKET_PORT_ALREADY_IN_USE, so some process seems to be using one of the ports.
Flaming May 30, 2016 @ 5:00pm 
Alright so i should try port forwarding myself? with the ports it tells me to port forward?
EasyPickins  [developer] May 30, 2016 @ 5:01pm 
The port forwarding seems to be working fine.
Flaming May 30, 2016 @ 5:03pm 
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
Last edited by Flaming; May 30, 2016 @ 5:04pm
EasyPickins  [developer] May 30, 2016 @ 5:04pm 
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.
Flaming May 30, 2016 @ 5:05pm 
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.
Flaming May 30, 2016 @ 5:05pm 
(the thing is this was just working fine. thats when the auto port forwarding failed)
EasyPickins  [developer] May 30, 2016 @ 5:08pm 
~/Zomboid/Servers/servertest.ini
Flaming May 30, 2016 @ 5:11pm 
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  [developer] May 30, 2016 @ 5:13pm 
You'll have to create the settings in the client then before running the server.
EasyPickins  [developer] May 30, 2016 @ 5:14pm 
Or start the server with arguments "-port 17000" for example.
Flaming May 30, 2016 @ 5:14pm 
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.
< >
Showing 1-15 of 37 comments
Per page: 1530 50

Date Posted: May 30, 2016 @ 3:06pm
Posts: 37