[GH-ISSUE #3282] Errors from ps for session leaders or group ID's, when Running mutiple instances on same server. #2270

Closed
opened 2026-02-27 03:01:52 +03:00 by kerem · 6 comments
Owner

Originally created by @underleo on GitHub (Feb 19, 2021).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3282

User Story

When i run multiple instances(cluster) on my server, commands "./arkserver-2 details/monitor" for second instance will poped up error about "error: list of session leaders OR effective group IDs was invalid".
The first instance works well and no problem, it just impact for the instances other than the first one.

Basic info

  • Distro: [CentOS Linux release 7.9.2009 (Core)]
  • Game: [Ark: Survival Evolved]
  • Command: [./arkserver details, ./arkserver monitor]
  • LinuxGSM version: [v21.1.3]

Further Information

The cluster works well and below sturcture FYI:

[arkserver@xleo-lgsm02 ~]$ ls -la
total 36
drwx------  9 arkserver arkserver   208 Feb 17 16:07 .
drwxr-xr-x. 5 root      root         56 Feb 18 11:58 ..
drwxrwxr-x  5 arkserver arkserver    65 Feb 17 16:09 arkserver-1
drwxrwxr-x  5 arkserver arkserver    67 Feb 19 15:00 arkserver-2
-rw-------  1 arkserver arkserver  7940 Feb 19 15:24 .bash_history
-rw-r--r--  1 arkserver arkserver    18 Apr  1  2020 .bash_logout
-rw-r--r--  1 arkserver arkserver   193 Apr  1  2020 .bash_profile
-rw-r--r--  1 arkserver arkserver   231 Apr  1  2020 .bashrc
drwxr-xr-x  3 arkserver arkserver    25 Feb 17 11:51 clusters
drwxrwxr-x  3 arkserver arkserver    18 Feb 17 16:05 lgsm
-rwxrwxr-x  1 arkserver arkserver 15934 Feb 17 16:05 linuxgsm.sh
drwxrwxr-x  3 arkserver arkserver    19 Feb 16 20:51 .local
drwxrw----  3 arkserver arkserver    19 Feb 16 20:49 .pki
drwxrwxr-x  5 arkserver arkserver    93 Feb 19 09:05 .steam
[arkserver@xleo-lgsm02 arkserver-2]$ ./arkserver-2 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:   CentOS Linux 7 (Core)
Arch:   x86_64
Kernel:   3.10.0-1160.15.2.el7.x86_64
Hostname:   xleo-lgsm02.klab.org
Uptime:   2d, 18h, 38m
tmux:   tmux 1.8
glibc:   2.17

Server Resource
\=================================
CPU
Model:   Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
Cores:   4
Frequency:   2499.998MHz
Avg Load:   0.51, 0.51, 0.52

Memory
Mem:   total   used   free   cached  available
Physical:   24GB   20GB   3.1GB  3.2GB   3.1GB
Swap:   4.0GB   3.3MB  4.0GB

Storage
Filesystem:   /dev/mapper/centos-home
Total:     45G
Used:     30G
Available:   16G

Network
IP:   0.0.0.0
Internet IP:   x.x.x.x

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

Storage
Total:   13G
Serverfiles:   13G

ARK: Survival Evolved Server Details
\=================================
Server name:   Unmmm ARK Server02
App ID:   376030
Server IP:   0.0.0.0:7779
Internet IP:   x.x.x.x:7779
Server password:   xxxxxxxxxx
Admin password:   xxxxxxxxxx
Maxplayers:   70
Default map:   Extinction
Master server:   not listed
Status:   ONLINE

arkserver-2 Script Details
\=================================
Script name:   arkserver-2
LinuxGSM version:   v21.1.3
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:   arkserver
Location:   /home/arkserver/arkserver-2
Config file:   /home/arkserver/arkserver-2/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini

Backups
\=================================
No Backups created

Command-line Parameters
\=================================
 ./ShooterGameServer Extinction?SessionName='Unmmm ARK Server02'?AltSaveDirectoryName=Extinction?listen?MultiHome=0.0.0.0?MaxPlayers=70?QueryPort=27017?RCONPort=27022?Port=7779?ServerAdminPassword=xxxxxxxx?ShowFloatingDamageText=true -automanagedmods -NoTransferFromFiltering -ClusterDirOverride=/home/arkserver -clusterid=xxxxxxxxx

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

Useful port diagnostic command:
netstat -atunp | grep ShooterGame

DESCRIPTION          DIRECTION  PORT   PROTOCOL
> Game   INBOUND    7779   udp
> RAW    INBOUND    7780   udp
> Query  INBOUND    27017  udp
> RCON   INBOUND    27022  tcp

Status: ONLINE

[arkserver@xleo-lgsm02 arkserver-2]$

Further Reading

It's similar to the issue reported as below, it resolved for a single instance but not for multiple.
https://github.com/GameServerManagers/LinuxGSM/issues/2881

To Reproduce

Just enter the second directory and run the commands.

Originally created by @underleo on GitHub (Feb 19, 2021). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3282 ## User Story When i run multiple instances(cluster) on my server, commands "./arkserver-2 details/monitor" for second instance will poped up error about "error: list of session leaders OR effective group IDs was invalid". The first instance works well and no problem, it just impact for the instances other than the first one. ## Basic info * **Distro:** [CentOS Linux release 7.9.2009 (Core)] * **Game:** [Ark: Survival Evolved] * **Command:** [./arkserver details, ./arkserver monitor] * **LinuxGSM version:** [v21.1.3] ## Further Information The cluster works well and below sturcture FYI: ``` [arkserver@xleo-lgsm02 ~]$ ls -la total 36 drwx------ 9 arkserver arkserver 208 Feb 17 16:07 . drwxr-xr-x. 5 root root 56 Feb 18 11:58 .. drwxrwxr-x 5 arkserver arkserver 65 Feb 17 16:09 arkserver-1 drwxrwxr-x 5 arkserver arkserver 67 Feb 19 15:00 arkserver-2 -rw------- 1 arkserver arkserver 7940 Feb 19 15:24 .bash_history -rw-r--r-- 1 arkserver arkserver 18 Apr 1 2020 .bash_logout -rw-r--r-- 1 arkserver arkserver 193 Apr 1 2020 .bash_profile -rw-r--r-- 1 arkserver arkserver 231 Apr 1 2020 .bashrc drwxr-xr-x 3 arkserver arkserver 25 Feb 17 11:51 clusters drwxrwxr-x 3 arkserver arkserver 18 Feb 17 16:05 lgsm -rwxrwxr-x 1 arkserver arkserver 15934 Feb 17 16:05 linuxgsm.sh drwxrwxr-x 3 arkserver arkserver 19 Feb 16 20:51 .local drwxrw---- 3 arkserver arkserver 19 Feb 16 20:49 .pki drwxrwxr-x 5 arkserver arkserver 93 Feb 19 09:05 .steam ``` ``` [arkserver@xleo-lgsm02 arkserver-2]$ ./arkserver-2 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: CentOS Linux 7 (Core) Arch: x86_64 Kernel: 3.10.0-1160.15.2.el7.x86_64 Hostname: xleo-lgsm02.klab.org Uptime: 2d, 18h, 38m tmux: tmux 1.8 glibc: 2.17 Server Resource \================================= CPU Model: Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz Cores: 4 Frequency: 2499.998MHz Avg Load: 0.51, 0.51, 0.52 Memory Mem: total used free cached available Physical: 24GB 20GB 3.1GB 3.2GB 3.1GB Swap: 4.0GB 3.3MB 4.0GB Storage Filesystem: /dev/mapper/centos-home Total: 45G Used: 30G Available: 16G Network IP: 0.0.0.0 Internet IP: x.x.x.x Game Server Resource Usage \================================= CPU Used: % Mem Used: % 0MB Storage Total: 13G Serverfiles: 13G ARK: Survival Evolved Server Details \================================= Server name: Unmmm ARK Server02 App ID: 376030 Server IP: 0.0.0.0:7779 Internet IP: x.x.x.x:7779 Server password: xxxxxxxxxx Admin password: xxxxxxxxxx Maxplayers: 70 Default map: Extinction Master server: not listed Status: ONLINE arkserver-2 Script Details \================================= Script name: arkserver-2 LinuxGSM version: v21.1.3 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: arkserver Location: /home/arkserver/arkserver-2 Config file: /home/arkserver/arkserver-2/serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini Backups \================================= No Backups created Command-line Parameters \================================= ./ShooterGameServer Extinction?SessionName='Unmmm ARK Server02'?AltSaveDirectoryName=Extinction?listen?MultiHome=0.0.0.0?MaxPlayers=70?QueryPort=27017?RCONPort=27022?Port=7779?ServerAdminPassword=xxxxxxxx?ShowFloatingDamageText=true -automanagedmods -NoTransferFromFiltering -ClusterDirOverride=/home/arkserver -clusterid=xxxxxxxxx Ports \================================= Change ports by editing the parameters in: /home/arkserver/arkserver-2/lgsm/config-lgsm/arkserver Useful port diagnostic command: netstat -atunp | grep ShooterGame DESCRIPTION DIRECTION PORT PROTOCOL > Game INBOUND 7779 udp > RAW INBOUND 7780 udp > Query INBOUND 27017 udp > RCON INBOUND 27022 tcp Status: ONLINE ``` [arkserver@xleo-lgsm02 arkserver-2]$ ## Further Reading It's similar to the issue reported as below, it resolved for a single instance but not for multiple. https://github.com/GameServerManagers/LinuxGSM/issues/2881 ## To Reproduce Just enter the second directory and run the commands.
Author
Owner

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

This is one of those issues that keeps rearing it head. Thanks, for letting us know.

<!-- gh-comment-id:781992829 --> @dgibbs64 commented on GitHub (Feb 19, 2021): This is one of those issues that keeps rearing it head. Thanks, for letting us know.
Author
Owner

@whoisninjaturtle commented on GitHub (Mar 2, 2021):

Something bout the dash in the name maybe... I have the same problem with multiple Valheim servers out of the same directory; "vhserver" works fine but "vhserver-2" has this same problem.

<!-- gh-comment-id:789046405 --> @whoisninjaturtle commented on GitHub (Mar 2, 2021): Something bout the dash in the name maybe... I have the same problem with multiple Valheim servers out of the same directory; "vhserver" works fine but "vhserver-2" has this same problem.
Author
Owner

@rmaureira commented on GitHub (Mar 23, 2021):

I have the same issue with a single server and no changes in the name:

`
[vh@XXXXXXXXX ~]$ ./vhserver dt
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

Date:
Distro: CentOS Linux 7 (Core)
Arch: x86_64
Kernel: 3.10.0-1160.11.1.el7.x86_64
Hostname: XXXXXXXXXXXXX
Uptime: 72d, 14h, 5m
tmux: tmux 1.8
glibc: 2.17
`

<!-- gh-comment-id:805053598 --> @rmaureira commented on GitHub (Mar 23, 2021): I have the same issue with a single server and no changes in the name: ` [vh@XXXXXXXXX ~]$ ./vhserver dt 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 ========================================================================================================================================================================================================================= Date: Distro: CentOS Linux 7 (Core) Arch: x86_64 Kernel: 3.10.0-1160.11.1.el7.x86_64 Hostname: XXXXXXXXXXXXX Uptime: 72d, 14h, 5m tmux: tmux 1.8 glibc: 2.17 `
Author
Owner

@dgibbs64 commented on GitHub (Mar 24, 2021):

This issue is only occurring on CentOS 7. I thought I had made some changes to prevent this in CentOS but maybe not. I will have to re-visit this.

<!-- gh-comment-id:805864332 --> @dgibbs64 commented on GitHub (Mar 24, 2021): This issue is only occurring on CentOS 7. I thought I had made some changes to prevent this in CentOS but maybe not. I will have to re-visit this.
Author
Owner

@dgibbs64 commented on GitHub (Oct 20, 2023):

there has been a reword of tmux session handling that may havbe resolved this issue now

<!-- gh-comment-id:1773463908 --> @dgibbs64 commented on GitHub (Oct 20, 2023): there has been a reword of tmux session handling that may havbe resolved this issue now
Author
Owner

@github-actions[bot] commented on GitHub (Oct 21, 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.

<!-- gh-comment-id:2425308355 --> @github-actions[bot] commented on GitHub (Oct 21, 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.
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#2270
No description provided.