Jump to content

CentOS Dedicated Server Segmentation Fault Issue


Recommended Posts

I'm trying to run a dedicated server, and have been following this guide pretty much exactly (slight variation as I installed steam to another user "steam" instead of to ~/steamcmd, but I've gotten the paths all worked out): 

I'm running CentOS Linux release 7.4.1708 (Core). I hope I've provided enough information. It seems this fellow also has the same issue: 

 

I've gotten everything down, except when trying to start the server, it runs into a segmentation fault. I've tried reinstalling through steamcmd.

Here's my log file:
Master's server_log.txt

Spoiler

[00:00:00]: PersistRootStorage is now /home/steam/.klei//DoNotStarveTogether/MyDediServer/Master/ 
[00:00:00]: Starting Up
[00:00:00]: Version: 247691
[00:00:00]: Current time: Fri Dec 22 02:21:43 2017

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: GooeyGamers.dal65.creeperhost.net
[00:00:00]: Release(Kernel) Version: 2.6.32-042stab112.15
[00:00:00]: Kernel Build Timestamp: #1 SMP Tue Oct 20 17:22:56 MSK 2015
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 247691 LINUX
[00:00:00]: Build Date: 3184
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -console -cluster MyDediServer -shard Master 
[00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead.
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: THREAD - started 'GAClient' (3061074752)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: Mounting file system databundles/shaders.zip successful.
[00:00:00]: Mounting file system databundles/fonts.zip successful.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip successful.
[00:00:00]: Mounting file system databundles/bigportraits.zip successful.
[00:00:00]: Mounting file system databundles/images.zip successful.
[00:00:00]: Mounting file system databundles/scripts.zip successful.
[00:00:00]: ProfileIndex:4.61
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: OnLoadPermissionList: /home/steam/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure)
[00:00:00]: THREAD - started 'StreamInput' (3054500672)
[00:00:00]: OnLoadPermissionList: /home/steam/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: /home/steam/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure)
[00:00:00]: Token retrieved from: /home/steam/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: Token retrieved from: /home/steam/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: Renderer initialize: Okay
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile loading buffer scripts/main.lua
[00:00:00]:   taskgrouplist:    default    Together    
[00:00:00]:   taskgrouplist:    classic    Classic    
[00:00:00]:   taskgrouplist:    cave_default    Underground    
[00:00:00]:   taskgrouplist:    lavaarena_taskset    The Forge    
[00:00:00]: running main.lua
    
