[GH-ISSUE #856] [sdtdserver] Server Abort after start #688

Closed
opened 2026-02-27 02:03:09 +03:00 by kerem · 16 comments
Owner

Originally created by @gotah on GitHub (Jun 2, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/856

Hello Everyone!

I have a problem with 7 Days To Die, server Crash after being started,
I'm running a Debian 8 (64)
here the output log
http://pastebin.com/gRJGYwpk
to me seems be an incompatibility between my mono version and unity, but I'm not sure
anyone can give me a hint ?
thanks!

Originally created by @gotah on GitHub (Jun 2, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/856 Hello Everyone! I have a problem with 7 Days To Die, server Crash after being started, I'm running a Debian 8 (64) here the output log http://pastebin.com/gRJGYwpk to me seems be an incompatibility between my mono version and unity, but I'm not sure anyone can give me a hint ? thanks!
Author
Owner

@UltimateByte commented on GitHub (Jun 2, 2016):

Hi,

Crash after "INF NET: Starting server protocols" ?
Maybe port already in use ?

<!-- gh-comment-id:223456896 --> @UltimateByte commented on GitHub (Jun 2, 2016): Hi, Crash after "INF NET: Starting server protocols" ? Maybe port already in use ?
Author
Owner

@gotah commented on GitHub (Jun 3, 2016):

Hi UltimateByte,

no ports are not used, just checked (netstat -a -n | grep 26900)

<!-- gh-comment-id:223526031 --> @gotah commented on GitHub (Jun 3, 2016): Hi UltimateByte, no ports are not used, just checked (netstat -a -n | grep 26900)
Author
Owner

@cedarlug commented on GitHub (Jun 3, 2016):

Could you post the output of ./sdtdserver details, removing any credentials in the output?

Also, why do you believe it's a mono/Unity issue - something specific in the log?

<!-- gh-comment-id:223547837 --> @cedarlug commented on GitHub (Jun 3, 2016): Could you post the output of `./sdtdserver details`, removing any credentials in the output? Also, why do you believe it's a mono/Unity issue - something specific in the log?
Author
Owner

@gotah commented on GitHub (Jun 3, 2016):

yes,
here is the details: http://pastebin.com/Jb23uxEc
I tried to run also ./7DaysToDieServer.x86_64 with the same commandline but the result is the same

I think is something mono/unity related because of the native stacktrace on top of the output log

`Native stacktrace:

/home/test/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0x91772) [0x7f7365d85772]
/home/test/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0x348a5) [0x7f7365d288a5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f73673588d0]
./7DaysToDieServer.x86_64(_Z17UpdateNetworkLoopPv+0x4e) [0x1338624]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f73673510a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f73665ec87d]`

full log here: http://pastebin.com/wuvZibSt

<!-- gh-comment-id:223556141 --> @gotah commented on GitHub (Jun 3, 2016): yes, here is the details: http://pastebin.com/Jb23uxEc I tried to run also ./7DaysToDieServer.x86_64 with the same commandline but the result is the same I think is something mono/unity related because of the native stacktrace on top of the output log `Native stacktrace: ``` /home/test/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0x91772) [0x7f7365d85772] /home/test/7DaysToDieServer_Data/Mono/x86_64/libmono.so(+0x348a5) [0x7f7365d288a5] /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f73673588d0] ./7DaysToDieServer.x86_64(_Z17UpdateNetworkLoopPv+0x4e) [0x1338624] /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f73673510a4] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f73665ec87d]` ``` full log here: http://pastebin.com/wuvZibSt
Author
Owner

@cedarlug commented on GitHub (Jun 3, 2016):

I'd solve this issue first:
Mem: total used free
Physical: 15G 15G 170M
Swap: 513M 238M 275M

<!-- gh-comment-id:223557224 --> @cedarlug commented on GitHub (Jun 3, 2016): I'd solve this issue first: `Mem: total used free` `Physical: 15G 15G 170M` `Swap: 513M 238M 275M`
Author
Owner

@gotah commented on GitHub (Jun 3, 2016):

done

free -h
total used free shared buffers cached
Mem: 15G 12G 3.3G 257M 278M 4.7G
-/+ buffers/cache: 7.4G 8.3G
Swap: 513M 178M 335M

same problem it crash at:
2016-06-03T13:54:49 13.092 INF NET: Starting server protocols

<!-- gh-comment-id:223560064 --> @gotah commented on GitHub (Jun 3, 2016): done > free -h > total used free shared buffers cached > Mem: 15G 12G 3.3G 257M 278M 4.7G > -/+ buffers/cache: 7.4G 8.3G > Swap: 513M 178M 335M same problem it crash at: `2016-06-03T13:54:49 13.092 INF NET: Starting server protocols`
Author
Owner

@cedarlug commented on GitHub (Jun 3, 2016):

I'd still lean toward a memory ceiling issue.

The game fires up just fine on a newly-installed test. I just installed the same zero-full sdtdserver on Debian 8 with 8G of ram, and it looks like the engine eats up more than 3G to start up, 1.5G resident.

Are you running in a virtualized environment? What does "ulimit -m" show (run as the user test on your system)?

<!-- gh-comment-id:223571637 --> @cedarlug commented on GitHub (Jun 3, 2016): I'd still lean toward a memory ceiling issue. The game fires up just fine on a newly-installed test. I just installed the same zero-full sdtdserver on Debian 8 with 8G of ram, and it looks like the engine eats up more than 3G to start up, 1.5G resident. Are you running in a virtualized environment? What does "ulimit -m" show (run as the user test on your system)?
Author
Owner

@cedarlug commented on GitHub (Jun 3, 2016):

Another request:

Post the results of:

ldd /home/test/serverfiles/7DaysToDieServer.x86

<!-- gh-comment-id:223573030 --> @cedarlug commented on GitHub (Jun 3, 2016): Another request: Post the results of: `ldd /home/test/serverfiles/7DaysToDieServer.x86`
Author
Owner

@gotah commented on GitHub (Jun 3, 2016):

Hello!
I freed up more mem (8G) but is still not starting, is not a virtual env.

ulimit -m
unlimited

and

ldd 7DaysToDieServer.x86
linux-gate.so.1 (0xffffe000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7729000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf770d000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7703000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7593000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf754d000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7530000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7383000)
/lib/ld-linux.so.2 (0xf7749000)

and

ldd 7DaysToDieServer.x86_64
linux-vdso.so.1 (0x00007fff819d4000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f37eb453000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f37eb236000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f37eb02d000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f37eacb2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f37ea9b1000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f37ea79a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f37ea3ef000)
/lib64/ld-linux-x86-64.so.2 (0x00007f37eb671000)

<!-- gh-comment-id:223585151 --> @gotah commented on GitHub (Jun 3, 2016): Hello! I freed up more mem (8G) but is still not starting, is not a virtual env. > ulimit -m > unlimited and > ldd 7DaysToDieServer.x86 > linux-gate.so.1 (0xffffe000) > libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7729000) > libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf770d000) > librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7703000) > libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7593000) > libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf754d000) > libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7530000) > libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7383000) > /lib/ld-linux.so.2 (0xf7749000) and > ldd 7DaysToDieServer.x86_64 > linux-vdso.so.1 (0x00007fff819d4000) > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f37eb453000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f37eb236000) > librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f37eb02d000) > libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f37eacb2000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f37ea9b1000) > libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f37ea79a000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f37ea3ef000) > /lib64/ld-linux-x86-64.so.2 (0x00007f37eb671000)
Author
Owner

