SRCDS Steam group


MasterRequestRestart after update and verify_all on TF2 server
#1
Sad 
I'm running a small private TF2 server. I've been getting a "MasterRequestRestart" as soon as it starts up. On a map change, the server restarts, and "MasterRequestRestart" still shows up. I can't change maps. I tried updating, I tried updating with verify_all, and it still doesn't work. What do I do?

Code:
lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 9.04
Release:    9.04
Codename:    jaunty

uname -r
2.6.28-13-generic

free -mt
            total       used       free     shared    buffers     cached
Mem:          1001        985         16          0         15        471
-/+ buffers/cache:        498        503
Swap:         2949         26       2922
Total:        3951       1011       2939

cat starttf2server
#!/bin/bash
echo "Starting TF2 Server"
sleep 1
cd /srv/valve/tf2/orangebox
./srcds_run -console -game tf +map tc_hydro +maxplayers 24 -autoupdate -ip 192.168.0.128 -port 27015 -debug -debuglog tf2debug.log

cat updatetf2server
#!/bin/bash
echo "Updating TF2 Server"
sleep 1
cd /srv/valve/tf2
./update

cat updatetf2serverwithverifyall
#!/bin/bash
echo "Updating TF2 Server With Verify_All"
sleep 1
cd /srv/valve/tf2
./steam -command update -game tf -dir /srv/valve/tf2 -verify_all
Game: TF2
Processor: Dual Core Pentium 4 each running at 3.0 gHZ
mods: I'm using SourceMod and MetaMod

edit: here's the output of my startup script:
Code:
./starttf2server
Starting TF2 Server
Auto detecting CPU
Using SSE2 Optimised binary.
Enabling debug mode
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 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 192.168.0.128, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
L 07/20/2009 - 19:21:31: -------- Mapchange to tc_hydro --------
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Server logging enabled.
Server logging data to file logs/L0720007.log
L 07/20/2009 - 19:21:50: Log file started (file "logs/L0720007.log") (game "/media/sdb1/valve/tf2/orangebox/tf") (version "3883")
L 07/20/2009 - 19:21:50: server_cvar: "sv_contact" "bobblegate@gmail.com"
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
L 07/20/2009 - 19:21:50: server_cvar: "mp_disable_respawn_times" "1"
L 07/20/2009 - 19:21:50: server_cvar: "sv_tags" "cp,norespawntime"
L 07/20/2009 - 19:21:50: server_cvar: "sv_tags" "cp,norespawntime"
L 07/20/2009 - 19:21:50: server_cvar: "tf_birthday" "1"
L 07/20/2009 - 19:21:50: server_cvar: "sv_tags" "birthday,cp,norespawntime"
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.
exec: couldn't exec tc_hydro.cfg
Adding master server 72.165.61.189:27011
Adding master server 68.142.72.250:27011
Connection to Steam servers successful.
L 07/20/2009 - 19:21:50: server_cvar: "sm_nextmap" "ctf_well"
  VAC secure mode is activated.
MasterRequestRestart
Your server will be restarted on map change.
Your server will be restarted on map change.
Reply
#2
Can you post your server.cfg?
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#3
pengy Wrote:Can you post your server.cfg?

Code:
cat server.cfg | grep -v password
hostname "Decoy Server"        // this is your server name as shown in the server list

//rcon settings
sv_rcon_banpenalty 180            // Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 3            // Max number of times a user can fail rcon authentication before being banned
sv_rcon_log "1"
sv_rcon_minfailures "2"
sv_rcon_minfailuretime "30"

//cvars for balancing un-even teams
mp_autoteambalance 1            // 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
//mp_autoteambalance_delay 60        // Time (in seconds) after the teams become unbalanced to attempt to switch players
//mp_autoteambalance_warning_delay 30    // Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 2        // Teams are unbalanced when one team has this many more players than the other (0 disables)

//cvars for round and game times
mp_enableroundwaittime 0        // Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 10            // Time after round win until round restarts (in seconds)
mp_restartround 10            // Time the current round will restart (in seconds)
mp_stalemate_timelimit 120        // Timelimit (in seconds) of the stalemate round
mp_timelimit 9001            // game time per map in minutes

//cvars for win conditions
mp_maxrounds 4                // Max number of rounds to play before server changes maps
mp_winlimit 3                // Max number of rounds one team can win before a server changes maps

//client specific cvars
mp_forcecamera 0            // force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1            // enable or disable spectators on the server. 0 is off 1 is on
mp_friendlyfire 0            // 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_footsteps 1                // footsteps on or off. 0 is off and 1 is on
sv_cheats 0                // allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 300                // the amount of time in seconds that a client is booted for no input
sv_consistency 1            // Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 10            // the pause in seconds between a decal being sprayed

//cvars for communication
sv_voiceenable 1            // allow players to use a microphone. 0 is off 1 is on
sv_alltalk 1                // toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 10                // players can chat for this amount of time (in seconds) after a game is over

// start download cvars
sv_allowupload 1            // allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1            // allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 15            // Max download file size. Default is 15
sv_downloadurl ""            // redirect download location

