[GH-ISSUE #1540] LGSM Fedora 26 Python Issue #1203

Closed
opened 2026-02-27 02:55:51 +03:00 by kerem · 9 comments
Owner

Originally created by @Bruno-Bacelar on GitHub (Jul 20, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1540

OS - Fedora 26 on VM
Server - Insurgency
When starting the insurgency server the script points to a missing python dependency, but it starts as usual.
I also verified that details (./insserver details) shows wrong values.
On fedora 26 page they list a change to python 3.6 and a note saying that a code update is needed.
https://fedoraproject.org/wiki/Changes/Python3.6
I think that might be the problem since it don´t happen in ubuntu 17.04
Sorry for the lack of info but i don´t know much code.
Thanks in advance.

Originally created by @Bruno-Bacelar on GitHub (Jul 20, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1540 **OS** - Fedora 26 on VM **Server** - Insurgency When starting the insurgency server the script points to a missing **python** dependency, but it starts as usual. I also verified that details (./insserver details) shows wrong values. On fedora 26 page they list a change to python **3.6** and a note saying that a code update is needed. https://fedoraproject.org/wiki/Changes/Python3.6 I think that might be the problem since it don´t happen in ubuntu 17.04 Sorry for the lack of info but i don´t know much code. Thanks in advance.
Author
Owner

@dgibbs64 commented on GitHub (Jul 23, 2017):

Python is only required for the monitor feature. So the server will start without it. Can you confirm that python is installed and working? You can try the monitor feature to confirm if its OK. If python is install correctly then we may need to alter python detection for Fedora

<!-- gh-comment-id:317267419 --> @dgibbs64 commented on GitHub (Jul 23, 2017): Python is only required for the monitor feature. So the server will start without it. Can you confirm that python is installed and working? You can try the monitor feature to confirm if its OK. If python is install correctly then we may need to alter python detection for Fedora
Author
Owner

@smounives commented on GitHub (Jul 24, 2017):

I have this issue too.

<!-- gh-comment-id:317334324 --> @smounives commented on GitHub (Jul 24, 2017): I have this issue too.
Author
Owner

@Bruno-Bacelar commented on GitHub (Jul 24, 2017):

I verified the install seems ok on two different servers. sorry, the output is in Portuguese. but they both say that is installed.

[ehunt@localhost ~]$ sudo dnf install  python
Última verificação de data de vencimento de metadados: 0:06:17 atrás em seg 24 jul 2017 13:28:30 -03.
Pacote **python2-2.7.13-11.fc26.x86_64** já está instalado, ignorando.
Dependências resolvidas.
Nada para fazer.
Concluído!
[ehunt@localhost ~]$ sudo dnf install python3
[sudo] senha para ehunt:
Última verificação de data de vencimento de metadados: 0:13:52 atrás em seg 24 jul 2017 13:28:30 -03.
Pacote **python3-3.6.1-8.fc26.x86_64** já está instalado, ignorando.
Dependências resolvidas.
Nada para fazer.
Concluído!

_The monitor command output also seems ok_

[insserver1@localhost ~]$ ./insserver monitor
    fetching command_monitor.sh...OK
[  OK  ] Monitor insserver: Checking session: OK
    fetching monitor_gsquery.sh...OK
    fetching gsquery.py...OK
[ .... ] Monitor insserver: Querying port: 10.0.0.130:27115 : 0/1 : QUERYING/home/insserver1/lgsm/functions/monitor_gsquery.sh: linha 46: aviso: command substitution: ignored null byte in input
[  OK  ] Monitor insserver: Querying port: 10.0.0.130:27115 : 1 : OK

_This issue causes a slowdown  in running commands, takes a little longer to execute when dependencies are checked about 3~5 seconds every time._

[insserver1@localhost ~]$ ./insserver start
[ERROR ] Starting insserver: Checking dependencies: missing: python

Warning! insserver1 does not have sudo access. Manually install dependencies.
        sudo yum install python

[  OK  ] Starting insserver:
<!-- gh-comment-id:317489759 --> @Bruno-Bacelar commented on GitHub (Jul 24, 2017): I verified the install seems ok on two different servers. sorry, the output is in Portuguese. but they both say that is installed. ``` [ehunt@localhost ~]$ sudo dnf install python Última verificação de data de vencimento de metadados: 0:06:17 atrás em seg 24 jul 2017 13:28:30 -03. Pacote **python2-2.7.13-11.fc26.x86_64** já está instalado, ignorando. Dependências resolvidas. Nada para fazer. Concluído! [ehunt@localhost ~]$ sudo dnf install python3 [sudo] senha para ehunt: Última verificação de data de vencimento de metadados: 0:13:52 atrás em seg 24 jul 2017 13:28:30 -03. Pacote **python3-3.6.1-8.fc26.x86_64** já está instalado, ignorando. Dependências resolvidas. Nada para fazer. Concluído! _The monitor command output also seems ok_ [insserver1@localhost ~]$ ./insserver monitor fetching command_monitor.sh...OK [ OK ] Monitor insserver: Checking session: OK fetching monitor_gsquery.sh...OK fetching gsquery.py...OK [ .... ] Monitor insserver: Querying port: 10.0.0.130:27115 : 0/1 : QUERYING/home/insserver1/lgsm/functions/monitor_gsquery.sh: linha 46: aviso: command substitution: ignored null byte in input [ OK ] Monitor insserver: Querying port: 10.0.0.130:27115 : 1 : OK _This issue causes a slowdown in running commands, takes a little longer to execute when dependencies are checked about 3~5 seconds every time._ [insserver1@localhost ~]$ ./insserver start [ERROR ] Starting insserver: Checking dependencies: missing: python Warning! insserver1 does not have sudo access. Manually install dependencies. sudo yum install python [ OK ] Starting insserver: ```
Author
Owner

@drphlux commented on GitHub (Jul 31, 2017):

I'm running F26 also. Had to change this:
grep python lgsm/functions/check_deps.sh
to the correct installed python package. In my case to "python3".

<!-- gh-comment-id:319088430 --> @drphlux commented on GitHub (Jul 31, 2017): I'm running F26 also. Had to change this: grep python lgsm/functions/check_deps.sh to the correct installed python package. In my case to "python3".
Author
Owner

@Bruno-Bacelar commented on GitHub (Aug 1, 2017):

Yep, i changed check_deps.sh on the line # LinuxGSM requirements to python3 it solved the error message at startup, not sure if its related but the details page still messed.

insserver Script Details
\x1b[34mService name: \x1b[0minsserver
\x1b[34minsserver version: \x1b[0m170710
\x1b[34mUser: \x1b[0minsserver
\x1b[34mGLIBC required: \x1b[32m2.15\x1b[0m
\x1b[34mEmail alert: \x1b[0moff
\x1b[34mPushbullet alert: \x1b[0moff
\x1b[34mUpdate on start: \x1b[0moff
\x1b[34mLocation: \x1b[0m/home/insserver
\x1b[34mConfig file: \x1b[0m/home/insserver/serverfiles/insurgency/cfg/insserver.cfg

<!-- gh-comment-id:319425339 --> @Bruno-Bacelar commented on GitHub (Aug 1, 2017): Yep, i changed check_deps.sh on the line # LinuxGSM requirements to python3 it solved the error message at startup, not sure if its related but the details page still messed. insserver Script Details \x1b[34mService name: \x1b[0minsserver \x1b[34minsserver version: \x1b[0m170710 \x1b[34mUser: \x1b[0minsserver \x1b[34mGLIBC required: \x1b[32m2.15\x1b[0m \x1b[34mEmail alert: \x1b[0moff \x1b[34mPushbullet alert: \x1b[0moff \x1b[34mUpdate on start: \x1b[0moff \x1b[34mLocation: \x1b[0m/home/insserver \x1b[34mConfig file: \x1b[0m/home/insserver/serverfiles/insurgency/cfg/insserver.cfg
Author
Owner

@drphlux commented on GitHub (Aug 2, 2017):

Hello @Bruno-Bacelar
Those are ansi codes. See issue #1555

<!-- gh-comment-id:319598199 --> @drphlux commented on GitHub (Aug 2, 2017): Hello @Bruno-Bacelar Those are ansi codes. See issue #1555
Author
Owner

@dgibbs64 commented on GitHub (Dec 3, 2018):

will need to test python on Fedora

<!-- gh-comment-id:443914937 --> @dgibbs64 commented on GitHub (Dec 3, 2018): will need to test python on Fedora
Author
Owner

@dgibbs64 commented on GitHub (Dec 14, 2018):

Issue was resolved a while ago
relates to #1941

<!-- gh-comment-id:447511538 --> @dgibbs64 commented on GitHub (Dec 14, 2018): Issue was resolved a while ago relates to #1941
Author
Owner

@lock[bot] commented on GitHub (Dec 15, 2019):

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.

<!-- gh-comment-id:565766488 --> @lock[bot] commented on GitHub (Dec 15, 2019): 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.
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#1203
No description provided.