mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #1675] [Rust] Server starting with only first word of "server.hostname" parameter #1303
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#1303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MrGraversen on GitHub (Oct 28, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1675
I've configured a server to launch as
My Rust Server, but it is simply found in-game asMy.Here's the Hastebin: https://hastebin.com/cagufureli
From the Hastebin:
It seems like a weird issue; I used to host a Rust server from a canned gameservers hosting provider, and the
server.hostnameparameter worked fine.@MrGraversen commented on GitHub (Oct 29, 2017):
I strung together some information from other issues, and was able to come up with the following solution:
In my
lgsm/config-lgsm/rustserver/rustserverX.cfgI inserted line 119 from rustserver on the master branch, and then the server was able to start withoutdebugmode (something I also wasn't able to do), and the server name now appears to be set correctly.@dgibbs64 commented on GitHub (Dec 19, 2017):
@UltimateByte Please can you check that the fix_rust.sh is working as intended. Thanks
@thorpj commented on GitHub (Apr 23, 2018):
@MrGraversen
I made the change you recommended (but in common.cfg)
From ./rustserver debug
Continue? [Y/n] Y [ INFO ] Debug rustserver: Stopping any running servers [ INFO ] Stopping rustserver: servername is already stopped [ OK ] Debug rustserver: Starting debug /home/rustserver/lgsm/functions/command_debug.sh: line 107: LD_LIBRARY_PATH=:/home/rustserver/serverfiles/RustDedicated_Data/Plugins/x86_64: No such file or directory [ OK ] Debug rustserver: Stopping debugI have tried
executable="LD_LIBRARY_PATH=/home/rustserver/serverfiles/RustDedicated_Data/Plugins/x86_64 ./RustDedicated"and
executable="LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/rustserver/serverfiles/RustDedicated_Data/Plugins/x86_64 ./RustDedicated"in common.cfg./rustserver start does not work either
line 107 of command_debug.sh :
"${executable} ${params}@UltimateByte commented on GitHub (Apr 23, 2018):
@thorpj Post details please as required here to try diagnosing anything.
https://github.com/GameServerManagers/LinuxGSM/wiki/Support
@dgibbs64 commented on GitHub (Apr 23, 2018):
@UltimateByte new support link :) https://linuxgsm.com/support/#guide
@UltimateByte commented on GitHub (Apr 23, 2018):
Awesome! @dgibbs64
@thorpj commented on GitHub (Apr 23, 2018):
Apologies @UltimateByte
./rustserver debug works, ./rustserver start gives error below
Multiple mods are installed, however they work fine with ./rustserver debug, so I doubt they're causing this issue
Game: Rust
Details: https://hastebin.com/ilowizodes.sql
Error (found in a console.log file):
steamclient.so exists in $LD_LIBRARY_PATH which is $HOME/serverfiles/RustDedicatedData/Plugins/x86_64/steamclient.so (host is 64bit)
lsb_release -a: Ubuntu 16.04.4
uname -a:
Linux rust-01.gameserver 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxldd --version:
(Ubuntu GLIBC 2.23-0ubuntu10) 2.23tmux -V: 2.1
from a relevant server log file:
@thorpj commented on GitHub (Apr 24, 2018):
It appears that the fix was to add the debug flag
parms="$parms -debug" in common.cfg
Apparently there's an issue that Facepunch need to resolve
@UltimateByte commented on GitHub (Apr 24, 2018):
Your start parameters are messed up. Whatever you did, this is wrong. The fix you applied is already applied properly by LinuxGSM. Adding "LD_LIBRARY_PATH=/home/rustserver/serverfiles/RustDedicated_Data/Plugins/x86_64" to start parameters is not correct.
Here is what a clean server looks like: https://hastebin.com/uyovunuxut
Please, review your config, make a backup of it and start clean from _common.cfg, and stop messing with start parameters if you don't know what you're doing.
@UltimateByte commented on GitHub (Apr 24, 2018):
Also, bind to a real IP and update your LinuxGSM.
PS: No harm intended, I just gotta be efficient atm, no time for screwing around with unneeded cautiousness.
@thorpj commented on GitHub (Apr 25, 2018):
@UltimateByte I have tested:
And the finally found that I needed to add the
-debugparameter. Yes I can now remove that line, but clearly it's not a problem, as my server works with or without that line.I'm not binding to a specific ip for $reasons. I have updated LGSM since the last commit. A few days ago.
@UltimateByte commented on GitHub (Apr 25, 2018):
@thorpj
But did you try a clean install where the only modification is that you bind to a real interface IP (and use different ports if needed) ?
@lock[bot] commented on GitHub (Apr 25, 2019):
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.