//bandwidth rates/settings
sv_minrate 20000            // minimum bandwidth rate allowed on server (0 is unlimited)
sv_maxrate 30000            // max bandwidth rate allowe don server (0 is unlimited)
sv_maxupdaterate 100            // maximum updates per second that the server will allow
sv_minupdaterate 66
sv_mincmdrate 66            
sv_maxcmdrate 100

//server logging
log on                    // enable or disable server logging. on is on off is off
sv_logbans 0                // Log server bans in the server logs
sv_logecho 1                // Echo log information to the console. 0 is off 1 is on
sv_logfile 0                // Log server information in the log file. 0 is off 1 is on
sv_log_onefile 0            // log everything in one file

//cvars for general operation
sv_lan 0                // is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0                // server location. -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_contact bobblegate@gmail.com        // contact email for sysop
sv_pausable 0                // enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1                // forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1            // kicks clients that do not have content that matches what is on the server


//mp_allowNPCs "1"
//mp_autocrosshair "1"
//mp_clan_readyrestart "0"
//mp_clan_ready_signal "0"
//mp_decals "200"
//mp_defaultteam "0"
mp_disable_respawn_times 1
//mp_fadetoblack "0"
//mp_falldamage "0"
//mp_flashlight "0"
//mp_forcerespawn "1"
//mp_forcerespawnplayers "cmd"
//mp_forcewin "cmd"
//mp_fraglimit "0"
mp_idledealmethod "1"            // Deals with Idle Players. 1 = sends them into spectator mode then kicks them if they're still idle, 2= kicks them out of the game
mp_idlemaxtime "720"
//mp_respawnwavetime "x"
//mp_restartgame "0"
//mp_scrambleteams "cmd"
//mp_showrespawntimes "1"
//mp_switchteams "cmd"
//mp_teamlist "0"
//mp_teamoverride "1"
//mp_teamplay "0"
//mp_time_between_capscoring "30"
//mp_waitingforplayers_cancel "0"
//mp_waitingforplayers_restart "0"
//mp_weaponstay "0"
//phys_pushscale 15
//sv_accelerate "10"
//sv_airaccelerate "10"
//sv_allow_color_correction "1"
//sv_allow_wait_command "1"
//sv_alternateticks "0"
//sv_backspeed "0"
//sv_bonus_challenge "0"
//sv_bounce "0"
//sv_cacheencodedents "1"
//sv_clearhinthistory "cmd"
//sv_client_cmdrate_difference "20"
//sv_client_interpolate "0.1"
//sv_client_max_interp_ratio "2"
//sv_client_min_interp_ratio "1"
//sv_client_predict "-1"
//sv_enableoldqueries "1"
//sv_filterban "1"
//sv_footsteps "1"
//sv_forcepreload "0"
//sv_force_transmit_ents "0"
//sv_friction "4"
//sv_gravity "800"
//sv_ignore_hitboxes "0"
//sv_instancebaselines "1"
//sv_lagflushbonecache "1"
//sv_logblocks "0"
//sv_logdownloadlist "1"
//sv_logflush "0"
//sv_logsdir "0"
//sv_massreport "0"
//sv_master_legacy_mode "1"
//sv_master_share_game_socket "1"
//sv_max_queries_sec "3"
//sv_max_queries_sec_global "60"


tf_birthday 1

//execute ban files
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip
Reply
#4
Could not locate steam binary:./steam, ignoring.

Try putting the steam file in the orangebox directory
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#5
So I did a "mv steam orangebox/" and a "mv update orangebox/". I moved into the orangebox dir and did a ./update. It's downloading EVERYTHING now, and going very slow for some reason (only at about 2%) now. After it finishes I'll see if it runs.
Reply
#6
The update took forever, it just finished. It looks like I have two tf2 installs now, one installed inside the other. Whoops, lol. It still does it though, just now with an "extra" step of updating. I started the server, connected to it, and then changed the map, just to see if it still happens.  I edited out my steam ID, otherwise this is unchanged:

Code:
./starttf2server
Starting TF2 Server
Auto detecting CPU
Using SSE2 Optimised binary.
Enabling debug mode
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Team Fortress 2 Content' version 104


Checking/Installing 'Team Fortress 2 Materials' version 32


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'OB Linux Dedicated Server' version 11


HLDS installation up to date

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 192.168.0.128, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
L 07/21/2009 - 00:32:59: -------- Mapchange to tc_hydro --------
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Server logging enabled.
Server logging data to file logs/L0721000.log
L 07/21/2009 - 00:33:16: Log file started (file "logs/L0721000.log") (game "/media/sdb1/valve/tf2/orangebox/tf") (version "3883")
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
L 07/21/2009 - 00:33:17: server_cvar: "mp_disable_respawn_times" "1"
L 07/21/2009 - 00:33:17: server_cvar: "sv_tags" "cp,norespawntime"
L 07/21/2009 - 00:33:17: server_cvar: "sv_tags" "cp,norespawntime"
L 07/21/2009 - 00:33:17: server_cvar: "tf_birthday" "1"
L 07/21/2009 - 00:33:17: server_cvar: "sv_tags" "birthday,cp,norespawntime"
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.
exec: couldn't exec tc_hydro.cfg
Adding master server 69.28.140.247:27011
Adding master server 69.28.140.246:27011
L 07/21/2009 - 00:33:17: server_cvar: "sm_nextmap" "ctf_well"
Connection to Steam servers successful.
  VAC secure mode is activated.
