Jump to content

Starting up a new dedicated server, fresh install, crashes upon starting.


ovingiv

Recommended Posts

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

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

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

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

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

Archived

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...