[00:00:00]: loaded modindex    
[00:00:00]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:00]: DownloadMods(0)
[00:00:01]: LOADING LUA SUCCESS
[00:00:01]: PlayerDeaths could not load morgue    
[00:00:01]: PlayerHistory could not load player_history    
[00:00:01]: bloom_enabled    false    
[00:00:01]: loaded saveindex    
[00:00:01]: OnFilesLoaded()    
[00:00:01]: OnUpdatePurchaseStateComplete    
[00:00:01]:     Load FE    
[00:00:01]: THREAD - started 'FilesExistAsyncThread' (3005074240)
[00:00:01]:     Load FE: done    
[00:00:01]: FilesExistAsyncThread started (12982 files)...
[00:00:01]: ModIndex: Load sequence finished successfully.    
[00:00:01]: Reset() returning
[00:00:01]: ... FilesExistAsyncThread complete
[00:00:02]: [200] Account Communication Success (6)
[00:00:02]: Received (KU__1LcNVRa) from TokenPurpose
[00:00:02]: Starting Dedicated Server Game    
[00:00:02]: Network tick rate: U=15(2), D=0
[00:00:02]: About to start a server with the following settings:
[00:00:02]:   Dedicated: true
[00:00:02]:   Online: true
[00:00:02]:   Passworded: true
[00:00:02]:   ServerPort: 11000
[00:00:02]:   SteamAuthPort: 8768
[00:00:02]:   SteamMasterServerPort: 27018
[00:00:02]:   ClanID: false
[00:00:02]:   ClanOnly: false
[00:00:02]:   ClanAdmin: false
[00:00:02]:   LanOnly: false
[00:00:02]:   FriendsOnly: false
[00:00:02]:   EnableAutosaver: true
[00:00:02]:   EncodeUserPath: false
[00:00:02]:   PVP: false
[00:00:02]:   MaxPlayers: 10
[00:00:02]:   GameMode: survival
[00:00:02]:   OverridenDNS: 
[00:00:02]:   PauseWhenEmpty: true
[00:00:02]:   IdleTimeout: 1800s
[00:00:02]:   VoteEnabled: true
[00:00:02]:   InternetBroadcasting: true
[00:00:02]:   Intent: cooperative
[00:00:02]: Online Server Started on port: 11000
[00:00:02]: Collecting garbage...
[00:00:02]: lua_gc took 0.02 seconds
[00:00:02]: ~ShardLuaProxy()
[00:00:02]: ~ItemServerLuaProxy()
[00:00:02]: ~InventoryLuaProxy()
[00:00:02]: ~NetworkLuaProxy()
[00:00:02]: ~SimLuaProxy()
[00:00:02]: lua_close took 0.03 seconds
[00:00:02]: ReleaseAll
[00:00:02]: ReleaseAll Finished
[00:00:02]: cGame::StartPlaying
[00:00:02]: LOADING LUA
[00:00:02]: DoLuaFile scripts/main.lua
[00:00:02]: DoLuaFile loading buffer scripts/main.lua
[00:00:02]:   taskgrouplist:    default    Together    
[00:00:02]:   taskgrouplist:    classic    Classic    
[00:00:02]:   taskgrouplist:    cave_default    Underground    
[00:00:02]:   taskgrouplist:    lavaarena_taskset    The Forge    
[00:00:02]: running main.lua
    
[00:00:02]: loaded modindex    
[00:00:02]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:02]: LOADING LUA SUCCESS
[00:00:02]: PlayerDeaths could not load morgue    
[00:00:02]: PlayerHistory could not load player_history    
[00:00:02]: bloom_enabled    false    
[00:00:02]: loaded saveindex    
[00:00:02]: OnFilesLoaded()    
[00:00:02]: OnUpdatePurchaseStateComplete    
[00:00:02]: Loading world: session/C6110C66253404C0/0000000002    
[00:00:02]: Save file is at version 4.77    
[00:00:02]:     Unload FE    
[00:00:02]:     Unload FE done    
[00:00:02]:     LOAD BE    
[00:00:04]:     LOAD BE: done    
[00:00:04]: Begin Session: C6110C66253404C0
[00:00:04]: saving to server_temp/server_save    
[00:00:04]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:04]: Loading Nav Grid    
[00:00:07]: Reconstructing topology    
[00:00:07]:     ...Sorting points    
[00:00:07]:     ...Sorting edges    
[00:00:07]:     ...Connecting nodes    
[00:00:07]:     ...Validating connections    
[00:00:07]:     ...Housekeeping    
[00:00:07]:     ...Done!    
[00:00:07]: 1 uploads added to server. From server_temp
[00:00:07]: About to start a shard with these settings:
[00:00:07]:   ShardName: [SHDMASTER]
[00:00:07]:   ShardID: 1
[00:00:07]:   ShardRole: MASTER
[00:00:07]:   MasterHost: (null)
[00:00:07]:   MasterBind: 127.0.0.1
[00:00:07]:   MasterPort: 10889
[00:00:07]: [Shard] Starting master server
[00:00:07]: [Shard] Shard server started on port: 10889
[00:00:07]: Telling Client our new session identifier: C6110C66253404C0
[00:00:07]: ModIndex: Load sequence finished successfully.    
[00:00:07]: Reset() returning
[00:00:07]: [Steam] SteamGameServer_Init(8768, 11000, 27018)
 

Caves server_log.txt:

Spoiler

