Jump to content

Server dont start


Tobihey

Recommended Posts

Hello,

 

i have a Problem with my dedicated linux Server. OS Debian Wheezy. I Cant Start the Server right. 

 

My log give me this:

 

Bad thread local
Bad thread localthreadtools.cpp (1375) : Assertion Failed: Thread synchronization object is unuseable
../tier1/fileio.cpp (4009) : Assertion Failed: CFileWriterThread: pending file writer connection_log_16261.txt
../tier1/fileio.cpp (4009) : Assertion Failed: CFileWriterThread: pending file writer content_log.txt
../tier1/fileio.cpp (4009) : Assertion Failed: CFileWriterThread: pending file writer configstore_log.txt
at zombie.network.GameServer.main(GameServer.java:449)
at zombie.network.GameServer.doMinimumInit(GameServer.java:1598)
at zombie.Lua.LuaManager.init(LuaManager.java:568)
at zombie.Lua.LuaManager$Exposer.exposeAll(LuaManager.java:498)
at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaRecursively(LuaJavaClassExposer.java:525)
at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:541)
at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJavaByClass(LuaJavaClassExposer.java:577)
at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeLikeJava(LuaJavaClassExposer.java:366)
at se.krka.kahlua.integration.expose.LuaJavaClassExposer.exposeStatics(LuaJavaClassExposer.java:393)
at java.lang.reflect.Field.get(Field.java:379)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at zombie.iso.IsoWorld.(IsoWorld.java:298)
at zombie.iso.IsoWorld.(IsoWorld.java:114)
at zombie.iso.IsoMetaGrid.(IsoMetaGrid.java:356)
at java.awt.Rectangle.(Rectangle.java:174)
at java.awt.Toolkit.(Toolkit.java:1682)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1653)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at java.lang.System.loadLibrary(System.java:1088)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.System.load(System.java:1062)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
Exception in thread "main" java.lang.UnsatisfiedLinkError: /var/gameserver/jre64/lib/amd64/xawt/libmawt.so: libXrender.so.1: Kann die Shared-Object-Datei nicht �ffnen: Datei oder Verzeichnis nicht gefunden
Initialising Server Systems...
Administrator 'admin' created, you can now log with it using admin/yourpassword.
server
Confirm the password: 
server
Enter new administrator password: 
User 'admin' not found, creating it 
user database "/var/gameserver/Zomboid/db/server.db"
[ZNetJNI] Public IP: X.X.X.X
[ZNetJNI] OnSteamServersConnected
Waiting for response from Steam servers

Link to comment
Share on other sites

Hello,

okay dont start...

 

Bad thread local
Bad thread localthreadtools.cpp (1375) : Assertion Failed: Thread synchronization object is unuseable
../tier1/fileio.cpp (4009) : Assertion Failed: CFileWriterThread: pending file writer connection_log_16261.txt
../tier1/fileio.cpp (4009) : Assertion Failed: CFileWriterThread: pending file writer content_log.txt
../tier1/fileio.cpp (4009) : Assertion Failed: CFileWriterThread: pending file writer configstore_log.txt
[ZNetJNI] Java_zombie_core_znet_SteamUtils_n_1Shutdown
at zombie.network.GameServer.main(GameServer.java:507)
at zombie.network.GameServer.startServer(GameServer.java:1648)
at zombie.core.raknet.UdpEngine.(UdpEngine.java:66)
java.net.ConnectException
RakNet.Startup() return code: 5 (0 means success)
Unknown bind__() error -1.
[ZNetJNI] Zomboid Steam Server started, ports 8766 and 16261 must be open on the router
[ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Startup
[ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetOccasionalPing
[ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetIncomingPassword
[ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetServerPort
[ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_SetMaximumIncomingConnections
[ZNetJNI] Java_zombie_core_raknet_RakNetPeerInterface_Init
MAX #ZONES is 7
Loading: media/maps/Muldraugh, KY/objects.lua
Loading: media/maps/West Point, KY/objects.lua
No radio save file found to load, setting new game start times
tiledef: loading media/tiledefinitions_apcom.tiles
tiledef: loading media/tiledefinitions_erosion.tiles
tiledef: loading media/newtiledefinitions.tiles
tiledef: loading media/tiledefinitions.tiles
Loading world...
Loading: media/maps/West Point, KY/spawnpoints.lua
Loading: media/maps/Muldraugh, KY/spawnpoints.lua
Loading: Zomboid/Server/Gebyte-Server_spawnregions.lua
Loading: media/lua/server/timedactionshelper.lua
Loading: media/lua/server/recipecode.lua
Loading: media/lua/server/metazones/metazoneHandler.lua
Loading: media/lua/server/mapScripts.lua
Loading: media/lua/client/ISUI/ISButton.lua
Loading: media/lua/client/ISUI/ISRichTextPanel.lua
Loading: media/lua/client/ISUI/ISUIElement.lua
Loading: media/lua/client/ISUI/ISPanel.lua
Loading: media/lua/client/SurvivalGuide/ISTutorialPanel.lua
Loading: media/lua/server/katebaldspottutorial.lua
Loading: media/lua/server/XpSystem/XpUpdate.lua
Loading: media/lua/server/XpSystem/XpSystem_text.lua
Loading: media/lua/server/XpSystem/XPSystem_SkillBook.lua
Loading: media/lua/server/TutorialHelperFunctions.lua

Link to comment
Share on other sites

 

 

RakNet.Startup() return code: 5 (0 means success)

 

That usually means that the server port 16261 is already used by another process.  Usually this happens when you already have another server running on the same machine, but it could be another program.

 

In this case, becuase the initial tries failed, it could even be another ProjectZomboid server instance.

 

Check with top in terminal; it should show you which one. Then kill -9 the pid of each PZ instance.

Link to comment
Share on other sites

Hello thanks for your answers. Yes i will host more Servers. I used bind to give the PZ server a oher IP-Adress. Can i give the Server a other IP Adresse over a start command or config?  

 

BIND_ADDR="23.23.23.23" LD_PRELOAD=/usr/lib/bind.so /var/gameserver/1/start-server.sh -servername Server 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...