[GH-ISSUE #1002] [GMOD] GLIBC fix & updateonstart broken #793

Closed
opened 2026-02-27 02:53:32 +03:00 by kerem · 11 comments
Owner

Originally created by @ghost on GitHub (Aug 13, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1002

Can't run ist because i get an Error while update check

ttt@mightful-noobs:~$ ./gmodserver start
[ .... ] Update gmod-server: Checking for update: SteamCMD/home/ttt/steamcmd/linux32/steamcmd: relocation error: /lib/i386-linux-gnu/librt.so.1: symbol __clock_nanosleep, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
[ FAIL ] Update gmod-server: Checking for update: SteamCMD: Not returning version info
[  OK  ] Update gmod-server: Checking for update: SteamCMD: Update available

Update available:
        Current build: 1214509
        Available build:

        https://steamdb.info/app/4020/

Applying update...
[  OK  ] Update gmod-server: SteamCMD
ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/home/ttt/steamcmd/linux32/steamcmd: relocation error: /lib/i386-linux-gnu/librt.so.1: symbol __clock_nanosleep, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
[  OK  ] Alert gmod-server: Sending alert: ****************@hotmail.de
ttt@mightful-noobs:~$

I excluded my mailadress, but it is showen.

Maillog:

gmod-server received update

Distro Details
=================================
Distro: Ubuntu 14.04.5 LTS
Arch: x86_64
Kernel: 3.13.0-93-generic
Hostname: mightful-noobs.de
tmux: tmux 1.8
GLIBC: 2.19

Performance
=================================
Uptime: 0d, 1h, 34m
Avg Load: 0,00, 0,01, 0,05

Mem: total used free
Physical: 31G 9,7G 21G
Swap: 7,6G 0B 7,6G

Storage
=================================
Filesystem: /dev/sda4
Total: 221G
Used: 9,6G
Available: 201G
Serverfiles: 3,6G

Garry's Mod Server Details
=================================
Server name: [EU] Mightful Noobs | TTT | Whitelisted
Server IP: 62.138.2.36:1337
Server password: ********
RCON password: ********
Game mode: terrortown
Tick rate: 66
Status: OFFLINE

gmod-server Logs
=================================

Script log
===================
/home/ttt/log/script/gmod-server-script.log
Aug 13 14:50:00 gmod-server: MONITOR: ERROR: command_monitor.sh exiting with code: 2
Aug 13 14:56:45 gmod-server: UPDATE: INFO: Checking for update: Server logs
Aug 13 14:56:47 gmod-server: UPDATE: INFO: Checking for update: SteamCMD
Aug 13 14:56:50 gmod-server: UPDATE: FATAL: Checking for update: SteamCMD: Not returning version info
Aug 13 14:56:50 gmod-server: UPDATE: PASS: Checking for update: SteamCMD: Update available
Aug 13 14:56:55 gmod-server: UPDATE: INFO: Update available
Aug 13 14:56:55 gmod-server: UPDATE: INFO: Current build: 1214509
Aug 13 14:56:55 gmod-server: UPDATE: INFO: Available build:
Aug 13 14:56:55 gmod-server: UPDATE: INFO: 1214509 >
Aug 13 14:56:57 gmod-server: UPDATE: INFO: Starting SteamCMD
Aug 13 14:56:57 gmod-server: ALERT: INFO: Sending update alert
Aug 13 14:56:57 gmod-server: ALERT: INFO: Sending alert: *******
Aug 13 14:56:57 gmod-server: ALERT: PASS: Sending alert: ***********
Aug 13 14:56:57 gmod-server: UPDATE: PASS: command_update.sh exiting with code: 0
Aug 13 14:59:03 gmod-server: UPDATE: INFO: Checking for update: Server logs
Aug 13 14:59:05 gmod-server: UPDATE: INFO: Checking for update: SteamCMD
Aug 13 14:59:08 gmod-server: UPDATE: FATAL: Checking for update: SteamCMD: Not returning version info
Aug 13 14:59:08 gmod-server: UPDATE: PASS: Checking for update: SteamCMD: Update available
Aug 13 14:59:13 gmod-server: UPDATE: INFO: Update available
Aug 13 14:59:13 gmod-server: UPDATE: INFO: Current build: 1214509
Aug 13 14:59:13 gmod-server: UPDATE: INFO: Available build:
Aug 13 14:59:13 gmod-server: UPDATE: INFO: 1214509 >
Aug 13 14:59:14 gmod-server: UPDATE: INFO: Starting SteamCMD
Aug 13 14:59:15 gmod-server: ALERT: INFO: Sending update alert
Aug 13 14:59:15 gmod-server: ALERT: INFO: Sending alert: ***********


Console log
====================
/home/ttt/log/console/gmod-server-console.log (LOG FILE IS EMPTY)


Server log
===================
/home/ttt/serverfiles/garrysmod/logs (NO LOG FILES)
Originally created by @ghost on GitHub (Aug 13, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1002 Can't run ist because i get an Error while update check ``` ttt@mightful-noobs:~$ ./gmodserver start [ .... ] Update gmod-server: Checking for update: SteamCMD/home/ttt/steamcmd/linux32/steamcmd: relocation error: /lib/i386-linux-gnu/librt.so.1: symbol __clock_nanosleep, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference [ FAIL ] Update gmod-server: Checking for update: SteamCMD: Not returning version info [ OK ] Update gmod-server: Checking for update: SteamCMD: Update available Update available: Current build: 1214509 Available build: https://steamdb.info/app/4020/ Applying update... [ OK ] Update gmod-server: SteamCMD ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. /home/ttt/steamcmd/linux32/steamcmd: relocation error: /lib/i386-linux-gnu/librt.so.1: symbol __clock_nanosleep, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference [ OK ] Alert gmod-server: Sending alert: ****************@hotmail.de ttt@mightful-noobs:~$ ``` I excluded my mailadress, but it is showen. Maillog: ``` gmod-server received update Distro Details ================================= Distro: Ubuntu 14.04.5 LTS Arch: x86_64 Kernel: 3.13.0-93-generic Hostname: mightful-noobs.de tmux: tmux 1.8 GLIBC: 2.19 Performance ================================= Uptime: 0d, 1h, 34m Avg Load: 0,00, 0,01, 0,05 Mem: total used free Physical: 31G 9,7G 21G Swap: 7,6G 0B 7,6G Storage ================================= Filesystem: /dev/sda4 Total: 221G Used: 9,6G Available: 201G Serverfiles: 3,6G Garry's Mod Server Details ================================= Server name: [EU] Mightful Noobs | TTT | Whitelisted Server IP: 62.138.2.36:1337 Server password: ******** RCON password: ******** Game mode: terrortown Tick rate: 66 Status: OFFLINE gmod-server Logs ================================= Script log =================== /home/ttt/log/script/gmod-server-script.log Aug 13 14:50:00 gmod-server: MONITOR: ERROR: command_monitor.sh exiting with code: 2 Aug 13 14:56:45 gmod-server: UPDATE: INFO: Checking for update: Server logs Aug 13 14:56:47 gmod-server: UPDATE: INFO: Checking for update: SteamCMD Aug 13 14:56:50 gmod-server: UPDATE: FATAL: Checking for update: SteamCMD: Not returning version info Aug 13 14:56:50 gmod-server: UPDATE: PASS: Checking for update: SteamCMD: Update available Aug 13 14:56:55 gmod-server: UPDATE: INFO: Update available Aug 13 14:56:55 gmod-server: UPDATE: INFO: Current build: 1214509 Aug 13 14:56:55 gmod-server: UPDATE: INFO: Available build: Aug 13 14:56:55 gmod-server: UPDATE: INFO: 1214509 > Aug 13 14:56:57 gmod-server: UPDATE: INFO: Starting SteamCMD Aug 13 14:56:57 gmod-server: ALERT: INFO: Sending update alert Aug 13 14:56:57 gmod-server: ALERT: INFO: Sending alert: ******* Aug 13 14:56:57 gmod-server: ALERT: PASS: Sending alert: *********** Aug 13 14:56:57 gmod-server: UPDATE: PASS: command_update.sh exiting with code: 0 Aug 13 14:59:03 gmod-server: UPDATE: INFO: Checking for update: Server logs Aug 13 14:59:05 gmod-server: UPDATE: INFO: Checking for update: SteamCMD Aug 13 14:59:08 gmod-server: UPDATE: FATAL: Checking for update: SteamCMD: Not returning version info Aug 13 14:59:08 gmod-server: UPDATE: PASS: Checking for update: SteamCMD: Update available Aug 13 14:59:13 gmod-server: UPDATE: INFO: Update available Aug 13 14:59:13 gmod-server: UPDATE: INFO: Current build: 1214509 Aug 13 14:59:13 gmod-server: UPDATE: INFO: Available build: Aug 13 14:59:13 gmod-server: UPDATE: INFO: 1214509 > Aug 13 14:59:14 gmod-server: UPDATE: INFO: Starting SteamCMD Aug 13 14:59:15 gmod-server: ALERT: INFO: Sending update alert Aug 13 14:59:15 gmod-server: ALERT: INFO: Sending alert: *********** Console log ==================== /home/ttt/log/console/gmod-server-console.log (LOG FILE IS EMPTY) Server log =================== /home/ttt/serverfiles/garrysmod/logs (NO LOG FILES) ```
Author
Owner

@UltimateByte commented on GitHub (Aug 13, 2016):

ping steamdb.info ?

<!-- gh-comment-id:239620305 --> @UltimateByte commented on GitHub (Aug 13, 2016): `ping steamdb.info` ?
Author
Owner

@ghost commented on GitHub (Aug 13, 2016):

PING steamdb.info (104.20.45.84) 56(84) bytes of data.
64 bytes from 104.20.45.84: icmp_seq=1 ttl=59 time=7.50 ms
64 bytes from 104.20.45.84: icmp_seq=2 ttl=59 time=4.55 ms
64 bytes from 104.20.45.84: icmp_seq=3 ttl=59 time=4.49 ms
64 bytes from 104.20.45.84: icmp_seq=4 ttl=59 time=4.44 ms
64 bytes from 104.20.45.84: icmp_seq=5 ttl=59 time=4.43 ms
64 bytes from 104.20.45.84: icmp_seq=6 ttl=59 time=4.47 ms
64 bytes from 104.20.45.84: icmp_seq=7 ttl=59 time=4.43 ms

<!-- gh-comment-id:239620358 --> @ghost commented on GitHub (Aug 13, 2016): PING steamdb.info (104.20.45.84) 56(84) bytes of data. 64 bytes from 104.20.45.84: icmp_seq=1 ttl=59 time=7.50 ms 64 bytes from 104.20.45.84: icmp_seq=2 ttl=59 time=4.55 ms 64 bytes from 104.20.45.84: icmp_seq=3 ttl=59 time=4.49 ms 64 bytes from 104.20.45.84: icmp_seq=4 ttl=59 time=4.44 ms 64 bytes from 104.20.45.84: icmp_seq=5 ttl=59 time=4.43 ms 64 bytes from 104.20.45.84: icmp_seq=6 ttl=59 time=4.47 ms 64 bytes from 104.20.45.84: icmp_seq=7 ttl=59 time=4.43 ms
Author
Owner

@UltimateByte commented on GitHub (Aug 13, 2016):

I'll try a fresh install too. It's already installing, i'll see if i can reproduce on my Debian.

<!-- gh-comment-id:239620401 --> @UltimateByte commented on GitHub (Aug 13, 2016): I'll try a fresh install too. It's already installing, i'll see if i can reproduce on my Debian.
Author
Owner

@ghost commented on GitHub (Aug 13, 2016):

also tried to disable firewall, and turn off autoupdate, don't check anymore, and didn't start either

I'm using Ubuntu 14.04 64-Bit

<!-- gh-comment-id:239620435 --> @ghost commented on GitHub (Aug 13, 2016): also tried to disable firewall, and turn off autoupdate, don't check anymore, and didn't start either I'm using Ubuntu 14.04 64-Bit
Author
Owner

@UltimateByte commented on GitHub (Aug 13, 2016):

OK, updateonstart is broken, at least if the server didn't start yet.
Disable updateonstart until it's fixed.

http://pastebin.com/c65WTPTW

<!-- gh-comment-id:239620527 --> @UltimateByte commented on GitHub (Aug 13, 2016): OK, updateonstart is broken, at least if the server didn't start yet. Disable updateonstart until it's fixed. http://pastebin.com/c65WTPTW
Author
Owner

@UltimateByte commented on GitHub (Aug 13, 2016):

Also, there are segfaults on a fresh install.
I suspect the glibc fix to be broken.

Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
./srcds_run: line 372: 13691 Segmentation fault      $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat 13 Aug 15:22:35 CEST 2016: Server restart in 10 seconds
quit

Related http://steamcommunity.com/groups/linuxgsm/discussions/0/360672137538529629/

<!-- gh-comment-id:239620704 --> @UltimateByte commented on GitHub (Aug 13, 2016): Also, there are segfaults on a fresh install. I suspect the glibc fix to be broken. ``` Auto detecting CPU Using default binary: ./srcds_linux Server will auto-restart if there is a crash. ./srcds_run: line 372: 13691 Segmentation fault $HL_CMD Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Sat 13 Aug 15:22:35 CEST 2016: Server restart in 10 seconds quit ``` Related http://steamcommunity.com/groups/linuxgsm/discussions/0/360672137538529629/
Author
Owner

@UltimateByte commented on GitHub (Aug 13, 2016):

OK, i disabled glibc fix for now until we fixed the fix (lol). github.com/dgibbs64/linuxgsm@9e3148cb2b (diff-261fcf3867)

It seems to have fixed the updateonstart too.

You should now be able to install and start your server properly

  1. run this to update your functions
    ./gmodserver uf
  2. Start over
    rm -R lgsm/lib
    (if your server is empty) : rm -R serverfiles
    ./gmodserver install
<!-- gh-comment-id:239621686 --> @UltimateByte commented on GitHub (Aug 13, 2016): OK, i disabled glibc fix for now until we fixed the fix (lol). https://github.com/dgibbs64/linuxgsm/commit/9e3148cb2b21ca528bf8090dd8c48a93066273c3#diff-261fcf3867f75d127d9098d6a56a7eb2 It seems to have fixed the updateonstart too. You should now be able to install and start your server properly 1) run this to update your functions ./gmodserver uf 2) Start over rm -R lgsm/lib (if your server is empty) : rm -R serverfiles ./gmodserver install
Author
Owner

@UltimateByte commented on GitHub (Aug 13, 2016):

Fixed
Please let us know if it's now allright for you so that we can close this issue.

<!-- gh-comment-id:239623038 --> @UltimateByte commented on GitHub (Aug 13, 2016): Fixed Please let us know if it's now allright for you so that we can close this issue.
Author
Owner

@ghost commented on GitHub (Aug 14, 2016):

Works now, reloaded it complete, installed fresh, all fine now including the autoupdate.
Thanks

<!-- gh-comment-id:239677539 --> @ghost commented on GitHub (Aug 14, 2016): Works now, reloaded it complete, installed fresh, all fine now including the autoupdate. Thanks
Author
Owner

@UltimateByte commented on GitHub (Aug 14, 2016):

Allright :)
Thanks for the feedback !

<!-- gh-comment-id:239677581 --> @UltimateByte commented on GitHub (Aug 14, 2016): Allright :) Thanks for the feedback !
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 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:406174136 --> @lock[bot] commented on GitHub (Jul 19, 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#793
No description provided.