Wu_Jie Posted September 11, 2016 Share Posted September 11, 2016 Today I learn how to start a new server on Ubuntu,but I have some trouble when starting my server. When starting the server,It get stuck at: Caves: [00:00:25]: [Shard] Slave is waiting for LUA... And never moved on.....Can somebody help me? The Ubuntu version is Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-86-generic x86_64). The hardware on my server is : CPU:Intel Xeon E5-5506 *1 RAM:1GB Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 11, 2016 Share Posted September 11, 2016 Hi @Wu_Jie can you share your server_log.txt please? Link to comment Share on other sites More sharing options...
Wu_Jie Posted September 12, 2016 Author Share Posted September 12, 2016 8 hours ago, ToNiO55 said: Hi @Wu_Jie can you share your server_log.txt please? Sorry for replying you so late.Here is my server_log.txt: [00:00:00]: PersistRootStorage is now /root/.klei//DoNotStarveTogether/MyDediServer/Master/ [00:00:00]: Starting Up [00:00:00]: Version: 188821 [00:00:00]: Current time: Mon Sep 12 09:27:15 2016 [00:00:00]: System Name: Linux [00:00:00]: Host Name: iZ28rgws2srZ [00:00:00]: Release(Kernel) Version: 3.13.0-86-generic [00:00:00]: Kernel Build Timestamp: #130-Ubuntu SMP Mon Apr 18 18:27:15 UTC 2016 [00:00:00]: Machine Arch: x86_64 [00:00:00]: Don't Starve Together: 188821 LINUX [00:00:00]: Build Date: 1098 [00:00:00]: Parsing command line [00:00:00]: Command Line Arguments: -console -cluster MyDediServer -monitor_parent_process 19023 -shard Master [00:00:00]: [WARNING] -console has been deprecated: Use the [MISC] / console_enabled setting instead. [00:00:00]: THREAD - started 'GAClient' (4135820096) [00:00:00]: CurlRequestManager::ClientThread::Main() [00:00:00]: ProfileIndex:9.32 [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: /root/.klei//DoNotStarveTogether/MyDediServer/blocklist.txt (Failure) [00:00:00]: OnLoadPermissionList: /root/.klei//DoNotStarveTogether/MyDediServer/adminlist.txt (Failure) [00:00:00]: OnLoadUserIdList: /root/.klei//DoNotStarveTogether/MyDediServer/whitelist.txt (Failure) [00:00:00]: THREAD - started 'ConsoleInput' (4128242496) [00:00:00]: Token retrieved from: /root/.klei//DoNotStarveTogether/MyDediServer/cluster_token.txt [00:00:00]: Token retrieved from: /root/.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]: FMOD Error: An invalid object handle was used. [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:01]: running main.lua [00:00:01]: loaded modindex [00:00:01]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:01]: DownloadMods(0) [00:00:02]: FMOD Error: An invalid object handle was used. [00:00:04]: LOADING LUA SUCCESS [00:00:04]: PlayerDeaths could not load morgue [00:00:04]: PlayerHistory could not load player_history [00:00:04]: bloom_enabled false [00:00:04]: loaded saveindex [00:00:04]: OnFilesLoaded() [00:00:04]: OnUpdatePurchaseStateComplete [00:00:13]: Load FE [00:00:14]: Load FE: done [00:00:14]: ModIndex: Load sequence finished successfully. [00:00:14]: Reset() returning [00:00:16]: [200] Account Communication Success (6) [00:00:16]: Received (KU_XXXXXXX) from TokenPurpose [00:00:16]: Starting Dedicated Server Game [00:00:16]: Network tick rate: U=15(2), D=0 [00:00:16]: About to start a server with the following settings: [00:00:16]: Dedicated: true [00:00:16]: Online: true [00:00:16]: Passworded: true [00:00:16]: ServerPort: 11000 [00:00:16]: SteamAuthPort: 8768 [00:00:16]: SteamMasterServerPort: 27018 [00:00:16]: ClanID: false [00:00:16]: ClanOnly: false [00:00:16]: ClanAdmin: false [00:00:16]: LanOnly: false [00:00:16]: FriendsOnly: false [00:00:16]: EnableAutosaver: true [00:00:16]: PVP: false [00:00:16]: MaxPlayers: 6 [00:00:16]: GameMode: survival [00:00:16]: OverridenDNS: [00:00:16]: PauseWhenEmpty: true [00:00:16]: VoteEnabled: true [00:00:16]: InternetBroadcasting: true [00:00:16]: Intent: cooperative [00:00:16]: Online Server Started on port: 11000 [00:00:16]: Collecting garbage... [00:00:16]: lua_gc took 0.01 seconds [00:00:16]: ~ShardLuaProxy() [00:00:16]: ~ItemServerLuaProxy() [00:00:16]: ~InventoryLuaProxy() [00:00:16]: ~NetworkLuaProxy() [00:00:16]: ~SimLuaProxy() [00:00:17]: lua_close took 0.02 seconds [00:00:17]: ReleaseAll [00:00:17]: ReleaseAll Finished [00:00:17]: cGame::StartPlaying [00:00:17]: LOADING LUA [00:00:17]: DoLuaFile scripts/main.lua [00:00:17]: DoLuaFile loading buffer scripts/main.lua [00:00:17]: running main.lua [00:00:17]: loaded modindex [00:00:17]: ModIndex: Beginning normal load sequence for dedicated server. [00:00:17]: LOADING LUA SUCCESS [00:00:17]: PlayerDeaths could not load morgue [00:00:17]: PlayerHistory could not load player_history [00:00:17]: bloom_enabled false [00:00:17]: loaded saveindex [00:00:17]: OnFilesLoaded() [00:00:17]: OnUpdatePurchaseStateComplete [00:00:17]: Unload FE [00:00:17]: Unload FE done [00:00:17]: LOAD BE [00:00:22]: LOAD BE: done [00:00:23]: Loading world: session/275F40062A129F4B/0000000002 [00:00:23]: Save file is at version 3 [00:00:23]: Begin Session: 275F40062A129F4B [00:00:23]: saving to server_temp/server_save [00:00:23]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml ) [00:00:25]: Loading Nav Grid Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 13, 2016 Share Posted September 13, 2016 @Wu_Jie can you share your cluster.ini and both server.ini and also your both server_log.txt of server Overworld and Caves please if possible use this website for share each logs: http://pastebin.com/ Link to comment Share on other sites More sharing options...
Wu_Jie Posted September 13, 2016 Author Share Posted September 13, 2016 2 hours ago, ToNiO55 said: @Wu_Jie can you share your cluster.ini and both server.ini and also your both server_log.txt of server Overworld and Caves please if possible use this website for share each logs: http://pastebin.com/ Sorry,I don't know how to use http://pastebin.com/,and I upload the logs. Thanks for helping. Cave_server_log.txt Cave_server.ini cluster.ini Overworld_server_log.txt Overworld_server.ini Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 13, 2016 Share Posted September 13, 2016 @Wu_Jie your Cave_server.ini is wrong try with that: [NETWORK] server_port = 11001 [SHARD] is_master = false name = Caves [STEAM] master_server_port = 27019 authentication_port = 8769 do you have also worldgenoverride.lua in your server? Link to comment Share on other sites More sharing options...
Wu_Jie Posted September 14, 2016 Author Share Posted September 14, 2016 8 hours ago, ToNiO55 said: @Wu_Jie your Cave_server.ini is wrong try with that: [NETWORK] server_port = 11001 [SHARD] is_master = false name = Caves [STEAM] master_server_port = 27019 authentication_port = 8769 do you have also worldgenoverride.lua in your server? yes,I do have a worldgenoverride.lua in my Cave. return { override_enabled = true, preset = "DST_CAVE", } Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 14, 2016 Share Posted September 14, 2016 @Wu_Jie put this in your worldgenoverride.lua for your Caves: http://pastebin.com/raw/2ZdRhrQL and don't forget also to try server.ini i give you start your server and tell me if that's work or not Link to comment Share on other sites More sharing options...
Wu_Jie Posted September 14, 2016 Author Share Posted September 14, 2016 1 hour ago, ToNiO55 said: @Wu_Jie put this in your worldgenoverride.lua for your Caves: http://pastebin.com/raw/2ZdRhrQL and don't forget also to try server.ini i give you start your server and tell me if that's work or not I edited my server.ini and worldgenoverride.lua . it worked,but after I shut it down and restart.It's still not working and still have id=XXXX after name=Caves.The server still get stuck at Caves: [00:00:25]: [Shard] Slave is waiting for LUA... Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 14, 2016 Share Posted September 14, 2016 @Wu_Jie how you start your server? Link to comment Share on other sites More sharing options...
Wu_Jie Posted September 15, 2016 Author Share Posted September 15, 2016 Thanks for your help.I did the wrong setup and I can start the server now. Thank you so much. Link to comment Share on other sites More sharing options...
TheGreatMav Posted September 16, 2016 Share Posted September 16, 2016 Hey there. I was running into the same problem. Did all the steps suggested, line by line, and it kept stopping at "Waiting for LUA". Turns out Amazon's AWS Micro Server doesn't have enough memory for both processes (Master + Caves). Upgrading to Small Server seemed to solve this problem, but we had spikes of lag during memory/processor intense moments (e.g.: hound attacks). We're currently using the Medium Server. @ToNiO55 @255 do you have info on recommended memory/processor for dedicated servers? We seem to have spikes of lag on critical moments, and the memory demand seems to always rise. Does a client or server reconnect lower this demand? Is there a spec (bandwith, processor, memory, HDD space) that is known to handle a 4-player campaign long-term? (We're currently on AWS, but we'll probably move to Digital Ocean to lower costs a bit. We also create a snapshot of the server and terminate it after each session, so we don't pay for a 24/7 server at the end of the month. If anyone is interested, I can make a more detailed post explaining how to do the setup on Amazon or Digital Ocean). Thanks, Link to comment Share on other sites More sharing options...
ToNiO55 Posted September 17, 2016 Share Posted September 17, 2016 Hi @TheGreatMav i recommand 3GB for memory and if possible good CPU as I7 or Xeon or CPU with 2.5 or 3Ghz because dedicated server on don't starve together don't support multithreading, and you need good CPU for that check also opinion of my friend Gingerbread: if you search guide for make your dedicated server, check my guide: http://steamcommunity.com/id/ToNiO44/myworkshopfiles/?appid=322330§ion=guides Link to comment Share on other sites More sharing options...
Recommended Posts
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.