SRCDS Steam group


Random Crashing
#1
Hello I have a Team Fortress 2 Server, running on my VPS I just set it up yesterday, I had to work around the seg fault issue by setting the restart timeout to 0, and wait until it finally starts, it works but after a little while the server crashes for no reason.

Ubuntu 8.04: Kernel Version: 2.6.18.8 (it isn't possible for me to update my kernel)

Startup
Code:
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Could not locate steam binary:./steam, ignoring.

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 16
maxplayers set to 16
Unknown command "startupmenu"
Network: IP 72.14.184.73, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
exec: couldn't exec skill1.cfg
Executing dedicated server config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
exec banned_user.cfg: file size larger than 1 MB!
exec banned_ip.cfg: file size larger than 1 MB!
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Server logging enabled.
Server logging data to file logs/L0302056.log
L 03/02/2009 - 21:57:58: Log file started (file "logs/L0302056.log") (game "/var/steam/srcds_l/orangebox/tf") (version "3761")
Unknown command "Download"
L 03/02/2009 - 21:57:58: server_cvar: "mp_autoteambalance" "0"
L 03/02/2009 - 21:57:58: server_cvar: "mp_stalemate_enable" "1"
L 03/02/2009 - 21:57:58: server_cvar: "mp_timelimit" "35"
L 03/02/2009 - 21:57:58: server_cvar: "decalfrequency" "30"
L 03/02/2009 - 21:57:58: server_cvar: "sv_alltalk" "1"
exec: couldn't exec ctf_2fort.cfg
Adding master server 72.165.61.189:27011
Adding master server 69.28.140.246:27011
Connection to Steam servers successful.
   VAC secure mode is activated.

server.cfg I based mine on this sample

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 1

// 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 emailaddy@google.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 0



// Rcon Settings //

// Password for rcon authentication
rcon_password yourpw

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

// Eanble 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

Am I just going to have to wait for a fix? odd things happen like it randomly disconnecting from VAC. And yes I have tried updating and verifying
Reply
#2
From what I hear and read, it is due to an out dated kernel.
[Image: b_560x95.png]
My site - http://codyt07.com
Reply
#3
This is prolly due to the fact your using VPS dedicated servers don't run very well on a VPS.
*Windows lack of output*
You: Hey, I want to run this program!
Windows: Ok.. It crashed... Now what? Give up?
You:...wtf...
*linux output helpful?*
You: ./My_program
Linux:...Failed!...oo kitties!
You:...wtf...
Reply
#4
Alright fixed it, I didn't know my host gave the option to change kernels =) Are [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway. and the other errors anything to worry about?
Reply
#5
evilGUI Wrote:Alright fixed it, I didn't know my host gave the option to change kernels =) Are [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway. and the other errors anything to worry about?
I get them all the time.
[Image: b_560x95.png]
My site - http://codyt07.com
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)