[00:00:00]: PersistRootStorage is now /home/steam/.klei//DoNotStarveTogether/MyDediServer/Caves/ 
[00:00:00]: Starting Up
[00:00:00]: Version: 247691
[00:00:00]: Current time: Fri Dec 22 02:20:18 2017

[00:00:00]: System Name: Linux
[00:00:00]: Host Name: GooeyGamers.dal65.creeperhost.net
[00:00:00]: Release(Kernel) Version: 2.6.32-042stab112.15
[00:00:00]: Kernel Build Timestamp: #1 SMP Tue Oct 20 17:22:56 MSK 2015
[00:00:00]: Machine Arch: x86_64
[00:00:00]: Don't Starve Together: 247691 LINUX
[00:00:00]: Build Date: 3184
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: -cluster MyDediServer -monitor_parent_process 1778 -shard Caves 
[00:00:00]: Initializing distribution platform
[00:00:00]: ....Done
[00:00:00]: THREAD - started 'GAClient' (3060943680)
[00:00:00]: CurlRequestManager::ClientThread::Main()
[00:00:00]: Mounting file system databundles/shaders.zip successful.
[00:00:00]: Mounting file system databundles/fonts.zip successful.
[00:00:00]: Mounting file system databundles/anim_dynamic.zip successful.
[00:00:00]: Mounting file system databundles/bigportraits.zip successful.
[00:00:00]: Mounting file system databundles/images.zip successful.
[00:00:00]: Mounting file system databundles/scripts.zip successful.
[00:00:00]: ProfileIndex:4.52
[00:00:00]: [Connect] PendingConnection::Reset(true)
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: OnLoadPermissionList: /home/steam/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: /home/steam/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: /home/steam/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure)
[00:00:00]: Token retrieved from: /home/steam/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: Token retrieved from: /home/steam/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: Renderer initialize: Okay
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: THREAD - started 'StreamInput' (3053452096)
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile loading buffer scripts/main.lua
[00:00:00]:   taskgrouplist:    default    Together    
[00:00:00]:   taskgrouplist:    classic    Classic    
[00:00:00]:   taskgrouplist:    cave_default    Underground    
[00:00:00]:   taskgrouplist:    lavaarena_taskset    The Forge    
[00:00:00]: running main.lua
    
[00:00:00]: loaded modindex    
[00:00:00]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:00]: DownloadMods(0)
[00:00:01]: LOADING LUA SUCCESS
[00:00:01]: PlayerDeaths could not load morgue    
[00:00:01]: PlayerHistory could not load player_history    
[00:00:01]: bloom_enabled    false    
[00:00:01]: loaded saveindex    
[00:00:01]: OnFilesLoaded()    
[00:00:01]: OnUpdatePurchaseStateComplete    
[00:00:01]:     Load FE    
[00:00:01]:     Load FE: done    
[00:00:01]: THREAD - started 'FilesExistAsyncThread' (3006769984)
[00:00:01]: FilesExistAsyncThread started (12982 files)...
[00:00:01]: ModIndex: Load sequence finished successfully.    
[00:00:01]: Reset() returning
[00:00:02]: ... FilesExistAsyncThread complete
[00:00:03]: [200] Account Communication Success (6)
[00:00:03]: Received (KU__1LcNVRa) from TokenPurpose
[00:00:03]: Starting Dedicated Server Game    
[00:00:03]: Network tick rate: U=15(2), D=0
[00:00:03]: About to start a server with the following settings:
[00:00:03]:   Dedicated: true
[00:00:03]:   Online: true
[00:00:03]:   Passworded: true
[00:00:03]:   ServerPort: 11001
[00:00:03]:   SteamAuthPort: 8769
[00:00:03]:   SteamMasterServerPort: 27019
[00:00:03]:   ClanID: false
[00:00:03]:   ClanOnly: false
[00:00:03]:   ClanAdmin: false
[00:00:03]:   LanOnly: false
[00:00:03]:   FriendsOnly: false
[00:00:03]:   EnableAutosaver: true
[00:00:03]:   EncodeUserPath: false
[00:00:03]:   PVP: false
[00:00:03]:   MaxPlayers: 10
[00:00:03]:   GameMode: survival
[00:00:03]:   OverridenDNS: 
[00:00:03]:   PauseWhenEmpty: true
[00:00:03]:   IdleTimeout: 1800s
[00:00:03]:   VoteEnabled: true
[00:00:03]:   InternetBroadcasting: true
[00:00:03]:   Intent: cooperative
[00:00:03]: [Shard] No shard id specified, generating a random one...
[00:00:03]: Online Server Started on port: 11001
[00:00:03]: Collecting garbage...
[00:00:03]: lua_gc took 0.02 seconds
[00:00:03]: ~ShardLuaProxy()
[00:00:03]: ~ItemServerLuaProxy()
[00:00:03]: ~InventoryLuaProxy()
[00:00:03]: ~NetworkLuaProxy()
[00:00:03]: ~SimLuaProxy()
[00:00:03]: lua_close took 0.03 seconds
[00:00:03]: ReleaseAll
[00:00:03]: ReleaseAll Finished
[00:00:03]: cGame::StartPlaying
[00:00:03]: LOADING LUA
[00:00:03]: DoLuaFile scripts/main.lua
[00:00:03]: DoLuaFile loading buffer scripts/main.lua
[00:00:03]:   taskgrouplist:    default    Together    
[00:00:03]:   taskgrouplist:    classic    Classic    
[00:00:03]:   taskgrouplist:    cave_default    Underground    
[00:00:03]:   taskgrouplist:    lavaarena_taskset    The Forge    
[00:00:03]: running main.lua
    
