SRCDS Steam group


Errors when starting TF2 server
#1
Hi,
So I just installed game files for team fortress 2 on ubuntu linux 64bit. When i try to start the server, i get a number of errors and i can't find my server in TF2. My startup command is:
Code:
./srcds_run -game tf -autoupdate -maxplayers 10 +map ctf_2fort
The first error that comes up is:
Code:
WARNING: Failed to locate steam binary.
WARNING: Could not locate steam binary:, ignoring.
Then it runs a bunch of other stuff, and then:
Code:
Failed to load $include VMT file (materials/GLASS/GLASSWINDOW001A.vmt)
It repeats this for about 60 lines with various file names and then:
Code:
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
Initializing Steam libraries for secure Internet server
Failed to load Steam Service
ServiceStart: failed to start
Then some other stuff and:
Code:
'ctf_2fort.cfg' not present; not executing.
Connection to Steam servers successful.
     Public IP is xx.xxx.xx.xxx.
     VAC secure mode is activated.
Current item schema is up-to-date with version 45454E1E.
tf_server_identity_account_id not set; not logging into registered account.

Did i miss a step when i installed the hldsupdatetool or something?

OS: Ubuntu Linux Server edition 64bit
CPU: Intel® Core™2 CPU 6300 @ 1.86GHz
RAM: 6GB
Game: Team Fortress 2
My server.cfg is:
Code:
// General Settings //

// Hostname for server.
hostname yourserver.com TF2 Server

// Overrides the max players reported to prospective clients
sv_visiblemaxplayers 24

// Maximum number of rounds to play before server changes maps
mp_maxrounds 5

// Set to lock per-frame time elapse
host_framerate 0

// Set the pause state of the server
setpause 0

// Control where the client gets content from
// 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only
sv_pure 0

// Is the server pausable
sv_pausable 0

// Type of server 0=internet 1=lan
sv_lan 0

// Whether the server enforces file consistency for critical files
sv_consistency 1

// Collect CPU usage stats
sv_stats 1



// Execute Banned Users //
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip



// Contact & Region //

// Contact email for server sysop
sv_contact jeremylig@yahoo.com

// The region of the world to report this server in.
// -1 is the world, 0 is USA east coast, 1 is USA west coast
// 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_region 1



// Rcon Settings //

// Password for rcon authentication
rcon_password JerDavidLig

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 1440

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 5



// Log Settings //

// Enables logging to file, console, and udp < on | off >.
log on

// Log server information to only one file.
sv_log_onefile 0

// Log server information in the log file.
sv_logfile 1

// Log server bans in the server logs.
sv_logbans 1

// Echo log information to the console.
sv_logecho 1



// Rate Settings //

// Frame rate limiter
fps_max 600

// Min bandwidth rate allowed on server, 0 == unlimited
sv_minrate 0

// Max bandwidth rate allowed on server, 0 == unlimited
sv_maxrate 20000

// Minimum updates per second that the server will allow
sv_minupdaterate 10

// Maximum updates per second that the server will allow
sv_maxupdaterate 66



// Download Settings //

// Allow clients to upload customizations files
sv_allowupload 1

// Allow clients to download files
sv_allowdownload 1

// Maximum allowed file size for uploading in MB
net_maxfilesize 15



// Team Balancing //

// Enable team balancing
mp_autoteambalance 1

// Time after the teams become unbalanced to attempt to switch players.
mp_autoteambalance_delay 60

// Time after the teams become unbalanced to print a balance warning
mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teams_unbalance_limit 1



// Round and Game Times //

// Enable timers to wait between rounds. WARNING: Setting this to 0 has been known to cause a bug with setup times lasting 5:20 (5 minutes 20 seconds) on some servers!
mp_enableroundwaittime 1

// Time after round win until round restarts
mp_bonusroundtime 8

// If non-zero, the current round will restart in the specified number of seconds
mp_restartround 0

//Enable sudden death
mp_stalemate_enable 1

// Timelimit (in seconds) of the stalemate round.
mp_stalemate_timelimit 300

// game time per map in minutes
mp_timelimit 35



// Client CVARS //

// Restricts spectator modes for dead players
mp_forcecamera 0

// toggles whether the server allows spectator mode or not
mp_allowspectators 1

// toggles footstep sounds
mp_footsteps 1

// toggles game cheats
sv_cheats 0

// After this many seconds without a message from a client, the client is dropped
sv_timeout 900

// Maximum time a player is allowed to be idle (in minutes), made this and sv_timeout equal same time?
mp_idlemaxtime 15

// Deals with idle players 1=send to spectator 2=kick
mp_idledealmethod 2

// time (seconds) between decal sprays
decalfrequency 30



// Communications //

// enable voice communications
sv_voiceenable 1

// Players can hear all other players, no team restrictions 0=off 1=on
sv_alltalk 0

// amount of time players can chat after the game is over
mp_chattime 10

// enable party mode
// tf_birthday 1

Thanks!
Reply
#2
Ignore them, they're harmless Smile
Reply
#3
But it doesn't show up in TF2. Not even in LAN, so it can't be a router issue.
Reply
#4
Those are all harmless errors (except it won't autoupdate unless you make a symlink of steam in your game server folder). You could try changing -maxplayers to +maxplayers (note the + instead of the -), and see what happens.
[Image: 76561198006409530.png]
If I helped you, I would love some rep. Smile
Reply
#5
Same thing, nothing shows up in either LAN or internet. Anybody know whats wrong?
Reply
#6
I did some more troubleshooting and got some more info. When i add the hostport and ip to the startup command lile this:
Code:
./srcds_run -game tf -autoupdate +maxplayers 10 +map ctf_2fort -hostport 27015 -ip xx.xxx.xx.xxx
I get an error that says:
Code:
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port

Does that that make any sense to anyone?
Reply
#7
(11-12-2011, 11:27 AM)TigerFire Wrote:  I did some more troubleshooting and got some more info. When i add the hostport and ip to the startup command lile this:
Code:
./srcds_run -game tf -autoupdate +maxplayers 10 +map ctf_2fort -hostport 27015 -ip xx.xxx.xx.xxx
I get an error that says:
Code:
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port

Does that that make any sense to anyone?

That means you tried to assign a IP to your tf server which is not available ( connected to) your pc.
This happens if your behind a router and you try to assign your external address ( from eg: whatismyip.com ) to your tf server.

You can only assign IP's to your tf server listed in
Code:
ifconfig
(That's a commnd to run, look in the output for inet adr )

If that's not the case, make sure there isn't another srcds server running. It could also mean that the port (27015) is in use already.

Third and last tip, Try -port instead of -hostport.
Reply
#8
Ah, that makes sense, but it still doesn't work. Just to clarify, ports 2700 through 27015 are the ones that need to be forwarded, right?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)