mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 22:25:59 +03:00
[GH-ISSUE #3813] avserver fails to open game port (LGSM 21.5.1 fails vs LGSM 21.2.4 works) #2493
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#2493
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 @jhawker09 on GitHub (Mar 12, 2022).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3813
Discussed in https://github.com/GameServerManagers/LinuxGSM/discussions/3806
Originally posted by jhawker09 March 3, 2022
avserver starts but it fails to open the game server port, shows the port as 0. It also lists a grep error ("grep: Unmatched [, [^, [:, [., or [=") when running the details command. I tried this on a couple VMs with a fresh install for LGSM 21.5.1.
avserver@dns-gs1:~$ ./avserver details
Distro Details
======================================================================================
Date: Fri Mar 4 02:15:33 UTC 2022
Distro: Ubuntu 20.04.3 LTS
Arch: x86_64
Kernel: 5.4.0-90-generic
Hostname: dns-gs1
Uptime: 112d, 13h, 45m
tmux: tmux 3.0a
glibc: 2.31
Server Resource
======================================================================================
CPU
Model: AMD Ryzen 7 3700X 8-Core Processor
Cores: 6
Frequency: 3600.000MHz
Avg Load: 0.18, 0.17, 0.21
Memory
Mem: total used free cached available
Physical: 9.8GB 4.9GB 4.6GB 3.4GB 4.6GB
Swap: 4.0GB 1.3MB 4.0GB
Storage
Filesystem: /dev/mapper/ubuntu--vg-ubuntu--lv
Total: 44G
Used: 15G
Available: 27G
Network
Interface: ens160
Link Speed: 10000Mb/s
IP: 10.0.1.101
Internet IP:
Game Server Resource Usage
======================================================================================
CPU Used: 16.3%
Mem Used: 1.7% 170MB
Storage
Total: 397M
Serverfiles: 120M
Avorion Server Details
======================================================================================
Server name: Avorion Server
App ID: 565060
Server IP: 10.0.1.101:0
Internet IP: :0
Server password: NOT SET
RCON enabled: UNAVAILABLE
RCON password: NOT SET
Maxplayers: 10
Status: STARTED
avserver Script Details
======================================================================================
Script name: avserver
LinuxGSM version: v21.5.1
glibc required: 2.15
Discord alert: off
Email alert: off
Gotify alert: off
IFTTT alert: off
Mailgun (email) alert: off
Pushbullet alert: off
Pushover alert: off
Rocketchat alert: off
Slack alert: off
Telegram alert: off
Update on start: off
User: avserver
Location: /home/avserver
Config file: /home/avserver/serverfiles/galaxy/avserver/server.ini
Backups
======================================================================================
No Backups created
Command-line Parameters
======================================================================================
./bin/AvorionServer --galaxy-name avserver --ip 10.0.1.101 --datapath /home/avserver/serverfiles/galaxy
Ports
======================================================================================
Change ports by editing the parameters in:
/home/avserver/lgsm/config-lgsm/avserver
Useful port diagnostic command:
ss -tuplwn | grep AvorionServer
grep: Unmatched [, [^, [:, [., or [=
DESCRIPTION PORT PROTOCOL LISTEN
Game 0 udp 0
Query 27003 udp 1
Steam Master 27021 udp 0
Steam Query 27020 udp 0
RCON 27015 tcp 0
Status: STARTED
avserver@dns-gs1:~$ ss -tuplwn | grep AvorionServer
udp UNCONN 0 0 0.0.0.0:27000 0.0.0.0:* users:(("AvorionServer",pid=178214,fd=15))
udp UNCONN 0 0 0.0.0.0:27003 0.0.0.0:* users:(("AvorionServer",pid=178214,fd=19))
tcp LISTEN 0 128 0.0.0.0:27000 0.0.0.0:* users:(("AvorionServer",pid=178214,fd=11))
I have another server that is running on LGSM version 21.2.4 that works:
avserver@linuxapps:~$ ./avserver details
Distro Details
======================================================================================
Date:
Distro: Ubuntu 18.04.6 LTS
Arch: x86_64
Kernel: 4.15.0-112-generic
Hostname: linuxapps
Uptime: 112d, 14h, 7m
tmux: tmux 2.6
glibc: 2.27
Server Resource
======================================================================================
CPU
Model: AMD FX(tm)-8320 Eight-Core Processor
Cores: 5
Frequency: 3492.429MHz
Avg Load: 0.23, 0.13, 0.10
Memory
Mem: total used free cached available
Physical: 12GB 841MB 11GB 3.6GB 11GB
Swap: 4.0GB 19MB 4.0GB
Storage
Filesystem: /dev/sda2
Total: 59G
Used: 41G
Available: 16G
Network
IP: 0.0.0.0
Internet IP:
Game Server Resource Usage
======================================================================================
CPU Used: 32.9%
Mem Used: 2.5% 311MB
Storage
Total: 1.9G
Serverfiles: 742M
Backups: 757M
Avorion Server Details
======================================================================================
Server name: DaGameroom
App ID: 565060
Server IP: 0.0.0.0:27000
Internet IP: :27000
Server password:
RCON enabled: false
RCON password: NOT SET
Maxplayers: 10
Status: STARTED
avserver Script Details
======================================================================================
Script name: avserver
LinuxGSM version: v21.2.4
glibc required: 2.15
Discord alert: off
Email alert: off
IFTTT alert: off
Mailgun (email) alert: off
Pushbullet alert: off
Pushover alert: off
Rocketchat alert: off
Slack alert: off
Telegram alert: off
Update on start: off
User: avserver
Location: /home/avserver
Config file: /home/avserver/serverfiles/galaxy/avserver/server.ini
Backups
======================================================================================
No. of backups: 1
Latest backup:
date: Mon Jan 31 00:08:31 UTC 2022 (32 days ago)
file: /home/avserver/lgsm/backup/avserver-2022-01-31-000720.tar.gz
size: 757M
Command-line Parameters
======================================================================================
./server.sh --galaxy-name avserver --ip 0.0.0.0 --datapath /home/avserver/serverfiles/galaxy
Ports
======================================================================================
Change ports by editing the parameters in:
/home/avserver/lgsm/config-lgsm/avserver
Useful port diagnostic command:
netstat -atunp | grep Avorion
DESCRIPTION DIRECTION PORT PROTOCOL
Game INBOUND 27000 udp
RCON INBOUND 27015 tcp
Status: STARTED
avserver@linuxapps:~$ netstat -atunp | grep Avorion
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 10.0.1.49:53509 162.254.192.108:27017 ESTABLISHED 9110/./bin/AvorionS
udp 0 0 0.0.0.0:27003 0.0.0.0:* 9110/./bin/AvorionS
udp 0 0 0.0.0.0:27020 0.0.0.0:* 9110/./bin/AvorionS
udp 0 0 0.0.0.0:27021 0.0.0.0:* 9110/./bin/AvorionS
@h3o66 commented on GitHub (Mar 27, 2022):
Found the bug.
Will be fixed with the next release.
@github-actions[bot] commented on GitHub (Jun 4, 2023):
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.