MasterRequestRestart
Your server will be restarted on map change.
Your server will be restarted on map change.
L 07/21/2009 - 00:34:39: "bobblegate<2><STEAM_0:0:0><>" connected, address "192.168.0.136:27005"
Client "bobblegate" connected (192.168.0.136:27005).
L 07/21/2009 - 00:34:39: "bobblegate<2><STEAM_0:0:0><>" STEAM USERID validated
Late precache of models/effects/bday_gib01.mdl
Late precache of models/effects/bday_gib02.mdl
Late precache of models/effects/bday_gib03.mdl
Late precache of models/effects/bday_gib04.mdl
Late precache of models/effects/bday_hat.mdl
L 07/21/2009 - 00:35:04: "bobblegate<2><STEAM_0:0:0><>" entered the game
L 07/21/2009 - 00:35:19: "bobblegate<2><STEAM_0:0:0><Unassigned>" joined team "Red"
L 07/21/2009 - 00:35:19: "bobblegate<2><STEAM_0:0:0><Red>" changed role to "scout"
L 07/21/2009 - 00:35:19: World triggered "Mini_Round_Selected" (round "round_BD")
L 07/21/2009 - 00:35:19: World triggered "Mini_Round_Start"
L 07/21/2009 - 00:35:27: [basecommands.smx] "bobblegate<2><STEAM_0:0:0><>" changed map to "arena_badlands"
L 07/21/2009 - 00:35:30: [SM] Changed map to "arena_badlands"
L 07/21/2009 - 00:35:30: [META] Loaded 0 plugins (1 already loaded)
---- Host_Changelevel ----
L 07/21/2009 - 00:35:30: [META] Loaded 0 plugins (1 already loaded)
L 07/21/2009 - 00:35:30: [META] Loaded 0 plugins (1 already loaded)
L 07/21/2009 - 00:35:30: "bobblegate<2><STEAM_0:0:0><>" disconnected (reason "Server shutting down")
Dropped bobblegate from server (Server shutting down)
L 07/21/2009 - 00:35:30: server_message: "quit"
L 07/21/2009 - 00:35:30: Log file closed
L 07/21/2009 - 00:35:30: server_message: "restart"
L 07/21/2009 - 00:35:30: Log file closed.
Reference Count for Material __particlesdepthwrite (1) != 0
Tue Jul 21 00:35:33 EDT 2009: Server restart in 10 seconds
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Team Fortress 2 Content' version 104


Checking/Installing 'Team Fortress 2 Materials' version 32


Checking/Installing 'Base Source Shared Materials' version 8


Checking/Installing 'Base Source Shared Models' version 4


Checking/Installing 'Base Source Shared Sounds' version 4


Checking/Installing 'OB Linux Dedicated Server' version 11


HLDS installation up to date

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 192.168.0.128, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
L 07/21/2009 - 00:37:00: -------- Mapchange to tc_hydro --------
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
Server logging enabled.
Server logging data to file logs/L0721001.log
L 07/21/2009 - 00:37:14: Log file started (file "logs/L0721001.log") (game "/media/sdb1/valve/tf2/orangebox/tf") (version "3883")
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
L 07/21/2009 - 00:37:14: server_cvar: "mp_disable_respawn_times" "1"
L 07/21/2009 - 00:37:14: server_cvar: "sv_tags" "cp,norespawntime"
L 07/21/2009 - 00:37:14: server_cvar: "sv_tags" "cp,norespawntime"
L 07/21/2009 - 00:37:14: server_cvar: "tf_birthday" "1"
L 07/21/2009 - 00:37:14: server_cvar: "sv_tags" "birthday,cp,norespawntime"
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.
exec: couldn't exec tc_hydro.cfg
Adding master server 69.28.140.246:27011
Adding master server 72.165.61.189:27011
L 07/21/2009 - 00:37:15: server_cvar: "sm_nextmap" "ctf_well"
Connection to Steam servers successful.
  VAC secure mode is activated.
MasterRequestRestart
Your server will be restarted on map change.
Your server will be restarted on map change.
Reply
#7
First and only bump. Any other ideas? My server was working fine before.
Reply
#8
Delete "InstallRecord.blob", "hldsupdatetool.bin" and "steam".
Download again hldsupdatetool.bin, and update your srcds with "-verify_all". :]
Reply
#9
I decided to bite the bullet, and I just backed up my server.cfg and rm'ed my /srv/valve directory. It's just a very small private server, so there's no real loss. It's downloading now, if there's any more problems that arise, I'll post about it. Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)