SRCDS Steam group


[SOLVED] Team Fortress 2 - Unable to load Steam support library
#1
Hey,

I'm having troubles starting a Team Fortress 2 server on Linux, Ubuntu, 64-bit. I've tried this on 4 different servers, with the same result. I guess there is a few corrupted files in the HLDSUpdateTool downloader. I've done 2 fully re-installations on two different physical servers. Still the same problem.

There's NO addons or anything installed. (not even cfgs)
Everything is a 100% copy of the download from HLDSUpdateTool.

Other game servers, like CS:GO, CS:S, CS 1.6 and CS:CZ works just fine.

Launch options:
./srcds_run -game tf -autoupdate -maxplayers 24 +map cp_badlands

The problem:
Quote:[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
*********************************************************
*********************************************************
* Unable to load Steam support library.*
* Unable to load Steam support library.*
* This server will operate in LAN mode only.*
* This server will operate in LAN mode only.*
*********************************************************
*********************************************************

Here's the servers console: (full preview, nothing happends after this output)
[Image: KZ8g1.png]
Reply
#2
Hi, fresh install today for me as well and I get the exact same log. My server is also 64-bit, on Gentoo.

Code:
HLDS installation up to date
Running a benchmark to measure system clock frequency...
Finished RDTSC test. To prevent the startup delay from this benchmark, set the environment variable RDTSC_FREQUENCY to 2399.000000 on this system. This value is dependent upon the CPU clock speed and architecture and should be determined separately for each server. The use of this mechanism for timing can be disabled by setting RDTSC_FREQUENCY to 'disabled'.
Using breakpad minidump system
Using breakpad crash handler

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/home/steam/source/orangebox/tf/replay/server/tmp/" ...no files removed.
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Installing breakpad exception handler for appid(0)/version(5028)
Unknown command "r_decal_cullsize"
Unknown command "startupmenu"
Network: IP XXX.XXX.XXX.XXX, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Initializing Steam libraries for secure Internet server
*********************************************************
*********************************************************
*       Unable to load Steam support library.*
*       Unable to load Steam support library.*
*       This server will operate in LAN mode only.*
*       This server will operate in LAN mode only.*
*********************************************************
*********************************************************
'server.cfg' not present; not executing.
'cp_badlands.cfg' not present; not executing.
Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)

Edit: I don't have the SteamAPI_Init error as you do though... Not sure if it's better or worse...
Reply
#3
Well, found a solution over at the steam forums : http://forums.steampowered.com/forums/showthread.php?t=2896207.

Create the file orangebox/steam_appid.txt (next to srcds_run).
Content of the file should be:
Code:
440
Reply
#4
Thank you thank you thank you. This worked. I thought it was ubuntu 64 bit but 32 bit messes up too.
Reply
#5
Confirmed fixed for my server. Thanks for the link!
Reply
#6
Thank you very much! I'll add [SOLVED] now!
Reply
#7
Confirmed fix for my server as well

THANK YOU SO MUCH!
Reply
#8
thanks - that helped me after tearing my hair out all day!
Reply
#9
I have the same error, the file was already there.
Mine only has this, though:
Code:
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Reply
#10
This is a really good article. I think this is territorial io one of the best entries I've ever read. Your work is outstanding and motivating. I appreciate you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)