halflife icon indicating copy to clipboard operation
halflife copied to clipboard

cs 1.6 linux dedicated server (hlds) - FATAL ERROR (shutting down): Game listing file size is bogus [liblist.gam: size 1241736192]

Open mvrk69 opened this issue 9 months ago • 1 comments

Hi,

I'm trying to setup a cs 1.6 dedicated server (hlds) on linux, but i'm not able to run it, it crashes.

I downloaded with steamcmd.sh: force_install_dir ../ login anonymous app_update 90 -beta steam_legacy app_set_config 90 mod cstrike +quit app_update 90 -beta steam_legacy validate

Already tried also with -beta beta and without any beta.

When i run it, it crashes:

sudo -u hlds ./hlds_run -game cstrike -port 27015 +ip xxx.xxx.xxx.xxx +sys_ticrate 10000 +sv_maxupdaterate 100 -game cstrike +maxplayers 20 +map de_dust -pidfile hlds.pid Auto-restarting the server on crash

Console initialized. Using breakpad crash handler Setting breakpad minidump AppID = 10 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit 03/20 22:51:59 minidumps folder is set to /tmp/dumps 03/20 22:51:59 Init: Installing breakpad exception handler for appid(10)/version(8684)/tid(2005019) _stat on file /mnt/storage1/games/steam/hlds/./cstrike/liblist.gam which appeared to exist failed!!! _stat on file /mnt/storage1/games/steam/hlds/./cstrike/liblist.gam which appeared to exist failed!!! _stat on file /mnt/storage1/games/steam/hlds/./cstrike/liblist.gam which appeared to exist failed!!! _stat on file /mnt/storage1/games/steam/hlds/./cstrike/liblist.gam which appeared to exist failed!!! FATAL ERROR (shutting down): Game listing file size is bogus [liblist.gam: size 2031379200] email debug.log to [email protected] Thu 20 Mar 22:51:59 CET 2025: Server restart in 10 seconds

mvrk69 avatar Mar 20 '25 21:03 mvrk69

So after several tests, it seems the bug is when the data is on a nfs filesystem.

I runned hlds in a container, first downloading all the game data with steamcmd on build time of the container image, and it runs fine.

Then i build the container without the game data, and mounted an nfs filesystem with the game data on the container and gives the _stat error.

mvrk69 avatar Mar 21 '25 17:03 mvrk69