[00:00:03]: loaded modindex    
[00:00:03]: ModIndex: Beginning normal load sequence for dedicated server.
    
[00:00:03]: LOADING LUA SUCCESS
[00:00:03]: PlayerDeaths could not load morgue    
[00:00:03]: PlayerHistory could not load player_history    
[00:00:03]: bloom_enabled    false    
[00:00:03]: loaded saveindex    
[00:00:03]: OnFilesLoaded()    
[00:00:03]: OnUpdatePurchaseStateComplete    
[00:00:03]: Loading world: session/1ED5527D256D9C58/0000000003    
[00:00:03]: Save file is at version 4.77    
[00:00:03]:     Unload FE    
[00:00:03]:     Unload FE done    
[00:00:03]:     LOAD BE    
[00:00:05]:     LOAD BE: done    
[00:00:05]: Begin Session: 1ED5527D256D9C58
[00:00:05]: saving to server_temp/server_save    
[00:00:05]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:06]: Loading Nav Grid    
[00:00:06]: setting     summerlength    15    
[00:00:06]: setting     isnightmaredawn    false    
[00:00:06]: setting     elapseddaysinseason    0    
[00:00:06]: setting     isfullmoon    false    
[00:00:06]: setting     moisture    0    
[00:00:06]: setting     springlength    20    
[00:00:06]: setting     isnightmarewild    false    
[00:00:06]: setting     moonphase    new    
[00:00:06]: setting     precipitationrate    0    
[00:00:06]: setting     iswet    false    
[00:00:06]: setting     isnewmoon    false    
[00:00:06]: setting     iswinter    false    
[00:00:06]: setting     israining    false    
[00:00:06]: setting     isnightmarewarn    false    
[00:00:06]: setting     precipitation    none    
[00:00:06]: setting     cavephase    day    
[00:00:06]: setting     moistureceil    910.70263671875    
[00:00:06]: setting     isday    false    
[00:00:06]: setting     iscaveday    true    
[00:00:06]: setting     season    autumn    
[00:00:06]: setting     timeinphase    0    
[00:00:06]: setting     temperature    18    
[00:00:06]: setting     isnightmarecalm    true    
[00:00:06]: setting     isnight    true    
[00:00:06]: setting     isdusk    false    
[00:00:06]: setting     iscavedusk    false    
[00:00:06]: setting     isautumn    true    
[00:00:06]: setting     issnowing    false    
[00:00:06]: setting     iswaxingmoon    true    
[00:00:06]: setting     pop    0    
[00:00:06]: setting     snowlevel    0    
[00:00:06]: setting     issnowcovered    false    
[00:00:06]: setting     autumnlength    20    
[00:00:06]: setting     phase    night    
[00:00:06]: setting     nightmaretime    0    
[00:00:06]: setting     winterlength    15    
[00:00:06]: setting     isspring    false    
[00:00:06]: setting     nightmarephase    calm    
[00:00:06]: setting     remainingdaysinseason    20    
[00:00:06]: setting     cycles    0    
[00:00:06]: setting     iscavenight    false    
[00:00:06]: setting     nightmaretimeinphase    0    
[00:00:06]: setting     wetness    0    
[00:00:06]: setting     time    0    
[00:00:06]: setting     issummer    false    
[00:00:06]: [Shard] Slave is waiting for LUA...
[00:00:08]: Reconstructing topology    
[00:00:08]:     ...Sorting points    
[00:00:08]:     ...Sorting edges    
[00:00:08]:     ...Connecting nodes    
[00:00:08]:     ...Validating connections    
[00:00:08]:     ...Housekeeping    
[00:00:08]:     ...Done!    
[00:00:08]: 1 uploads added to server. From server_temp
[00:00:08]: About to start a shard with these settings:
[00:00:08]:   ShardName: Caves
[00:00:08]:   ShardID: 1968715794
[00:00:08]:   ShardRole: SLAVE
[00:00:08]:   MasterHost: 127.0.0.1
[00:00:08]:   MasterBind: (null)
[00:00:08]:   MasterPort: 10889
[00:00:08]: [Shard] Connecting to master...
[00:00:08]: Telling Client our new session identifier: 1ED5527D256D9C58
[00:00:08]: ModIndex: Load sequence finished successfully.    
[00:00:08]: Reset() returning
[00:00:08]: [Steam] SteamGameServer_Init(8769, 11001, 27019)
 

