mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 14:15:59 +03:00
[GH-ISSUE #4098] rustserver rust server keeps shutting down easyanticheat #2616
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#2616
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 @karenmcd on GitHub (Feb 3, 2023).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4098
Originally assigned to: @dgibbs64 on GitHub.
After the recent update and figuring out how to open the query port and get that sorted out (i moved it to the default 28016 as the port was already open for both udp and tcp on my firewall and rcon and query can share the same port according to: https://wiki.facepunch.com/rust/Creating-a-server )
Now my server is shutting down every 10 minutes. Here's the console log:
nano /home/rustserver/serverfiles/server/rustserver/cfg/server.cfg
https://0bin.net/paste/qNyG7FQd#PQ2NxVQ-wk+8b2i1otPYd/3sw3cispyN7thZvc5Z8Rd
nano /home/rustserver/lgsm/config-lgsm/rustserver/rustserver.cfg
https://0bin.net/paste/IGE-EN3L#UJwnCZsDmFeUGAZsSOI0cdYvtrxBZFX76swUclWbHej
@karenmcd commented on GitHub (Feb 3, 2023):
it appears the system isn't actually listening on port 28016 as it says in the details? it's using 28017? I also have that port open and forwarding to udp but it's still not working and still shutting down every 10 minutes for easyanticheat. it's also not displayed in the list of servers.
@karenmcd commented on GitHub (Feb 3, 2023):
I did a
sudo apt updateandupgradeto the server, rebooted the server, restarted rust server. It's no longer restarting the server every 10 minutes but it's still not listed in the public server list of "community servers". https://www.battlemetrics.com/servers/rust/9629090 - the server has now been down for 12 hours - le sigh I've reviewed the notes over and over - the firewall has a port forward rule, idk what else to do. I see that someone commited a change to reflect the updated port rule for server.query, but i'm also noticing that in the command listed above:./RustDedicated -batchmode +app.listenip 0.0.0.0 +app.port 28082 +server.ip 0.0.0.0 +server.port 28015 +server.tickrate 30 +server.hostname "Monthly Solo/Duo/Trio.1/2 Decay.No BP Wipe" +server.identity "rustserver" +server.seed 1462939625 +server.salt 0 +server.maxplayers 50 +server.worldsize 3500 +server.saveinterval 300 +rcon.web 1 +rcon.ip 0.0.0.0 +rcon.port 28016 +rcon.password "xx" -logfilethere's nothing in that command about the +queryport 28017 or whatever i set it to in the configuration file. what's up with this?
@karenmcd commented on GitHub (Feb 3, 2023):
After reading the changes done to _default.cfg I went into the rustserver.cfg file located at
nano /home/rustserver/lgsm/config-lgsm/rustserver/rustserver.cfgand replaced the stuff after this line:
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parametersI commented out this:
#fn_parms(){# parms="+app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.seed ${seed} +server.salt ${salt} +se>#}After that, I added this line from the _default.cfg file to the part inside the rustserver.cfg file
Added this:
startparameters="-batchmode +app.listenip ${ip} +app.port ${appport} +server.ip ${ip} +server.port ${port} +server.queryport ${queryport} +server.tickrate ${tickrate} +server.hostname \"${servername}\" +server.identity \"${selfname}\" +server.gamemode ${gamemode} +server.level \"${serverlevel}\" +server.seed ${seed} +server.salt ${salt} +server.maxplayers ${maxplayers} +server.worldsize ${worldsize} +server.saveinterval ${saveinterval} +rcon.web ${rconweb} +rcon.ip ${ip} +rcon.port ${rconport} +rcon.password \"${rconpassword}\" -logfile"This did NOT fix it for me. Prior to doing this, I had also updated lgsm, the debian system and validated the rust server files. I wonder how badly broken the rest of my configuration files are, and if there's a way to check that easily for depreciated customized configuration files. I thought it was fixed, but it's apparently only because I joined the server manually via client.connect command
-EDIT
I've replaced the rustserver.cfg file with the _default one and then re-applied my parameters. Restarted the server once more and have this details output - im stuck and don't know what else to do. It seems like the ports are forwarded, and listening https://termbin.com/wvx3
@karenmcd commented on GitHub (Feb 3, 2023):
I'm getting an error that looks relevant on startup:
@dgibbs64 commented on GitHub (Feb 3, 2023):
Thanks for all this info
@karenmcd commented on GitHub (Feb 3, 2023):
idk what happened, but sometime during my sleep, the server finally sorted itself out?
It's listed in the community server list again, and I woke up to two new users on the server and a returning user asking where it was yesterday.. shrug
I suspect that verifying the 'game/server' files and fixing the ## Server Parameters was what actually fixed it, and it just took a while to propagate new information
the updated server configuration also seems to have forced a new battlemetrics page:
https://www.battlemetrics.com/servers/rust/18576447 (new)
https://www.battlemetrics.com/servers/rust/9629090 (old)
This contributed to me believing that my server wasn't working properly outside of the LAN. The metrics page show the server came back online in the public lists and on the battlemetrics page about four (4) hours after updating lgsm, making the changes to the configuration file and validating the files. The new server listing would also explain why it wasn't found in the history as well, but I was already searching for it in the community server list from the start anyway.
@github-actions[bot] commented on GitHub (Feb 5, 2024):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.