[GH-ISSUE #2881] Errors from ps for session leaders or group ID's #2066

Closed
opened 2026-02-27 03:00:39 +03:00 by kerem · 4 comments
Owner

Originally created by @stevenboyd78 on GitHub (May 13, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2881

User Story

At seemingly random times, when I run ./arkserver details it displays "error: list of session leaders OR effective group IDs was invalid"

Basic info

  • Distro: [Ubuntu 18.04]
  • Game: [Ark: Survival Evolved]
  • Command: [./arkserver details]
  • LinuxGSM version: [v20.2.1]

Further Information

arkserver@96gig:~$ ./arkserver details
error: list of session leaders OR effective group IDs was invalid

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.

For more details see ps(1).
(standard_in) 1: syntax error
error: list of session leaders OR effective group IDs was invalid

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.

For more details see ps(1).
error: list of session leaders OR effective group IDs was invalid

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.

For more details see ps(1).

Distro Details
===========================================================================================================================================================================================================================================================================
Distro:    Ubuntu 18.04.4 LTS
Arch:      x86_64
Kernel:    4.15.0-99-generic
Hostname:  96gig
Uptime:    0d, 2h, 32m
tmux:      tmux 2.6
glibc:     2.27

Server Resource
===========================================================================================================================================================================================================================================================================
CPU
Model:      Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
Cores:      16
Frequency:  2261.216MHz
Avg Load:   2.32, 1.69, 1.22

Memory
Mem:       total  used  free   cached  available
Physical:  95GB   49GB  46GB   12GB    46GB
Swap:      2.0GB  0B    2.0GB

Storage
Filesystem:  /dev/sda1
Total:       458G
Used:        65G
Available:   370G

Network
Interface:    enp7s0f0
Link Speed:   1000Mb/s
IP:           ###.###.###.###
Internet IP:  ###.###.###.###

Game Server Resource Usage
===========================================================================================================================================================================================================================================================================
CPU Used:  %
Mem Used:  %  0MB

Storage
Total:        60G
Serverfiles:  22G
Backups:      20G

ARK: Survival Evolved Server Details
===========================================================================================================================================================================================================================================================================
Server name:        TheBoyd's Ark Server - TheIsland - (v310.68)
Server IP:          ###.###.###.###:7777
Internet IP:        ###.###.###.###:7777
Players:            0/10
Current map:        TheIsland
Default map:        TheIsland
Current game mode:  TestGameMode_Gaia_C
Master server:      false
Status:             ONLINE

arkserver Script Details
===========================================================================================================================================================================================================================================================================
Script name:            arkserver
LinuxGSM version:       v20.2.1
glibc required:         2.15
Discord alert:          on
Slack alert:            off
Email alert:            on
Pushbullet alert:       off
IFTTT alert:            off
Mailgun (email) alert:  off
Pushover alert:         off
Telegram alert:         off
Update on start:        off
User:                   arkserver
Location:               /home/arkserver
Config file:            /home/arkserver/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini

Backups
===========================================================================================================================================================================================================================================================================
No. of backups:  1
Latest backup:
    date:        Fri Apr 24 07:10:03 MDT 2020 (18 days ago)
    file:        /home/arkserver/lgsm/backup/arkserver-2020-04-24-124832.tar.gz
    size:        20G

Command-line Parameters
===========================================================================================================================================================================================================================================================================
./ShooterGameServer "TheIsland?SessionName=TheBoyd's Ark Server - TheIsland?AltSaveDirectoryName=TheIsland?listen?PreventSpawnAnimations=true?ShowFloatingDamageText=true?DisableWeatherFog=true?MultiHome=0.0.0.0?MaxPlayers=10?QueryPort=27015?RCONPort=27025?Port=7777?bRawSockets=7778 -NoTransferFromFiltering -clusterid=TheBoyd78 -server -log -automanagedmods -USEALLAVAILABLECORES -gameplaylogging -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -usecache -webalarm "

Ports
===========================================================================================================================================================================================================================================================================
Change ports by editing the parameters in:
/home/arkserver/lgsm/config-lgsm/arkserver

Useful port diagnostic command:
netstat -atunp | grep ShooterGame

DESCRIPTION  DIRECTION  PORT   PROTOCOL
> Game       INBOUND    7777   udp
> RAW        INBOUND    7778   udp
> Query      INBOUND    27015  udp
> RCON       INBOUND    27025  tcp

Status: ONLINE

To Reproduce

Seems to happen randomly. I can run it one time and it's fine, and another time it dumps the ps help documentation.

Expected behaviour

Not dump the ps help documentation.

Originally created by @stevenboyd78 on GitHub (May 13, 2020). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2881 ## User Story At seemingly random times, when I run `./arkserver details` it displays "error: list of session leaders OR effective group IDs was invalid" ## Basic info * **Distro:** [Ubuntu 18.04] * **Game:** [Ark: Survival Evolved] * **Command:** [./arkserver details] * **LinuxGSM version:** [v20.2.1] ## Further Information ``` arkserver@96gig:~$ ./arkserver details error: list of session leaders OR effective group IDs was invalid Usage: ps [options] Try 'ps --help <simple|list|output|threads|misc|all>' or 'ps --help <s|l|o|t|m|a>' for additional help text. For more details see ps(1). (standard_in) 1: syntax error error: list of session leaders OR effective group IDs was invalid Usage: ps [options] Try 'ps --help <simple|list|output|threads|misc|all>' or 'ps --help <s|l|o|t|m|a>' for additional help text. For more details see ps(1). error: list of session leaders OR effective group IDs was invalid Usage: ps [options] Try 'ps --help <simple|list|output|threads|misc|all>' or 'ps --help <s|l|o|t|m|a>' for additional help text. For more details see ps(1). Distro Details =========================================================================================================================================================================================================================================================================== Distro: Ubuntu 18.04.4 LTS Arch: x86_64 Kernel: 4.15.0-99-generic Hostname: 96gig Uptime: 0d, 2h, 32m tmux: tmux 2.6 glibc: 2.27 Server Resource =========================================================================================================================================================================================================================================================================== CPU Model: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz Cores: 16 Frequency: 2261.216MHz Avg Load: 2.32, 1.69, 1.22 Memory Mem: total used free cached available Physical: 95GB 49GB 46GB 12GB 46GB Swap: 2.0GB 0B 2.0GB Storage Filesystem: /dev/sda1 Total: 458G Used: 65G Available: 370G Network Interface: enp7s0f0 Link Speed: 1000Mb/s IP: ###.###.###.### Internet IP: ###.###.###.### Game Server Resource Usage =========================================================================================================================================================================================================================================================================== CPU Used: % Mem Used: % 0MB Storage Total: 60G Serverfiles: 22G Backups: 20G ARK: Survival Evolved Server Details =========================================================================================================================================================================================================================================================================== Server name: TheBoyd's Ark Server - TheIsland - (v310.68) Server IP: ###.###.###.###:7777 Internet IP: ###.###.###.###:7777 Players: 0/10 Current map: TheIsland Default map: TheIsland Current game mode: TestGameMode_Gaia_C Master server: false Status: ONLINE arkserver Script Details =========================================================================================================================================================================================================================================================================== Script name: arkserver LinuxGSM version: v20.2.1 glibc required: 2.15 Discord alert: on Slack alert: off Email alert: on Pushbullet alert: off IFTTT alert: off Mailgun (email) alert: off Pushover alert: off Telegram alert: off Update on start: off User: arkserver Location: /home/arkserver Config file: /home/arkserver/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini Backups =========================================================================================================================================================================================================================================================================== No. of backups: 1 Latest backup: date: Fri Apr 24 07:10:03 MDT 2020 (18 days ago) file: /home/arkserver/lgsm/backup/arkserver-2020-04-24-124832.tar.gz size: 20G Command-line Parameters =========================================================================================================================================================================================================================================================================== ./ShooterGameServer "TheIsland?SessionName=TheBoyd's Ark Server - TheIsland?AltSaveDirectoryName=TheIsland?listen?PreventSpawnAnimations=true?ShowFloatingDamageText=true?DisableWeatherFog=true?MultiHome=0.0.0.0?MaxPlayers=10?QueryPort=27015?RCONPort=27025?Port=7777?bRawSockets=7778 -NoTransferFromFiltering -clusterid=TheBoyd78 -server -log -automanagedmods -USEALLAVAILABLECORES -gameplaylogging -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -usecache -webalarm " Ports =========================================================================================================================================================================================================================================================================== Change ports by editing the parameters in: /home/arkserver/lgsm/config-lgsm/arkserver Useful port diagnostic command: netstat -atunp | grep ShooterGame DESCRIPTION DIRECTION PORT PROTOCOL > Game INBOUND 7777 udp > RAW INBOUND 7778 udp > Query INBOUND 27015 udp > RCON INBOUND 27025 tcp Status: ONLINE ``` ## To Reproduce Seems to happen randomly. I can run it one time and it's fine, and another time it dumps the ps help documentation. ## Expected behaviour Not dump the ps help documentation.
kerem 2026-02-27 03:00:39 +03:00
Author
Owner

@dgibbs64 commented on GitHub (Jul 13, 2020):

I believe this issue has been resolved in a more recent release. I will close this but please re-raise if still around

<!-- gh-comment-id:657838687 --> @dgibbs64 commented on GitHub (Jul 13, 2020): I believe this issue has been resolved in a more recent release. I will close this but please re-raise if still around
Author
Owner

@underleo commented on GitHub (Feb 19, 2021):

I believe this issue has been resolved in a more recent release. I will close this but please re-raise if still around

Nope, the issue still existed.
when i run ./arkserver details/monitor, it will poped up about the command "ps" useage error.

<!-- gh-comment-id:781878980 --> @underleo commented on GitHub (Feb 19, 2021): > I believe this issue has been resolved in a more recent release. I will close this but please re-raise if still around Nope, the issue still existed. when i run ./arkserver details/monitor, it will poped up about the command "ps" useage error.
Author
Owner

@rainst commented on GitHub (Mar 3, 2021):

I'm trying for the first time LinuxGSM and I'm getting this error every time (not just occasionally) I run the details or monitor scripts
Only a single server installation, only one server running

Server Info

  • Distro: [Amazon Linux 2 (RHEL)]
  • Game: [Valheim]
  • Command: [./vhserver details -or- monitor]
  • LinuxGSM version: [v21.1.3]
$ ./vhserver details
error: list of session leaders OR effective group IDs was invalid

Usage:
 ps [options]

 Try 'ps --help <simple|list|output|threads|misc|all>'
  or 'ps --help <s|l|o|t|m|a>'
 for additional help text.
 (...)
<!-- gh-comment-id:790163574 --> @rainst commented on GitHub (Mar 3, 2021): I'm trying for the first time LinuxGSM and I'm getting this error **every time** (not just occasionally) I run the `details` or `monitor` scripts Only a single server installation, only one server running Server Info - Distro: [Amazon Linux 2 (RHEL)] - Game: [Valheim] - Command: [./vhserver details -or- monitor] - LinuxGSM version: [v21.1.3] ``` $ ./vhserver details error: list of session leaders OR effective group IDs was invalid Usage: ps [options] Try 'ps --help <simple|list|output|threads|misc|all>' or 'ps --help <s|l|o|t|m|a>' for additional help text. (...) ```
Author
Owner

@github-actions[bot] commented on GitHub (Mar 5, 2022):

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.

<!-- gh-comment-id:1059613587 --> @github-actions[bot] commented on GitHub (Mar 5, 2022): 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.
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2066
No description provided.