ovingiv Posted February 9, 2020 Share Posted February 9, 2020 Hello, I'm wanting to get into running a 7DtD server again for my friends and I but I'm running into an issue even getting it started. It's a fresh install of Ubuntu Server 18.04. I followed this guide to installing the server https://unixblogger.com/setup-7-days-to-die-server/ Pastebin My hardware (a bit overkill) is a Dell Poweredge T410 2x Xeon X5670 64gb DDR3 @ 1333MHz 3x 500GB SATA WD Velociraptor 10K drives. Sovled by using SylenThunder idea of using LGSM for running a server. Link to comment Share on other sites More sharing options...
ovingiv Posted February 9, 2020 Author Share Posted February 9, 2020 Okay I was able to get it started however I now ran into a different issue to where it "Could not initialize GameServer" Pastebin Link to comment Share on other sites More sharing options...
SylenThunder Posted February 9, 2020 Share Posted February 9, 2020 ok, first one looks like you started the server previously, then killed the process while it was still doing map generation. Best bet to resolve that is to reboot the machine completely, wipe the slate, and then start over. The second one seems to indicate that it can't reach Steam at all. Did you forward all the port ranges, and are you using UFW or IPTables? Also, that guide is a bit dated, and is missing some important information. It's ok if you're really familiar with Linux and hosting, but IMHO you would be better off using something like LGSM just for the extra monitoring scripts and tools. Link to comment Share on other sites More sharing options...
ovingiv Posted February 9, 2020 Author Share Posted February 9, 2020 Hello and thanks for responding. I wound up changing the start command and I was able to get it to at least "start". And for ports/UFW I have DMZ enabled for the PC ip and I have UFW disabled for now as long as I can get it running first I will re-enable it. This is also showing up on the CLI. mc@MineOS:~/steamcmd/7dtd_server$ ./7DaysToDieServer.x86_64 -logfile output.log -configfile=serverconfig.xml -nographics -dedicated CreateDirectory '' failed: (current dir: ) [s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. dlopen failed trying to load: steamclient.so with error: steamclient.so: cannot open shared object file: No such file or directory [s_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so. Link to comment Share on other sites More sharing options...
meganoth Posted February 9, 2020 Share Posted February 9, 2020 There is a file steamclient.so in the installation directory of 7d2d. And it seems in ubuntu this library can't be found by the game. debian for example works fine. You could try this: "cd [game install dir] ; ln -s ./steamclient.so /usr/lib/". Substitute [game install dir] with the installation directory, probably ~/steamcmd/7dtd_server Or add the install dir to the LD_LIBRARY_PATH environment variable before you start the game. If it works I would be happy about a confirmation. Link to comment Share on other sites More sharing options...
ovingiv Posted February 9, 2020 Author Share Posted February 9, 2020 After adding the symbolic link, it now gives me CreateDirectory '' failed: (current dir: ) [s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. dlopen failed trying to load: steamclient.so with error: steamclient.so: cannot open shared object file: Too many levels of symbolic links [s_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so. So I'm trying out LGSM and its also giving me issues by not respecting the settings I've set for the serverconfig.xml. I've looked through out the entire directory and I can't find where it's getting the settings from. Edit 2: ok it's making another .xml file named sdtserver.xml and using that for the serverconfig.xml. It's now working and connectable. Link to comment Share on other sites More sharing options...
SylenThunder Posted February 9, 2020 Share Posted February 9, 2020 Yes, LGSM uses the sdtdserver.xml file so that an update won't nuke your config. It's a good practice to not use the default config file. Good to hear you got it working. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.