Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS: Condition Zero fails to start after install #1450

Closed
ghost opened this issue May 27, 2017 · 39 comments
Closed

CS: Condition Zero fails to start after install #1450

ghost opened this issue May 27, 2017 · 39 comments
Labels
type: bug Something isn't working

Comments

@ghost
Copy link

ghost commented May 27, 2017

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 linux@valvesoftware.com
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.

@UltimateByte
Copy link
Contributor

UltimateByte commented May 28, 2017

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/

@ghost
Copy link
Author

ghost commented May 28, 2017

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.

@UltimateByte
Copy link
Contributor

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

@UltimateByte
Copy link
Contributor

UltimateByte commented Jun 4, 2017

Same issue with 1.6 it seems.
#1457

@Twonkk
Copy link

Twonkk commented Jun 4, 2017

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..

@UltimateByte
Copy link
Contributor

@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.

@Twonkk
Copy link

Twonkk commented Jun 4, 2017

@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

@broonu
Copy link

broonu commented Jun 5, 2017

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 linux@valvesoftware.com
Mon Jun  5 16:37:31 BRT 2017: Server restart in 10 seconds

@Twonkk
Copy link

Twonkk commented Jun 5, 2017

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

@broonu
Copy link

broonu commented Jun 6, 2017

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.

@UltimateByte
Copy link
Contributor

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

@MarkL4YG
Copy link

MarkL4YG commented Jun 6, 2017

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

@josecarlosweb
Copy link

josecarlosweb commented Jun 17, 2017

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.

@MarkL4YG
Copy link

MarkL4YG commented Jun 17, 2017

email debug.log to linux@valvesoftware.com

So... what does that log say?

@Twonkk
Copy link

Twonkk commented Jun 17, 2017

@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

@josecarlosweb
Copy link

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 linux@valvesoftware.com
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.

@Twonkk
Copy link

Twonkk commented Jun 17, 2017

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

app_update 90 +app_set_config 90 mod czero validate

@josecarlosweb
Copy link

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$

@Twonkk
Copy link

Twonkk commented Jun 17, 2017

What's the output for ./csczserver debug ?

@ghost
Copy link

ghost commented Jun 20, 2017

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 linux@valvesoftware.com Sat Jun 17 15:52:32 UTC 2017: Server restart in 10 seconds

I get this same error on DigitalOcean.

@Twonkk
Copy link

Twonkk commented Jun 20, 2017

@moshifan100

I had no issues with the csczserver file but others seam too be, so a solution to your issue would be to follow this

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 +app_set_config 90 mod czero validate
quit
cd ../ <--- again, two periods and forward slash

./csczserver start

@ghost
Copy link

ghost commented Jun 20, 2017

I tried this, it failed. When I tried to start it, there were missing files and this only happened when I did that. This did not happen when I used anonymous account.

@ghost
Copy link
Author

ghost commented Jun 20, 2017

@Moshifan100 Are you looking to fix this or just looking to get your server up and running? I got it running by just fetching a backup from earlier and set it up as a new server, can provide you with a link to download the tar file if your sole goal is to get a server online you can play on.

@ghost
Copy link

ghost commented Jun 21, 2017

I'm just looking to set up a server, so it would be great if you could send me the tar file.

@broonu
Copy link

broonu commented Jun 21, 2017 via email

@Twonkk
Copy link

Twonkk commented Jun 22, 2017

it really boggles my mind that no one can get the steps i posted to work, except me... and ive been doing it on 10+ machines now....... /shrug

@UltimateByte
Copy link
Contributor

UltimateByte commented Jun 22, 2017

@Twonkk LGSM staff or somebody that really wants it fixed will eventually get it and add the workaround to LGSM.

@mathieuduperre
Copy link

I confirm this is indeed a problem (and its probably not related to lsgm). We have the same issue on ubuntu 16, and ubuntu 14 (both baremetal and aws). We tried CS16, cscz, csgo. all the same problem. I even get this error manually with steamcmd (not through lsgm). Twonkk fix did not work (tried many times in different ways).

here's a debug log in case someone wants it. i guess i'll look for a tar of the game files for now.

