Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start server #2

Open
Pochwar opened this issue Dec 1, 2023 · 0 comments
Open

Unable to start server #2

Pochwar opened this issue Dec 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Pochwar
Copy link

Pochwar commented Dec 1, 2023

Hi, I'm trying to set up a zomboid dedicated server on my VPS using your Docker image, but I'm stuck.
After running this command: docker run -it --rm lacledeslan/gamesvr-pzomboid ./start-server.sh, the script is blocked at the step LOADING ASSETS: START, then after about 10 minutes, the process is killed.

I'm not very experienced with Docker, and I did not find exactly how to use this image, so maybe am I missing something?

Any help would be very appreciated :)

Here is the complete otuput:

~ » docker run -it --rm lacledeslan/gamesvr-pzomboid ./start-server.sh                                                                                                                                                       64-bit java detected
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pzexe: looking for PZXInitThreads.so
pzexe: libPZXInitThreads64.so was not found. This is ok for a server, but multi-core rendering won't work on a client without it.
pzexe: about to run java hack to locate libjvm.so...
pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe"
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pzexe.java: loading shared library "pzexe_jni64"
JVM=/app/jre64/lib/server/libjvm.so
pxexe: /proc/self/exe=/app/ProjectZomboid64
pzexe config file: /app/ProjectZomboid64.json
pzexe: mainClass: zombie/network/GameServer
pzexe: classpath: -Djava.class.path=java/.:java/istack-commons-runtime.jar:java/jassimp.jar:java/javacord-2.0.17-shaded.jar:java/javax.activation-api.jar:java/jaxb-api.jar:java/jaxb-runtime.jar:java/lwjgl.jar:java/lwjgl-natives-linux.jar:java/lwjgl-glfw.jar:java/lwjgl-glfw-natives-linux.jar:java/lwjgl-jemalloc.jar:java/lwjgl-jemalloc-natives-linux.jar:java/lwjgl-opengl.jar:java/lwjgl-opengl-natives-linux.jar:java/lwjgl_util.jar:java/sqlite-jdbc-3.27.2.1.jar:java/trove-3.0.3.jar:java/uncommons-maths-1.2.3.jar:java/commons-compress-1.18.jar
pzexe: vmArg (json) 1: -Djava.awt.headless=true
pzexe: vmArg (json) 2: -Xmx8g
pzexe: vmArg (json) 3: -Dzomboid.steam=1
pzexe: vmArg (json) 4: -Dzomboid.znetlog=1
pzexe: vmArg (json) 5: -Djava.library.path=linux64/:natives/
pzexe: vmArg (json) 6: -Djava.security.egd=file:/dev/urandom
pzexe: vmArg (json) 7: -XX:+UseZGC
pzexe: vmArg (json) 8: -XX:-OmitStackTraceInFastThrow
pzexe: using jvm "/app/jre64/lib/server/libjvm.so"
DEBUG: General     , 1701467606947> 104,546,167> LoggerManager.init                  > Initializing...
LOG  : General     , 1701467607051> 104,546,250> cachedir set to "/app/Zomboid"
LOG  : General     , 1701467607273> 104,546,472> version=41.78.16 demo=false
LOG  : General     , 1701467607275> 104,546,474> revision= date= time=
LOG  : General     , 1701467607276> 104,546,475> server name is "servertest"
LOG  : General     , 1701467607277> 104,546,476> map_t.bin does not exist, cannot determine the server's WorldVersion.  This is ok the first time a server is started.
LOG  : General     , 1701467607281> 104,546,480> Loading networking libraries...
LOG  : General     , 1701467607282> 104,546,481> Loading steam_api...
LOG  : General     , 1701467607283> 104,546,482> Loading RakNet64...
LOG  : General     , 1701467607288> 104,546,487> Loading ZNetJNI64...
LOG  : Network     , 1701467607296> 104,546,495> [01-12-23 21:53:27.295] > ZNet: SetLogLevel 2
LOG  : Network     , 1701467607301> 104,546,500> [01-12-23 21:53:27.301] > ZNet: SteamAPI initialised successfully
LOG  : General     , 1701467607303> 104,546,502> SteamUtils initialised successfully
LOG  : General     , 1701467608991> 104,548,190> translator: language is EN
LOG  : General     , 1701467609465> 104,548,664> creating server spawnregions file "/app/Zomboid/Server/servertest_spawnregions.lua"
LOG  : General     , 1701467609470> 104,548,669> writing /app/Zomboid/Server/servertest.ini
LOG  : Network     , 1701467609512> 104,548,711> [01-12-23 21:53:29.511] > ZNet: SZombienet -> SZombienet: Init
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
Setting breakpad minidump AppID = 108600
LOG  : Network     , 1701467609833> 104,549,032> [01-12-23 21:53:29.833] > ZNet: SteamGameServer seems to be initialized
LOG  : Network     , 1701467609835> 104,549,034> [01-12-23 21:53:29.835] > ZNet: SZombienet -> SSteamSDK: SetMaxPlayerCount
LOG  : General     , 1701467609839> 104,549,038> Waiting for response from Steam servers
LOG  : Network     , 1701467613047> 104,552,246> [01-12-23 21:53:33.047] > ZNet: SSteamSDK -> SZombienet: OnSteamServersConnected
LOG  : Network     , 1701467613051> 104,552,250> [01-12-23 21:53:33.050] > ZNet: OnSteamServersConnected
LOG  : Network     , 1701467613053> 104,552,252> [01-12-23 21:53:33.052] > ZNet: SZombienet -> SSteamSDK: SetMaxPlayerCount
LOG  : Network     , 1701467613055> 104,552,254> [01-12-23 21:53:33.054] > ZNet: Public IP: 51.178.29.185
LOG  : General     , 1701467613063> 104,552,262> Start making backup to: /app/Zomboid/backups/startup
LOG  : General     , 1701467613288> 104,552,487> compressionElapsed=150ms, mergingElapsed=49ms
LOG  : General     , 1701467613302> 104,552,501> Backup made in 227 ms
LOG  : General     , 1701467613304> 104,552,503> Start making backup to: /app/Zomboid/backups/version
LOG  : General     , 1701467613318> 104,552,517> compressionElapsed=9ms, mergingElapsed=2ms
LOG  : General     , 1701467613320> 104,552,519> Backup made in 16 ms
LOG  : General     , 1701467613329> 104,552,528> user database "/app/Zomboid/db/servertest.db"
LOG  : General     , 1701467613589> 104,552,789> User 'admin' not found, creating it
LOG  : General     , 1701467613592> 104,552,791> Command line admin password: null
LOG  : General     , 1701467613594> 104,552,794> Enter new administrator password:
123
LOG  : General     , 1701467616944> 104,556,144> Confirm the password:
123
LOG  : General     , 1701467625011> 104,564,210> Administrator account 'admin' created.
LOG  : General     , 1701467625012> 104,564,211> Router detection/configuration starting.
LOG  : General     , 1701467625016> 104,564,216> If the server hangs here, set UPnP=false.
LOG  : Network     , 1701467637032> 104,576,231> No UPnP-enabled Internet gateway found, you must configure port forwarding on your gateway manually in order to make your server accessible from the Internet.
LOG  : Network     , 1701467637038> 104,576,238> Initialising Server Systems...
LOG  : Lua         , 1701467639031> 104,578,230> Loading: media/lua/shared/Sandbox/Apocalypse.lua
LOG  : General     , 1701467643550> 104,582,749> scriptChecksum: 65f5e46ef1be089d5adca89001729e9c
WARN : Recipe      , 1701467643601> 104,582,800> RecipeManager.resolveItemModuleDotType> WARNING: module "Base" may have forgot to import module Base
WARN : Script      , 1701467643634> 104,582,833> ModelScript.check> no such model "null" for Base.BareHands
WARN : Script      , 1701467643646> 104,582,845> ModelScript.check> no such model "???.DisposableRazor" for Base.Razor
WARN : Script      , 1701467643670> 104,582,869> ModelScript.check> no such model "Chainsaw" for Base.Chainsaw
LOG  : General     , 1701467645391> 104,584,590> LOADING ASSETS: START
./start-server.sh: line 26:    21 Killed                  LD_PRELOAD="${LD_PRELOAD}:${JSIG}" ./ProjectZomboid64 "$@"
@dudleycodes dudleycodes added the bug Something isn't working label Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants