Jump to content

Dedicated server installation - Error loading main.lua


Recommended Posts

Hello !

 

I have just installed a dedicated server on an Amazon Linux server (CentOS like). The installation was quite easy with some 32-bit packages to install but, when I can't launch the server due to some errors.

 

I get

--- ERROR LOADING sound/dontstarve.fev 

and 

DoLuaFile Could not load lua file scripts/main.luaError loading main.luaFailed mSimulation->Reset()Error during game initialization! 

I can't find any clue on the web or in this forum. Anybody has an idea about that ?

 

Thanks a lot in advance !

 

 

 

The full stack trace is here :

$ sudo ./dst/bin/dontstarve_dedicated_server_nullrenderer ./dst/bin/dontstarve_dedicated_server_nullrenderer: /usr/lib/libcurl-gnutls.so.4: no version information available (required by ./dst/bin/dontstarve_dedicated_server_nullrenderer)Starting UpVersion: 131517Don't Starve Together: 131517 LINUXBuild Date: 2015-03-25_11-20-43Parsing commandlineCommand Line Arguments: THREAD - started 'GAClient' (4135766848)HttpClient::ClientThread::Main()ProfileIndex:6.07Network tick rate: U=15(2), D=0Network tick rate: U=15(2), D=0OnLoadPermissionList: /root/.klei/DoNotStarveTogether/save/blocklist.txt (Failure)OnLoadPermissionList: /root/.klei/DoNotStarveTogether/save/adminlist.txt (Failure)cGame::InitializeOnMainThreadRenderer initialize: OkayAnimManager initialize: OkayBuffers initialize: OkaycDontStarveGame::DoGameSpecificInitialize()--- ERROR LOADING sound/dontstarve.fevGameSpecific initialize: OkaycGame::StartPlayingTHREAD - started 'GAClient' (4116691776)HttpClient::ClientThread::Main()THREAD - started 'GAClient' (4124040000)HttpClient::ClientThread::Main()THREAD - started 'GAClient' (4126141248)HttpClient::ClientThread::Main()THREAD - started 'GAClient' (4128242496)HttpClient::ClientThread::Main()LOADING LUADoLuaFile scripts/main.luaDoLuaFile Could not load lua file scripts/main.luaError loading main.luaFailed mSimulation->Reset()Error during game initialization!Updates 0Seconds elapsed: 0.0191518 fps:0HttpClient::ClientThread::Main() completeCollecting garbage...lua_gc took 0.00 seconds~NetworkLuaProxy()~SimLuaProxy()lua_close took 0.00 secondsHttpClient::ClientThread::Main() completeHttpClient::ClientThread::Main() completeHttpClient::ClientThread::Main() completeHttpClient::ClientThread::Main() completeShutting down
Link to comment
Share on other sites

./dst/bin/dontstarve_dedicated_server_nullrenderer: /usr/lib/libcurl-gnutls.so.4: no version information available (required by ./dst/bin/dontstarve_dedicated_server_nullrenderer)
 Based on that, sounds like something is going wrong with your libcurl installation. But I have only observed these issues from afar, so I'll just hope that gives you or someone else a clue on what to try!
Link to comment
Share on other sites

Hi @butosh,

 

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

 

for this problem try this:

 

cd /usr/lib
ln -s libcurl.so.4 libcurl-gnutls.so.4

 

 

Link to comment
Share on other sites

I believe the no-version-information is actually a warning. This seems to me like the issue:

 

DoLuaFile Could not load lua file scripts/main.lua
Error loading main.lua
Failed mSimulation->Reset()

 

 

I have not seen a solution anywhere yet though.

Link to comment
Share on other sites

I have now completely reinstalled the dedicated server on a Debian machine, exact same issue!

 

 

$ bash -c 'LD_LIBRARY_PATH=~/dst_lib /home/redbull/DST/bin/dontstarve_dedicated_server_nullrenderer'

Starting Up
Version: 140191
Current time: Wed Jun 24 22:32:50 2015
 
System Name: Linux
Host Name: nanna
Release(Kernel) Version: 2.6.32-042stab104.1
Kernel Build Timestamp: #1 SMP Thu Jan 29 12:58:41 MSK 2015
Machine Arch: i686
Don't Starve Together: 140191 LINUX
NNN Build Date: 2015-06-17_17-29-41
Parsing command line
Command Line Arguments:
Error, failed to change working directory to ../data
THREAD - started 'GAClient' (3065293632)
HttpClient::ClientThread::Main()
ProfileIndex:6.83
create "/home/redbull/.klei/"
create "/home/redbull/.klei/DoNotStarveTogether"
create "/home/redbull/.klei/DoNotStarveTogether/save"
create "/home/redbull/.klei/DoNotStarveTogether/save/mod_config_data"
create "/home/redbull/.klei/DoNotStarveTogether/save/server"
create "/home/redbull/.klei/DoNotStarveTogether/save/client"
create "/home/redbull/.klei/DoNotStarveTogether/save/session"
Network tick rate: U=15(2), D=0
Network tick rate: U=15(2), D=0
OnLoadPermissionList: /home/redbull/.klei/DoNotStarveTogether/save/blocklist.txt (Failure)
OnLoadPermissionList: /home/redbull/.klei/DoNotStarveTogether/save/adminlist.txt (Failure)
OnLoadUserIdList: /home/redbull/.klei/DoNotStarveTogether/save/whitelist.txt (Failure)
cGame::InitializeOnMainThread
Renderer initialize: Okay
AnimManager initialize: Okay
Buffers initialize: Okay
cDontStarveGame::DoGameSpecificInitialize()
--- ERROR LOADING sound/dontstarve.fev
GameSpecific initialize: Okay
cGame::StartPlaying
THREAD - started 'GAClient' (3052391232)
HttpClient::ClientThread::Main()
THREAD - started 'GAClient' (3045043008)
HttpClient::ClientThread::Main()
THREAD - started 'GAClient' (3054492480)
HttpClient::ClientThread::Main()
THREAD - started 'GAClient' (3056593728)
HttpClient::ClientThread::Main()
THREAD - started 'GAClient' (3058694976)
HttpClient::ClientThread::Main()
LOADING LUA
DoLuaFile scripts/main.lua
DoLuaFile Could not load lua file scripts/main.lua
Error loading main.lua
Failed mSimulation->Reset()
Error during game initialization!
Updates 0Seconds elapsed: 0.0220454 fps:0
HttpClient::ClientThread::Main() complete
Collecting garbage...
lua_gc took 0.00 seconds
~NetworkLuaProxy()
~SimLuaProxy()
lua_close took 0.00 seconds
HttpClient::ClientThread::Main() complete
HttpClient::ClientThread::Main() complete
HttpClient::ClientThread::Main() complete
HttpClient::ClientThread::Main() complete
HttpClient::ClientThread::Main() complete
Shutting down
 

 

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