LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

CS: Condition Zero fails to start after install

Open ghost opened this issue 9 years ago • 39 comments

Attempted roughly 50 different re-installs the last 72 hours on both Ubuntu 16.04, Ubuntu 14.04 and Ubuntu 12.04 using both 64-bit and 32-bit. As well as Debian 7.

All of them, regardless of how many validates and re-installs i attempt, return the following on debug

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 80
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad
email debug.log to [email protected]
Sat May 27 20:01:49 UTC 2017: Server restart in 10 seconds

Installation of a Condition Zero server using LinuxGSM can therefor be considered broken.

ghost avatar May 27 '17 20:05 ghost

Reproduced the issue on Debian 8 x64. Not sure where it comes from, maybe a change from Valve possibly to SteamCMD according to this https://steamcommunity.com/app/50/discussions/0/540737414276625248/ ) https://steamdb.info/app/90/history/

UltimateByte avatar May 28 '17 14:05 UltimateByte

The thread you are referring to is from 2014, this problem is much more recent. Unless of course the same has happend again. Installed CZ successfully multiple times a few months ago.

ghost avatar May 28 '17 14:05 ghost

The thread i linked is also for windows. But since i got no clue, i consider any possibility.

UltimateByte avatar May 28 '17 14:05 UltimateByte

Same issue with 1.6 it seems. #1457

UltimateByte avatar Jun 04 '17 00:06 UltimateByte

Thanks @ultimatebyte, wasn't sure if I should have posted here with the CZ issue or just make my own...

Anyways, I did some testing today and did manage to make a work around.. I am in the process of replicating my workaround.. if I can do it again, I'll post and try and get a pull request if I can..

Twonkk avatar Jun 04 '17 03:06 Twonkk

@Twonkk CZ and 1.6 are pretty similar in the way they're handled by SteamCMD and of course by LGSM.

Good to hear that you found a way to get it to work. Please share when you find it back.

UltimateByte avatar Jun 04 '17 11:06 UltimateByte

@UltimateByte, thanks to @Gamma_Gandalph in Discord, using steam account with steam cmd fix's both games..

steps i used are;

log into user account that manages CS or CZ rm -R serverfiles <--- Just to be safe cd steamcmd ./steamcmd.sh login user password <-- MUST USE STEAM ACCOUNT WITH ACCESS TO GAME force_install_dir ../serverfiles <--- Thats two periods and forward slash
app_update 90 validate quit cd ../ <--- again, two periods and forward slash

./csserver start

works no problem now.. Looks like CS/CZ scripts need an update for steam accounts. i don't even know where to start to put a pull request in for... =D

Twonkk avatar Jun 04 '17 13:06 Twonkk

This workaround didn't work here for CS 1.6.

csserver@mediaserver:~/steamcmd$ ./steamcmd.sh
Redirecting stderr to '/home/csserver/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Steam>login broonu ***************
Logging in user 'broonu' to Steam Public...
Enter the current code from your Steam Guard Mobile Authenticator app
Two-factor code:*****
Logged in OK
Waiting for license info...OK

Steam>force_install_dir ../serverfiles

Steam>app_update 90 validate
 Update state (0x5) validating, progress: 0.00 (0 / 66393415)
 Update state (0x5) validating, progress: 75.86 (50364437 / 66393415) <---- this never gets 100%
Success! App '90' fully installed.

Steam>quit

Steam>csserver@mediaserver:~/steamcmd$ cd ..
csserver@mediaserver:~$ ./csserver d

Counter-Strike 1.6 Debug
=================================

Distro: Debian GNU/Linux 8 (jessie)
Arch:   x86_64
Kernel: 3.16.0-4-amd64
Hostname:       mediaserver
tmux:   tmux 1.9
Avg Load:       0.30, 0.38, 0.34
Free Memory:    4.6G
Free Disk:      9.4G
GLIBC required: 2.3.4
Server IP:      AAA.BBB.CCC.DDD:27015
Server password:        NOT SET

Start parameters:
./hlds_run -game cstrike -strictportbind +ip AAA.BBB.CCC.DDD -port 27015 +clientport 27005 +map de_dust2 -maxplayers 16 -debug

Use for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If cs-server is already running it will be stopped.

Continue? [Y/n] Y
[ INFO ] Debug cs-server: Stopping any running servers
[ INFO ] Stopping cs-server: LinuxGSM is already stopped
[  OK  ] Debug cs-server: Starting debug
Enabling debug mode
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
FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad
email debug.log to [email protected]
Mon Jun  5 16:37:31 BRT 2017: Server restart in 10 seconds

broonu avatar Jun 05 '17 19:06 broonu

But did you >rm -R serverfiles/ ???

Twonkk avatar Jun 05 '17 21:06 Twonkk

Yes, I did. They closed my post about this issue, but it's not working even using steam account. I installed Steam in my windows machine, downloaded the game and uploaded the folder to linux server and it's working.

Update state (0x5) validating, progress: 75.86 (50364437 / 66393415) <---- this never gets 100% With LinuxGSM the download is always incomplete.

broonu avatar Jun 06 '17 14:06 broonu

@broonu We closed because your post was a duplicate of this one.

UltimateByte avatar Jun 06 '17 17:06 UltimateByte

@broonu I wouldn't call SteamCMD not completing its validation phase a bug of LGSM...

MarkTwoFive avatar Jun 06 '17 21:06 MarkTwoFive

I have the same problem. I have ubuntu x64 16.04LTS. Please, someone help me? I did the Twonkk solution many times, but does not work.

josecarlosweb avatar Jun 17 '17 00:06 josecarlosweb

email debug.log to [email protected]

So... what does that log say?

MarkTwoFive avatar Jun 17 '17 09:06 MarkTwoFive

@josecarlosweb i can tell you, it works if it's done correctly. i have used that method multiple times.. Debian, Ubuntu, CentOS servers...

EDIT: just made a cz server, followed the directions at https://gameservermanagers.com/lgsm/csczserver/ and it installed with no problems..

[ OK ] Debug cscz-server: Starting debug Enabling debug mode ./hlds_run: 1: ./hlds_run: gdb: not found Please install gdb first. goto http://www.gnu.org/software/gdb/ Auto-restarting the server on crash Console initialized. Using breakpad crash handler Setting breakpad minidump AppID = 80 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Protocol version 48 Exe version 1.0.0.3/Stdio (czero) Exe build: 13:12:29 Aug 29 2013 (6153) STEAM Auth Server Server IP address 192.168.1.13:27015 Navigation map loaded. [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit couldn't exec listip.cfg couldn't exec banned.cfg Connection to Steam servers successful. VAC secure mode is activated.

Other then gdb not being installed, everything loaded with no issues

Twonkk avatar Jun 17 '17 14:06 Twonkk

Sorry, i'm trying install on droplet of digital ocean. The same problem is here. The error is: FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad. The out of debug is:

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 80
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad
email debug.log to [email protected]
Sat Jun 17 15:52:32 UTC 2017: Server restart in 10 seconds

The download never complete, no matter how many times I've tried.

josecarlosweb avatar Jun 17 '17 15:06 josecarlosweb

if you follow the post above i made, and add this into it..

app_update 90 +app_set_config 90 mod czero validate

Twonkk avatar Jun 17 '17 16:06 Twonkk

The out is:

czserver@czserver:~/steamcmd$ rm -R ../serverfiles
czserver@czserver:~/steamcmd$ ./steamcmd.sh +login touchmx ****** +force_install_dir /home/czserver/serverfiles +app_update 90 +app_set_config 90 mod czero validate +quit

Redirecting stderr to '/home/czserver/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

Logging in user 'touchmx' to Steam Public...Logged in OK
Waiting for user info...OK
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x61) downloading, progress: 1.44 (954176 / 66393415)
 Update state (0x61) downloading, progress: 47.76 (31711578 / 66393415)
Success! App '90' fully installed.
czserver@czserver:~/steamcmd$

josecarlosweb avatar Jun 17 '17 16:06 josecarlosweb

What's the output for ./csczserver debug ?

Twonkk avatar Jun 17 '17 19:06 Twonkk

The output is the same as above, which you might not have seen, so here it is

Console initialized. Using breakpad crash handler Setting breakpad minidump AppID = 80 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad email debug.log to [email protected] Sat Jun 17 15:52:32 UTC 2017: Server restart in 10 seconds

I get this same error on DigitalOcean.

ghost avatar Jun 20 '17 08:06 ghost