csczserver@ipx-x-x-x:~$ ./csczserver debug

Counter-Strike: Condition Zero Debug

Distro: Ubuntu 16.04.2 LTS
Arch: x86_64
Kernel: 4.4.0-66-generic
Hostname: ip-x-x-x-x
tmux: tmux 2.1
Avg Load: 1.00, 1.00, 1.00
Free Memory: 3.9G
Free Disk: 21G
GLIBC required: 2.3.4
Server IP: x.x.x.x:27015
Server password: NOT SET

Start parameters:
./hlds_run -game czero -strictportbind +ip x.x.x.x -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 cscz-server is already running it will be stopped.

Continue? [Y/n] Y
[ INFO ] Debug cscz-server: Stopping any running servers
[ INFO ] Stopping cscz-server: LinuxGSM is already stopped
[ 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
FATAL ERROR (shutting down): W_LoadWadFile: couldn't load gfx.wad
email debug.log to linux@valvesoftware.com
Thu Jul 13 14:19:16 UTC 2017: Server restart in 10 seconds
[ OK ] Debug cscz-server: Closing debug

@williamknn
Copy link

williamknn commented Jul 15, 2017

The fix sent by @Twonkk did work for me in a Ubuntu Server 16.04 LTS.

@williamknn
Copy link

williamknn commented Jul 15, 2017

I search by the error because my server won't starts and when I ran this workaround, I was able to start my server. But now I cannot find my server. So, I looked deeper and found the same error again. Here's my logs and details: https://hastebin.com/asujifaful

I'm running the server in an AWS EC2 t2.micro instance (should I upgrade the instance?) and this is the ports I've opened in my security group (inbound rules):

inbound_rules

@williamknn
Copy link

@UltimateByte can you help me with this issue, please?

@michaelshmitty
Copy link

Same problem here. Tried the fixes (logging in with an actual steam account instead of logging in anonymously), always the same problem. gfx.wad not found.
It looks like the steamcommand just doesn't download all the necessary files to run this.
I ran into this issue without LinuxGSM as well, so is this a Steam / Valve problem? Have they just pulled the content? What a pita to get a simple cs server set up...

@broonu
Copy link

broonu commented Jul 26, 2017 via email

@JulienRamel
Copy link

So... the only solution is to wait for a download fix from Steam?

Had the same issue and tried to copy the files from my Mac, but now I get...
FATAL ERROR (shutting down): Couldn't find 'decals.wad' in "DEFAULTGAME" search path

@ghost
Copy link
Author

ghost commented Oct 7, 2017

Finally got this working after being determined to find a solution. It has nothing to do with the login as @Twonkk suggests. Instead, it's a rather old bug that seems to have re-appeared.

Noticed that there also has been created an issue specific to the matter #1637

Solution? Simple, @dgibbs64 posted it 5 years ago.

You need the manifest files located at https://github.com/dgibbs64/HLDS-appmanifest, tho, the location of where the manifest files needs to go, is not accurate, they need to go into serverfiles/steamapps

Basically, if you're trying to install Counter Strike 1.6, use the main files in the repo, that would be

appmanifest_10.acf
appmanifest_70.acf
appmanifest_90.acf

and place them in serverfiles/steamapps and install the server again

If you're trying to install Condition Zero, use the appmanifest_90.acf in the czero folder instead of the default appmanifest_90.acf

Successfully installed the server without any hiccups (Had to re-run the install a couple of times as it stopped and failed in the middle of the process, this is normal behavior as Steam barely does anything right) using those manifest files after reading https://forums.alliedmods.net/showthread.php?t=297163

@michaelshmitty
Copy link

@fjeddy many thanks for your effort in getting to the bottom of this. I'll try this out as soon as I can and get back here with results. Cheers!

@dgibbs64
Copy link
Member

dgibbs64 commented Oct 8, 2017

I am reviewing my appmanifest repo to provide the fix for this. Thanks Valve for bringing back a really old bug!

@dgibbs64
Copy link
Member

dgibbs64 commented Oct 8, 2017

I have updated the repo https://github.com/dgibbs64/HLDS-appmanifest

@lock
Copy link

lock bot commented Dec 16, 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.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants