[GH-ISSUE #158] [gmodserver] CentOS 6.5 version `GLIBC_2.15' not found #125

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

Originally created by @ghost on GitHub (Sep 5, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/158

I just did a clean install with centos 6.5 64bit and got this:

[ FAIL ] Stopping gmod-server: gmod6465 is already stopped
[ OK ] Starting debug mode gmod-server: gmod6465
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Failed to open dedicated_srv.so (/lib/libm.so.6: version `GLIBC_2.15' not found (required by bin/dedicated_srv.so))
cat: hlds.19093.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Mon Jan 1 01:00:47 GMT 2007: Server restart in 10 seconds

Originally created by @ghost on GitHub (Sep 5, 2014). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/158 I just did a clean install with centos 6.5 64bit and got this: [ FAIL ] Stopping gmod-server: gmod6465 is already stopped [ OK ] Starting debug mode gmod-server: gmod6465 Auto detecting CPU Using default binary: ./srcds_linux Enabling debug mode Server will auto-restart if there is a crash. Failed to open dedicated_srv.so (/lib/libm.so.6: version `GLIBC_2.15' not found (required by bin/dedicated_srv.so)) cat: hlds.19093.pid: No such file or directory email debug.log to linux@valvesoftware.com Mon Jan 1 01:00:47 GMT 2007: Server restart in 10 seconds
kerem 2026-02-27 01:59:39 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@ghost commented on GitHub (Sep 5, 2014):

Here they are saying Centos is terrible for gmod becauce GLIBC is terribly out of date.

http://steamcommunity.com/app/4000/discussions/1/46476690686730556/#p3

<!-- gh-comment-id:54677014 --> @ghost commented on GitHub (Sep 5, 2014): Here they are saying Centos is terrible for gmod becauce GLIBC is terribly out of date. http://steamcommunity.com/app/4000/discussions/1/46476690686730556/#p3
Author
Owner

@Scarsz commented on GitHub (Sep 5, 2014):

There's already a fix for GLIBC in the script. Either the script failed while installing that or you have an outdated script.

<!-- gh-comment-id:54687251 --> @Scarsz commented on GitHub (Sep 5, 2014): There's already a fix for GLIBC in the script. Either the script failed while installing that or you have an outdated script.
Author
Owner

@ghost commented on GitHub (Sep 5, 2014):

I used the script from these instructions: http://danielgibbs.co.uk/lgsm/gmodserver/

(http://danielgibbs.co.uk/dl/gmodserver)

<!-- gh-comment-id:54689189 --> @ghost commented on GitHub (Sep 5, 2014): I used the script from these instructions: http://danielgibbs.co.uk/lgsm/gmodserver/ (http://danielgibbs.co.uk/dl/gmodserver)
Author
Owner

@ghost commented on GitHub (Sep 5, 2014):

Does the script need the users password to run properly ?
I didn't think it did so used a different one than in the instructions.

<!-- gh-comment-id:54689520 --> @ghost commented on GitHub (Sep 5, 2014): Does the script need the users password to run properly ? I didn't think it did so used a different one than in the instructions.
Author
Owner

@Scarsz commented on GitHub (Sep 5, 2014):

The script's probably broken, will know when I do a major test later today.

<!-- gh-comment-id:54691948 --> @Scarsz commented on GitHub (Sep 5, 2014): The script's probably broken, will know when I do a major test later today.
Author
Owner

@dgibbs64 commented on GitHub (Sep 8, 2014):

Yeah this should work on its own. Will need to investigate

<!-- gh-comment-id:54872534 --> @dgibbs64 commented on GitHub (Sep 8, 2014): Yeah this should work on its own. Will need to investigate
Author
Owner

@dgibbs64 commented on GitHub (Sep 9, 2014):

I have tested on CentOS 6.5 and can confirm it works for me. However i have submitted a request for Facepunch to include the files are part of the server so the fix in the script is not required anymore

https://github.com/Facepunch/garrysmod-issues/issues/1487

<!-- gh-comment-id:55024746 --> @dgibbs64 commented on GitHub (Sep 9, 2014): I have tested on CentOS 6.5 and can confirm it works for me. However i have submitted a request for Facepunch to include the files are part of the server so the fix in the script is not required anymore https://github.com/Facepunch/garrysmod-issues/issues/1487
Author
Owner

@Scarsz commented on GitHub (Sep 11, 2014):

Possible fix for this could be to use all the files found in the deb file from GLIBC fix 1 but have those and upload them to a zip or tar.gz to the repository. That or we could just throw them all in the repository and implement file lists instead of adding every link to the script.

<!-- gh-comment-id:55340314 --> @Scarsz commented on GitHub (Sep 11, 2014): Possible fix for this could be to use all the files found in the deb file from GLIBC fix 1 but have those and upload them to a zip or tar.gz to the repository. That or we could just throw them all in the repository and implement file lists instead of adding every link to the script.
Author
Owner

@ghost commented on GitHub (Sep 13, 2014):

i just did a clean install again with 6.5 and I got the same error. Sigh. The first time I did it on metal and this time it was on a VM, I also tried premade vm with 6.5 and it didn't work. Is the script on your website the same as the one here ?

<!-- gh-comment-id:55507946 --> @ghost commented on GitHub (Sep 13, 2014): i just did a clean install again with 6.5 and I got the same error. Sigh. The first time I did it on metal and this time it was on a VM, I also tried premade vm with 6.5 and it didn't work. Is the script on your website the same as the one here ?
Author
Owner

@Scarsz commented on GitHub (Sep 13, 2014):

Replace "/home/whateveryourhomefolderis/" with the parent folder of serverfiles and post back if that works.

yum install dpkg -y
mkdir -pv "/home/whateveryourhomefolderis/serverfiles/tmp"
wget -q http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10.6_i386.deb -O /home/whateveryourhomefolderis/serverfiles/tmp/libc6_2.15-0ubuntu10.6_i386.deb
dpkg -x /home/whateveryourhomefolderis/serverfiles/tmp/libc6_2.15-0ubuntu10.6_i386.deb /home/whateveryourhomefolderis/serverfiles/tmp/
cp /home/whateveryourhomefolderis/serverfiles/tmp/lib/i386-linux-gnu/* /home/whateveryourhomefolderis/serverfiles/bin/
rm -fr /home/whateveryourhomefolderis/serverfiles/tmp/
<!-- gh-comment-id:55510479 --> @Scarsz commented on GitHub (Sep 13, 2014): Replace "/home/whateveryourhomefolderis/" with the parent folder of serverfiles and post back if that works. ``` yum install dpkg -y mkdir -pv "/home/whateveryourhomefolderis/serverfiles/tmp" wget -q http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10.6_i386.deb -O /home/whateveryourhomefolderis/serverfiles/tmp/libc6_2.15-0ubuntu10.6_i386.deb dpkg -x /home/whateveryourhomefolderis/serverfiles/tmp/libc6_2.15-0ubuntu10.6_i386.deb /home/whateveryourhomefolderis/serverfiles/tmp/ cp /home/whateveryourhomefolderis/serverfiles/tmp/lib/i386-linux-gnu/* /home/whateveryourhomefolderis/serverfiles/bin/ rm -fr /home/whateveryourhomefolderis/serverfiles/tmp/ ```
Author
Owner

@dgibbs64 commented on GitHub (Sep 15, 2014):

Im doing testing currently to improve compatibility. Please monitor the compatibility spreadsheet for updates

<!-- gh-comment-id:55630771 --> @dgibbs64 commented on GitHub (Sep 15, 2014): Im doing testing currently to improve compatibility. Please monitor the compatibility spreadsheet for updates
Author
Owner

@dgibbs64 commented on GitHub (Sep 15, 2014):

My current idea is for the installer to detect the version of GLIBC and only download the files if < 2.15 as the segmentation fault appears to happen if the dependency files are put in the bin dir for servers with a newer version of GLIBC. Without there is no issue. for example

Ubuntu 14.04 and CentOS 7 will not require the files
Debian 7, CentOS 6 and older versions of Ubuntu require the files

<!-- gh-comment-id:55637506 --> @dgibbs64 commented on GitHub (Sep 15, 2014): My current idea is for the installer to detect the version of GLIBC and only download the files if < 2.15 as the segmentation fault appears to happen if the dependency files are put in the bin dir for servers with a newer version of GLIBC. Without there is no issue. for example Ubuntu 14.04 and CentOS 7 will not require the files Debian 7, CentOS 6 and older versions of Ubuntu require the files
Author
Owner

@Scarsz commented on GitHub (Sep 15, 2014):

if [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 ]; then
    glibc dependency download code
fi
<!-- gh-comment-id:55642175 --> @Scarsz commented on GitHub (Sep 15, 2014): ``` if [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 ]; then glibc dependency download code fi ```
Author
Owner

@Scarsz commented on GitHub (Sep 16, 2014):

github.com/dgibbs64/linuxgameservers@c832ed84c8

Let me know if there's any issue with the script now when installing.

<!-- gh-comment-id:55679139 --> @Scarsz commented on GitHub (Sep 16, 2014): https://github.com/dgibbs64/linuxgameservers/commit/c832ed84c865197f0f2e7d729c89e9bce1c23f3c Let me know if there's any issue with the script now when installing.
Author
Owner

@lock[bot] commented on GitHub (Jul 20, 2018):

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:406471757 --> @lock[bot] commented on GitHub (Jul 20, 2018): 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#125
No description provided.