HLDS Fails Via SteamCMD On Every Linux Distro

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
tenub
A semi-regular
A semi-regular
Posts: 29
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Aug 27, 2013 6:28 am

HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

Have tried fresh installs of CentOS 6.4 x64, Debian 7 x64, Gentoo x86, and Ubuntu 13.04 x64. No matter what I receive the following error when attempting to start HLDS:

Code: Select all

Auto-restarting the server on crash

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)
STEAM Auth Server
Server IP address XX.XX.XXX.XXX:XXXXX
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
FATAL ERROR (shutting down): Unable to initialize Steam.
From a strait OS install this has been my install process:
  • ensure 32 bit libraries are installed if using x64 OS
  • navigate to /home/gs
  • wget steamcmd then extract
  • ./steamcmd.sh +login anonymous +force_install_dir ./bhop +app_set_config 90 mod cstrike +app_update 90 validate +quit
  • repeat 5 or so times until it all validates
  • navigate to /home/gs/bhop
  • ./hlds_run -console -game cstrike +maxplayers 16 +map de_dust +ip XX.XX.XXX.XXX +port XXXXX
And no matter what I'm presented with the EXACT same fatal error message.

Please, I REALLY do not want to have done this to just have to go back to Windows. I've spent half a day trying to figure this nonsense out.
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by Edge100x »

Are you (temporarily) running this as root and does the folder and lib that it's trying to load exist? It should also exist in the folder you're executing hlds_run from -- what does your directory listing contain for that folder?
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

Yes, I'm running this as root after every fresh install because I didn't think it mattered. steamclient.so exists in '/home/gs/bhop' (location of hlds_run) and '/home/gs/linux32'.

'/home/gs/bhop' contents:

67f8f576406bb933e1afff8f1869f72d5051fbb4
hlds_run
steam_appid.txt
core.so
hltv
steamclient.so
crashhandler.so
libgcc_s.so.1
valve
cstrike
libSDL2.so
vgui2.so
debug.cmds
libstdc++.so.6
vgui.so
debug.log
libsteam_api.so
voice_miles.so
demoplayer.so
libsteam.so
voice_silk.so
engine_i486.so
libtier0.so
voice_speex.so
filesystem_stdio.so
libvstdlib.so
hlds_linux
proxy.so
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

I created a user and added to sudo group, downloaded and installed/verified everything inside the user's home folder and still receive a similar error:

Code: Select all

Auto-restarting the server on crash

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/jchrzan/.steam/sdk32/steamclient.so
with error:
/home/jchrzan/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)
STEAM Auth Server
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address 74.91.121.182:27015
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
/home/jchrzan/.steam/sdk32/steamclient.so
with error:
/home/jchrzan/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
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.
google tells us that the steamclient.so error is normal and doesn't affect anything, so something else must be causing the problem.
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

Copied the file from dir containing 'hlds_run' and 'steamclient.so' to where it is trying to look and this is what I receive now:

Code: Select all

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
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 17:45:07 Apr 25 2013 (6027)
STEAM Auth Server
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address XX.XX.XXX.XXX:XXXXX
[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.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by soja »

Tenub, add me on steam so we can do some more realtime troubleshooting
Http://steamcommunity.com/id/soja992

I will be home in about 3 hours
Not a NFO employee
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

And I will be home in ~4 hours. :)
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by Edge100x »

tenub, your last output suggests that it's working properly now.
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

But aren't I supposed to see cvar settings and a round start message and other stuff? And what about the SteamAPI_Init() & SteamAPI_IsSteamRunning() errors?
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by Edge100x »

The errors that you're still seeing are normal and always show.

To see more log entries, you'll need "log on" at the top of your autoexec.cfg, or "+log on" in your command line.
tenub
A semi-regular
A semi-regular
Posts: 29
Joined: Tue Aug 27, 2013 6:28 am

Re: HLDS Fails Via SteamCMD On Every Linux Distro

Post by tenub »

Thank you so much for your patience and help, as I realize support is not required for an unmanaged VDS. With "+log on" everything appears as it did when I had HLDS running on Windows. For now my issue is resolved. Thanks again!
Post Reply