@cedarlug commented on GitHub (Jun 3, 2016):

This is looking like "Not an LGSM" issue at this point.

But what the heck -

Go for the full trace (which will be huge):
(as root)
apt-get install strace
(as user test)
cd ~/serverfiles
strace -f ./7DaysToDieServer.x86 -logfile /home/test/log/server/output_log__2016-06-03__13-18-27.txt -quit -batchmode -nographics -dedicated -configfile=/home/test/serverfiles/sdtd-server.xml 2>&1 | tee /tmp/fulldump.out
The output (in /tmp/fulldump.out) will be large, so perhaps zip it up and post it somewhere.

<!-- gh-comment-id:223596236 --> @cedarlug commented on GitHub (Jun 3, 2016): This is looking like "Not an LGSM" issue at this point. But what the heck - Go for the full trace (which will be huge): (as root) `apt-get install strace` (as user test) `cd ~/serverfiles` `strace -f ./7DaysToDieServer.x86 -logfile /home/test/log/server/output_log__2016-06-03__13-18-27.txt -quit -batchmode -nographics -dedicated -configfile=/home/test/serverfiles/sdtd-server.xml 2>&1 | tee /tmp/fulldump.out` The output (in `/tmp/fulldump.out`) will be large, so perhaps zip it up and post it somewhere.
Author
Owner