The server crashes after running my version of run_dedicated_server.sh from the guide.

If, instead, I try to run a command manually like navigating to /bin/ in the DST folder, and run ./dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Master

The process ends with:

Spoiler

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Segmentation fault (core dumped)

Everything else seems to match up with the serverlog files I posted further up.

 

Link to comment
Share on other sites

I do have SteamCMD and have gotten through most of setup just fine. I've also tried reinstalling and working with my server host's support to check on everything. It seems that DST's server files do not work correctly on CentOS currently.

Link to comment
Share on other sites

I have correctly installed SteamCMD, I have gotten the server files correctly, and I have set up the server meticulously. I've also communicated with my server hosts to make sure to get a second opinion on their end. I have spent time reinstalling SteamCMD and the issue does not lie with that. The logical conclusion, based off of what I have shown, is that there is some developer sided issue on specifically CentOS.

Also, I have been directly searching answers out myself. This post comes from not finding a solution, and therefore looking for support on a problem not addressed yet on this forum.

Link to comment
Share on other sites

SteamCMD

SteamCMD startup errors

Unable to locate a running instance of Steam

You may get the following error when starting a server with Linux:

[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

Resolve the issue by linking steamclient.so to the ~/.steam/sdk32/steamclient.so directory:

ln -s steamcmd/linux32/steamclient.so ~/.steam/sdk32/steamclient.so

Have you seen this ?

startup errors

 

Unable to locate a running 

Link to comment
Share on other sites

On 1/17/2018 at 3:48 AM, linweiqing said:

SteamCMD

SteamCMD startup errors

Unable to locate a running instance of Steam

You may get the following error when starting a server with Linux:


[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

Resolve the issue by linking steamclient.so to the ~/.steam/sdk32/steamclient.so directory:


ln -s steamcmd/linux32/steamclient.so ~/.steam/sdk32/steamclient.so

Have you seen this ?

startup errors

 

Unable to locate a running 

Thank you for posting this, but it unfortunately did not solve my issue. I am still getting the same issue I was previously, in the same way, after making that link

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...