Jump to content

Dedi on centos is non-operable OOB.


Recommended Posts

Running CentOS 8, the server tries to start, but fails. I saw another thread with same issue and no replies... like so:

Quote

[00:00:00]: Mounting file system databundles/klump.zip skipped.
[00:00:00]: Mounting file system databundles/shaders.zip skipped.
[00:00:00]: Mounting file system databundles/fonts.zip skipped.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip skipped.
[00:00:00]: Mounting file system databundles/bigportraits.zip skipped.
[00:00:00]: Mounting file system databundles/images.zip skipped.
[00:00:00]: Mounting file system databundles/scripts.zip skipped.
...

[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile Could not load lua file scripts/main.lua
[00:00:00]: Error loading main.lua
[00:00:00]: Failed mSimulation->Reset()
[00:00:00]: Error during game initialization!

extracting the scripts databundle into data makes it go further but still crash, missing zips from the anim folder.

lots of:

Quote

AnimationFile::LoadFile Failed to open anim/

...

Could not load atlas 

...

Failed to load font: 

...

 

I extracted the rest of the zips into the data folder, and it starts now. I've just attached a 7z extract to run after steamcmd update to keep the datastores updated.

I've made the necessary symlink from libcurl to libcurl-gnutls and that allowed the server to start in the first place. I've got i686 packages of the other requirements installed properly.

When I join, it kicks me after a short time (5s to 2m). I'm also encountering lots of pop-back, and maybe even invisible walls. When I first spawned in, it put me in a swamp and I couldn't walk out of it. Second time was on land, and I had a invisible border randomly across some ground. Not sure what to troubleshoot here, so I'm going to attempt to run it through a windows VM (goodbye extra cpu/ram, thanks wandows). I'd still like to help figure out what's up with the linux version if I can, for you guys, and if it's fixable so I can have those extra resources back.

Link to comment
Share on other sites

Tbh, that doesn't sound like an issue with CentOS 8 (Which I'm running as well without any problems).

You only need those requirements, including that libcurl link kinda thing, everything else should run out of the box, especially, because you can aparently join, which confirms that the requirements are met.

Usually these kinda issues appear when you aren't installing the dedicated server using steamcmd and instead either copy it over from some questionable sources or from the steam client.

Link to comment
Share on other sites

I've installed dedi through steamcmd in a win10 vm, copied the config/save from the linux copy, tweaked ip settings and scripts for batch instead of cmd, and it starts and runs fine. No new character or anything, loads right up. I've gone back to the linux version, and it made a new save on start, which is corrupted. I caught video of it for you. Again, invisible wall, which is obviously a different biome than shown (water?). I'll blow away the server and start again with steamcmd. I did use that to install it originally. I can start listing the various ways i'm calling things to help. (attach start/update scripts etc)

 

Also, here is the log from that server run.

server_log.txt

 

EDIT: I've cleaned up the install and reinstalled the server. it gives an error about the library:

Quote

./dontstarve_dedicated_server_nullrenderer: /lib/libcurl-gnutls.so.4: no version information available (required by ./dontstarve_dedicated_server_nullrenderer)

then the original symptoms:

Quote

[00:00:00]: Mounting file system databundles/klump.zip skipped.
[00:00:00]: Mounting file system databundles/shaders.zip skipped.
[00:00:00]: Mounting file system databundles/fonts.zip skipped.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip skipped.
[00:00:00]: Mounting file system databundles/bigportraits.zip skipped.
[00:00:00]: Mounting file system databundles/images.zip skipped.
[00:00:00]: Mounting file system databundles/scripts.zip skipped.
...

[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile Could not load lua file scripts/main.lua
[00:00:00]: Error loading main.lua
[00:00:00]: Failed mSimulation->Reset()
[00:00:00]: Error during game initialization!

then it closes.

here is the environment and scripts. I called the update.sh, then startdst.sh.

I'll look into building proper libcurl 32-bit instead of linking to it. I don't know how to tell if it's the right version, i've had to tweak libs for both ark and factorio at this point.

 

EDIT2: I made libcurl from source with 

Quote

CFLAGS='-m32' ./configure --with-gnutls --without-ssl

and it compiles no problem. I've made the link to /usr/lib/libcurl-gnutls.so.4 from the one made with ./make install in /usr/local/lib/libcurl.so.4 instead of the one that comes with the system. The symptoms are the same. I'll try unpacking the databundles again.

 

EDIT3: I installed the Dedi on a centos VM I have, and LDD shows wayyy more libs on this system, and it runs properly first try? haven't connected to it yet..

Working install (didn't require unpacking databundles):

Quote

./dontstarve_dedicated_server_nullrenderer: /lib/libcurl-gnutls.so.4: no version information available (required by ./dontstarve_dedicated_server_nullrenderer)
    linux-gate.so.1 (0xf7f28000)
    libSDL2-2.0.so.0 => ./lib32/libSDL2-2.0.so.0 (0xf7e44000)
    libcurl-gnutls.so.4 => /lib/libcurl-gnutls.so.4 (0xf7d95000)
    librt.so.1 => /lib/librt.so.1 (0xf7d8b000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xf7d6b000)
    libfmodevent.so => ./lib32/libfmodevent.so (0xf7cde000)
    libfmodex.so => ./lib32/libfmodex.so (0xf7b28000)
    libsteam_api.so => ./lib32/libsteam_api.so (0xf7acf000)
    libstdc++.so.6 => /lib/libstdc++.so.6 (0xf793c000)
    libm.so.6 => /lib/libm.so.6 (0xf786a000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf784d000)
    libc.so.6 => /lib/libc.so.6 (0xf76a3000)
    libdl.so.2 => /lib/libdl.so.2 (0xf769e000)
    libnghttp2.so.14 => /lib/libnghttp2.so.14 (0xf7673000)
    libidn2.so.0 => /lib/libidn2.so.0 (0xf7654000)
    libssh.so.4 => /lib/libssh.so.4 (0xf75d6000)
    libpsl.so.5 => /lib/libpsl.so.5 (0xf75c4000)
    libssl.so.1.1 => /lib/libssl.so.1.1 (0xf7528000)
    libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0xf725b000)
    libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0xf71fd000)
    libkrb5.so.3 => /lib/libkrb5.so.3 (0xf7114000)
    libk5crypto.so.3 => /lib/libk5crypto.so.3 (0xf70fb000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0xf70f4000)
    libldap-2.4.so.2 => /lib/libldap-2.4.so.2 (0xf709d000)
    liblber-2.4.so.2 => /lib/liblber-2.4.so.2 (0xf708c000)
    libbrotlidec.so.1 => /lib/libbrotlidec.so.1 (0xf707e000)
    libz.so.1 => /lib/libz.so.1 (0xf7065000)
    /lib/ld-linux.so.2 (0xf7f2a000)
    libfmodex-4.44.64.so => ./lib32/libfmodex-4.44.64.so (0xf6eaf000)
    libunistring.so.2 => /lib/libunistring.so.2 (0xf6d2c000)
    libkrb5support.so.0 => /lib/libkrb5support.so.0 (0xf6d1a000)
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xf6d14000)
    libresolv.so.2 => /lib/libresolv.so.2 (0xf6cfc000)
    libsasl2.so.3 => /lib/libsasl2.so.3 (0xf6cd9000)
    libbrotlicommon.so.1 => /lib/libbrotlicommon.so.1 (0xf6cb8000)
    libselinux.so.1 => /lib/libselinux.so.1 (0xf6c89000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xf6c5e000)
    libpcre2-8.so.0 => /lib/libpcre2-8.so.0 (0xf6bd4000)
 