@cedarlug commented on GitHub (Jun 5, 2016):

Close?

<!-- gh-comment-id:223842036 --> @cedarlug commented on GitHub (Jun 5, 2016): Close?
Author
Owner

@UltimateByte commented on GitHub (Jun 5, 2016):

@cedarlug You just made me notice that the details command isn't displaying the "-/+ buffers/cache" form free -m, but the raw used RAM, including cached elements. That's something to fix.

<!-- gh-comment-id:223845322 --> @UltimateByte commented on GitHub (Jun 5, 2016): @cedarlug You just made me notice that the details command isn't displaying the "-/+ buffers/cache" form free -m, but the raw used RAM, including cached elements. That's something to fix.
Author
Owner

@gotah commented on GitHub (Jun 6, 2016):

Hello!

sorry for my answer delay, I was traveling.
the full dump is almost done (I will publish it today) I found out something interesting related to some virtual interfaces I have

<!-- gh-comment-id:223919712 --> @gotah commented on GitHub (Jun 6, 2016): Hello! sorry for my answer delay, I was traveling. the full dump is almost done (I will publish it today) I found out something interesting related to some virtual interfaces I have
Author
Owner

@gotah commented on GitHub (Jun 6, 2016):

Okey,
I solved it, as @cedarlug said it was not a LGSM problem.
you can see the last part of the strace here: http://pastebin.com/iCHBKNYY
for some reasons, the server try to bind itself on every interface I had on the server, especially sono old virtual interface of lo

write(1, "IP address: 127.0.0.1\n", 22) = 22
write(1, "IP address: 127.0.0.4\n", 22) = 22
write(1, "IP address: 127.0.0.5\n", 22) = 22
write(1, "IP address: 127.0.0.6\n", 22) = 22
write(1, "IP address: 127.0.0.7\n", 22) = 22
write(1, "IP address: 127.0.0.8\n", 22) = 22
write(1, "IP address: 127.0.0.9\n", 22) = 22

these interface aren't UP but still resident in interfaces file of debian, I had to comment them out and unfortunately reboot the server (networking restart was not enough)

thanks to everyone for the effort!

<!-- gh-comment-id:224004897 --> @gotah commented on GitHub (Jun 6, 2016): Okey, I solved it, as @cedarlug said it was not a LGSM problem. you can see the last part of the strace here: http://pastebin.com/iCHBKNYY for some reasons, the server try to bind itself on every interface I had on the server, especially sono old virtual interface of lo ``` write(1, "IP address: 127.0.0.1\n", 22) = 22 write(1, "IP address: 127.0.0.4\n", 22) = 22 write(1, "IP address: 127.0.0.5\n", 22) = 22 write(1, "IP address: 127.0.0.6\n", 22) = 22 write(1, "IP address: 127.0.0.7\n", 22) = 22 write(1, "IP address: 127.0.0.8\n", 22) = 22 write(1, "IP address: 127.0.0.9\n", 22) = 22 ``` these interface aren't UP but still resident in interfaces file of debian, I had to comment them out and unfortunately reboot the server (networking restart was not enough) thanks to everyone for the effort!
Author
Owner

@UltimateByte commented on GitHub (Jun 6, 2016):

Glad you got it solved !
Have a great time using LGSM :)

<!-- gh-comment-id:224005330 --> @UltimateByte commented on GitHub (Jun 6, 2016): Glad you got it solved ! Have a great time using LGSM :)
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:406237044 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#688
No description provided.