Hello all
I have an VPS with CentOS6.6. I get this and cant find an solution. Found this Glibc fix, but its not an solution for me. Is thr only way to upgrade to CentOS 7 ?
Code:[ WARN ] Starting rust7worlds: Glibc fix: No Glibc fix available! * glibc required: 2.15 * glibc installed: 2.12[ WARN ] Starting rust7worlds: SteamCMD is missing extracting steamcmd_linux.tar.gz.../home/rustserver/lgsm/functions/core_dl.sh: line 55: file: command not found OK chmod: cannot access `/home/rustserver/steamcmd/steamcmd.sh': No such file or directory [ INFO ] Starting rust7worlds: Applying steamclient.so general fix: Rustcp: cannot stat `/home/rustserver/steamcmd/linux32/steamclient.so': No such file or directory [ FAIL ] Starting rust7worlds: Applying steamclient.so general fix: Rust [ .... ] Starting rust7worlds: Rustfailed to connect to server: Connection refused [ FAIL ] Starting rust7worlds: Unable to start Rust
Setting up a Linux server with LGSM
Discussion in 'Rust Discussion' started by UltimateByte, Mar 10, 2016.
-
Can anyone tell me what the advantage of having a Linux server? Windows is easier to set up. I have both running at the time and installed in linux to see if I could run time commands in time on the Linux console and do not know how this works. And now? I continue with linux or windows?
-
VDS with Windows OS is much more expensive to rent.
-
I wish someone tell me concrete reasons to use Linux. Because I can buy dedicated server with windows easily. At the moment I realized the advantage in linux is to use iptables, contrab to restart the server (not figured out how to run the rust server console commands in linux) and a custom version of xampp I have. In windows I see that easier to administer and use rustadmin for automatic events. Can anyone say more about it?
-
Wulf Community Admin
-
with the new XP system, LGSM will be upgraded? Or do not need?
-
Wulf Community Admin
-
I do not know, maybe change something to start the server
-
Wulf Community Admin
-
hello, how i can change server.level in rust script
-
yes. in the running script (bat or sh) +server.level "Procedural Map" or other map
Code:#./RustDedicated -batchmode -load +server.hostname "Linux server " +server.maxplayers 100 +server.ip 77.77.77.77 +server.port 28040 +rcon.ip 77.77.77.77 +rcon.port 28041 +rcon.password "25172517" +server.secure false +server.identity "LALALA.ru" +server.seed 333333333 +server.worldsize 4000 -logFile "log.txt" +server.saveinterval 300 +server.globalchat true +server.description "LFLFLF.ru rpg server" +server.url "http://LALALA.ru/" +server.level "Procedural Map"
-
thank you i have already done it in windows it was simple , but the LGSM script for rust aren't like that and that my issue
example
Code:# Server settings # More settings available after install in serverfiles/server/rust-server/server.cfg servername="Rust LGSM Server" ip="0.0.0.0" port="28015" rconport="28016" rconpassword="CHANGE_ME" # Don't let it blank but change it maxplayers="50"# Advanced worldsize="4000" # default 4000; min : 2000 max : 8000 saveinterval="300" # Auto-save in seconds tickrate="30" # default 30; min acceptable 15 , max 100 or 128# https://developer.valvesoftware.com/wiki/Rust_Dedicated_Server fn_parms(){ parms="-batchmode +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${servicename}\" +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile ${gamelogfile}" }# Folders and logfile name to get 1 logfile per reboot # Logging logdays="7" gamelogdir="${rootdir}/log/server" scriptlogdir="${rootdir}/log/script" consolelogdir="${rootdir}/log/console"gamelog="${gamelogdir}/${servicename}-game.log" scriptlog="${scriptlogdir}/${servicename}-script.log" consolelog="${consolelogdir}/${servicename}-console.log" emaillog="${scriptlogdir}/${servicename}-email.log" gamelogfile="\"gamelog-$(date '+%Y-%m-%d-%H-%M-%S').log\"" # There is also a function to move gamelog files to a proper log folder on every restart ;)
-
look for "shit" in the code. you just need to declare an variable and then use in the fn_parms
# Advanced
worldsize="4000" # default 4000; min : 2000 max : 8000
saveinterval="300" # Auto-save in seconds
tickrate="30" # default 30; min acceptable 15 , max 100 or 128
shit="Procedural Map"
# Rust Dedicated Server - Valve Developer Community
fn_parms(){
parms="-batchmode +server.level ${shit} +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${servicename}\" +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile ${gamelogfile}"
}
i run it on the way like u on my server. but lgsm and linux cant be steam Emulated , if you know what i mean, or its possible with wine. -
*thank you for ur quick answer , god bless you.
-
you 2 heureh
-
0 5 * * * su - rust -c '/home/rust/rustserver restart' > /dev/null 2>&1
This command opens the countdown or kill the process and restart without countdown? -
-
Hi peoples, do you know why my server is crashing after few hours?
I recently passed my server on ubuntu, its working greater than windows but after few hours, my server crash randomly, nothing strange in my gamelogs, i upgraded my user with ulimit like that : (rip is my user)
Code:#* soft core 0 #root hard core 100000 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #ftp - chroot /ftp #@student - maxlogins 4 rip soft nofile 10000 rip hard nofile 50000 # End of file
I use a restarter like this :
Code:#!/bin/bashecho "#=============================#" echo "# Chargement du restarter #" echo "#=============================#"echo sleep 1while [ 1 == 1 ] do echo "Demarrage du Serveur" pkill RIP2.sh pkill UPDATE.sh cd /home/rip ./START.sh echo echo "Crash du serveur!" sleep 2 date=$(date "+%Y-%m-%d %H:%M:%S") echo Crash d RIP le $date >> restarter.log echo "Redemarage du Serveur" echo sleep 3 done
Code:Crash d RIP le 2016-07-24 00:32:50 Crash d RIP le 2016-07-24 00:34:57 Crash d RIP le 2016-07-24 00:36:38 Crash d RIP le 2016-07-24 00:38:49 Crash d RIP le 2016-07-24 00:40:28 Crash d RIP le 2016-07-24 07:00:06 Crash d RIP le 2016-07-24 07:01:44
If you have any idea... -
Yes my server also crashes often, the cause is not clear
thanks for the scriptLast edited by a moderator: Jul 26, 2016 -
Code:
[ FAIL ] Validate rust-server: Permissions issues found Infomation! The current user (rust) does not have ownership of the following files: User Group File root root /home/rust/serverfiles/CSharpCompiler.x86 root root /home/rust/serverfiles/oxide.config.json root root /home/rust/serverfiles/RustDedicated_Data/Managed/IronPython.Modules.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/KeraLua.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.SQLite.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.Unity.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.MySql.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.MySql.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/protobuf-net.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Mono.Cecil.Rocks.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Game.Rust.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.JavaScript.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Microsoft.Scripting.Core.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/System.Xml.Linq.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/System.Data.SQLite.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.SQLite.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/System.Xml.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.Python.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.JavaScript.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.Unity.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/System.Configuration.Install.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.CSharp.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.Lua.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.CSharp.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/x86 root root /home/rust/serverfiles/RustDedicated_Data/Managed/x86/liblua52.so root root /home/rust/serverfiles/RustDedicated_Data/Managed/x86/libsqlite3.so root root /home/rust/serverfiles/RustDedicated_Data/Managed/x86/libmonoboehm-2.0.so.1 root root /home/rust/serverfiles/RustDedicated_Data/Managed/Microsoft.Scripting.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Microsoft.Dynamic.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Newtonsoft.Json.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.Lua.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/Jint.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/System.Runtime.Serialization.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/IronPython.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/NLua.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Ext.Python.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/System.Data.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Core.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Mono.Cecil.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/x64 root root /home/rust/serverfiles/RustDedicated_Data/Managed/x64/liblua52.so root root /home/rust/serverfiles/RustDedicated_Data/Managed/x64/libsqlite3.so root root /home/rust/serverfiles/RustDedicated_Data/Managed/x64/libmonoboehm-2.0.so.1 root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Game.Rust.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Oxide.Core.dll.mdb root root /home/rust/serverfiles/RustDedicated_Data/Managed/Assembly-CSharp.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/MySql.Data.dll root root /home/rust/serverfiles/RustDedicated_Data/Managed/Mono.Security.dll root root /home/rust/serverfiles/_start-example.sh root root /home/rust/serverfiles/CSharpCompiler
Last edited by a moderator: Jul 29, 2016