Broken install:

Quote

./dontstarve_dedicated_server_nullrenderer: /lib/libcurl-gnutls.so.4: no version information available (required by ./dontstarve_dedicated_server_nullrenderer)
    linux-gate.so.1 (0xf7fba000)
    libSDL2-2.0.so.0 => ./lib32/libSDL2-2.0.so.0 (0xf7ed7000)
    libcurl-gnutls.so.4 => /lib/libcurl-gnutls.so.4 (0xf7e2c000)
    librt.so.1 => /lib/librt.so.1 (0xf7e22000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xf7e02000)
    libfmodevent.so => ./lib32/libfmodevent.so (0xf7d75000)
    libfmodex.so => ./lib32/libfmodex.so (0xf7bbf000)
    libsteam_api.so => ./lib32/libsteam_api.so (0xf7b66000)
    libstdc++.so.6 => /lib/libstdc++.so.6 (0xf79d3000)
    libm.so.6 => /lib/libm.so.6 (0xf7901000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf78e4000)
    libc.so.6 => /lib/libc.so.6 (0xf773b000)
    libdl.so.2 => /lib/libdl.so.2 (0xf7736000)
    libssl.so.1.1 => /lib/libssl.so.1.1 (0xf769a000)
    libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0xf73cd000)
    libz.so.1 => /lib/libz.so.1 (0xf73b4000)
    /lib/ld-linux.so.2 (0xf7fbc000)
    libfmodex-4.44.64.so => ./lib32/libfmodex-4.44.64.so (0xf71fe000)
 

 

Link to comment
Share on other sites

The log which you've posted of the server that ran for a bit seems to indicate that the server can't write anything in the save folders. So either the drive is full or the user that you use to run the server doesn't have write permissions in the listed folder:

[00:46:48]: error: -1: could not get free space for /mnt/MT/MCServerFiles/dst//DoNotStarveTogether/Home/Master/
[00:46:48]: Failed to get free hard drive sapce for: /mnt/MT/MCServerFiles/dst//DoNotStarveTogether/Home/Master/

 

Link to comment
Share on other sites

I saw those also, and they lead me to think we do have a library or code problem. I've clobbered the whole server dir repeatedly with 777 during troubleshooting, so it's definitely Read/Write worthy. Here is a pastebin of ls -laR for the save dir... dontstarve user has read/write to everything, in fact has made most of these files/dirs. at worst, OTHER users don't have access.

even better that in those same logs, it confirms access just before the first instance of that error...

Quote

[00:00:18]: Check for write access: TRUE
[00:00:18]: Check for read access: TRUE
[00:00:18]: error: -1: could not get free space for /mnt/MT/MCServerFiles/dst//DoNotStarveTogether/Home/Master/
[00:00:18]: Failed to get free hard drive sapce for: /mnt/MT/MCServerFiles/dst//DoNotStarveTogether/Home/Master/

there's 11.5TB free on that volume, so unless we have a counting overflow problem... shouldn't be an issue. I'm down into the strange stuff, temp disabling selinux etc.

 

EDIT: It is probably a code or library issue. I noticed the logic for detecting space isn't working great in windows either. It shows 4.2GB free for the same volume, with 11.5TB free (capture attached). The working centos server is in a VM with a 50gb drive. I'm going to try a smaller partition for this server on the non-working centos install.

Capture.PNG

 

EDIT2: That was it. Something is wrong with linux port, can't handle free space, probably an overflow. off to bug reports!

I took my linux copy of server, stuck in a 16gb loop img file, mounted it in the same place the dir was for linux, even got my newer save and mods from windows copy, boots fine, loads fine, no more mounting databundles skipped, no more free space errors, it loaded the map instead of generating a new one... good to go. windows is probably using different libs/method for this, and fails.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
×
  • Create New...