mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #2239] CS1.6 LGSM Script suddenly stopped working in some, but not all, cases. #1706
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#1706
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 @rip1980 on GitHub (Mar 23, 2019).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2239
(Posted here because I think this is a LGSM issue. Something, maybe an APT update, broke it. I doubt I'm special no matter what my mom says. Others may, or may soon, experience an issue if some dependency has broken the script but I can not locate it.)
User Story
5:30-sh this morning started having an issue where some ports/game instances are not working. Box is running several game (CS 1.6) servers on ports 27015 to 27022, and in shell, these are running and things are happening (logs show bots killing each other, map changes, worlds spawning, etc.) Only games on 27016, 27020 and 27022 are connecting and reachable on the outside internet, although all show running internally.
Netstat show them running, the I noticed the script in python is flapping for the broken servers (detects server NOT running and restarts them, HOWEVER, I think they did not crash, I spent hours going through logs and really don't have a smoking gun error.) I have not figured out the delta between working and not working instances.
TS things: LOGS LOGS LOGS, nothing stands out. Even apt updates happened after it broke, so probably not the cause. FW rule to allow anything just in case. Running as debug stops the flapping (script restarting the game server but it's still not reachable outside (appears for a split second then dies externally) Lots of soft and box restarts. updated games, updated lgsm, forced validation checks, etc.
I've run servers for years, migrated to this physical machine in Sept, but ran it for a few years at the same host before changing boxes. Linux user since .99beta16, I'm usually OK at this stuff. :( This has me stumped. Not sure if it's a script thing or a Steam/CS issue, literally nothing had changed. Only time I've seen something like this is when liblist.gam gets overwritten, and it's OK in this case.
TODO: Possible roll old backup over broken instances and see if it works. Spend more time looking at date stamps to try to see what changed.
https://hastebin.com/dowolekami
Basic info
Distro: Ubuntu 18.04.2 LTS
Arch: x86_64
Kernel: 4.15.0-46-generic
Hostname: dedibox
tmux: tmux 2.6
glibc: 2.27
CS1.6, multiple servers on ports 27015 to 27022
Further Information
Been running LGSM for a few years, this setup has been running about 7 months with no real changes (Occasional APT updates, Steam updates,) No known changes to correlate with this issue (not an update then it broke type issue.)
My notes and captures: https://hastebin.com/dowolekami
To Reproduce
Work on 3 instances, does not work on 5 others. I have not identified the delta between works vs doesn't. Suspect script itself is having an issue not reading the port state correctly.
Maybe an earlier python or os update tripped it up? However, current python version is not bleeding edge:
csserver1@dedibox:~/serverfiles/cstrike/logs$ python
Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0] on linux2
@rip1980 commented on GitHub (Mar 23, 2019):
Just an update: A backup copy of the whole server worked IN ONE CASE. Literally just blew the old backup on and it launched and worked. It's late here, tomorrow I will try to do a compare between the broken and working scripts. Backup is a few months old, so hoping the deltas are not too much. Thanks in advance for any ideas.
In another case, rolled back another server from the same day (Remember running 8 servers on different ports on a dedicated box, all CS1.6 with different mods [Gungame, Deathmatch, etc., nothing too special.]) and it still fails. Tried it before allowing the game or script to update, and after. Originally blew the backup on and it failed.
So literally, a working copy from months ago worked in one case, and did not in another. Same box, backups were made the same day, works in one case and not in another. Simply gsquery shows as failed even though dt shows it running.
No changes prior to issues. This is hurting my brain because it make no sense. 8}
@rip1980 commented on GitHub (Mar 25, 2019):
Closing issue. Install did not work, deleting EVERYTHING and wget a new script did work. Something broke badly but 100% LGSM does work, so, shrug. Latest script works so can't say it's LGSM itself.
@lock[bot] commented on GitHub (Mar 27, 2020):
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.