падение сервера tf2

Vaio

Участник
Сообщения
625
Реакции
215
Попробовал установить сервер Team Fortress 2 на ос linux(debian 6), загрузил сервер:

C-подобный:
Protocol version 22
Exe version 1.2.1.7 (tf)
Exe build: 18:19:05 Jun 27 2012 (4981) (440)

При смене карты сервер почему-то падает:

C-подобный:
changelevel arena_badlands
---- Host_Changelevel ----
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Executing server arena config file
PreMinidumpCallback: updating dump comment
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20120705234815_1.dmp
Segmentation fault
Add "-debug" to the /home/srv600/orangebox/srcds_run command line to generate a debug.log to help with solving this problem
Thu Jul  5 23:48:15 EEST 2012: Server restart in 10 seconds

Не подскажете в чем проблема и можно ли как-то исправить?

P.S. Сервер чистый.
 

tiger_by

Гл. Админ SourceGames.RU
Сообщения
631
Реакции
278
Список плагинов в студию.
 

Vaio

Участник
Сообщения
625
Реакции
215

tiger_by

Гл. Админ SourceGames.RU
Сообщения
631
Реакции
278
Так на всякий слу. Похоже, что нет файла server.cfg.
У меня обычно после
Executing dedicated server config file server.cfg
Бежит много строк с конфигами.
 

Vaio

Участник
Сообщения
625
Реакции
215
C-подобный:
// General Settings //

// Hostname for server.
hostname "Team Fortress 2"

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


// 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
Брал отсюда.

Добавлено через 1 минуту
В строке запуска прописал
C-подобный:
+servercfgfile server.cfg
 
Последнее редактирование:

tiger_by

Гл. Админ SourceGames.RU
Сообщения
631
Реакции
278
Странный у тебя server.cfg если такой как под спойлером, то оставляй либо одну половину, либо вторую, а то выходит что тут 2 разных конфига в 1 файле.
 

Vaio

Участник
Сообщения
625
Реакции
215
Я что-то вчера напутал, сейчас такой сервер падает:
C-подобный:
// General Settings //

// Hostname for server.
hostname "Team Fortress 2"

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

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


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

tiger_by

Гл. Админ SourceGames.RU
Сообщения
631
Реакции
278
А права на запуск у бинарников есть?
 

Vaio

Участник
Сообщения
625
Реакции
215
srcds_run, srcds_linux - 755
у файлов из папки /orangebox/bin - 645
 

MFS

Участник
Сообщения
1,533
Реакции
788
Надеюсь качал и запускал под одним пользователем?

Все нужные библиотеки установлены (libcurl)?
 

Vaio

Участник
Сообщения
625
Реакции
215
Надеюсь качал и запускал под одним пользователем?
Нет под разными.

Все нужные библиотеки установлены (libcurl)?
установлено только это:
C-подобный:
apt-cache depends curl
curl
  Depends: libc6
  Depends: libcurl3
  Depends: zlib1g
  Replaces: <curl-ssl>
    curl
еще что-то нужно установить?
 

Vaio

Участник
Сообщения
625
Реакции
215
дал chmod -R 777, после смены карты сервер все же падает, меняю на ту же карту, что стояла(ctf_2fort).
 

Vaio

Участник
Сообщения
625
Реакции
215
Проблема осталась.

Пробовал добавлять в строку запуска-nobreakpad, теперь сервер падает при смене карты со следующей ошибкой:
C-подобный:
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
L 07/28/2012 - 14:41:31: server_cvar: "tf_gamemode_cp" "0"
L 07/28/2012 - 14:41:31: server_cvar: "sv_tags" "alltalk"
L 07/28/2012 - 14:41:31: server_cvar: "sv_tags" "alltalk"
L 07/28/2012 - 14:41:31: server_cvar: "tf_gamemode_cp" "1"
L 07/28/2012 - 14:41:31: server_cvar: "sv_tags" "alltalk,cp"
L 07/28/2012 - 14:41:31: server_cvar: "sv_tags" "alltalk,cp"
[B][COLOR="Red"]Segmentation fault[/COLOR][/B]
Add "-debug" to the ./srcds_run command line to generate a debug.log to help wit                                                                             h solving this problem
Sat Jul 28 14:41:31 EEST 2012: Server restart in 10 seconds

без -nobreakpad падает так:
C-подобный:
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
L 07/28/2012 - 15:18:54: server_cvar: "tf_gamemode_cp" "0"
L 07/28/2012 - 15:18:54: server_cvar: "sv_tags" "alltalk"
L 07/28/2012 - 15:18:54: server_cvar: "sv_tags" "alltalk"
L 07/28/2012 - 15:18:54: server_cvar: "tf_gamemode_cp" "1"
L 07/28/2012 - 15:18:54: server_cvar: "sv_tags" "alltalk,cp"
L 07/28/2012 - 15:18:54: server_cvar: "sv_tags" "alltalk,cp"
[B][COLOR="red"]PreMinidumpCallback: updating dump comment
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20120728151854_1.dmp
success = no
error:  Failed to open/read local data from file/application[/COLOR][/B]
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat Jul 28 15:18:54 EEST 2012: Server restart in 10 seconds
Sat Jul 28 15:18:56 EEST 2012: Server Quit

Проверял меняя карту на ту, что стояла.
Также ставил sm и mm:
C-подобный:
meta version
Metamod:Source version 1.8.7
Build ID: 772:99b7a0a11fec
Loaded As: Valve Server Plugin
Compiled on: Jun 23 2011
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
sm version
 SourceMod Version Information:
    SourceMod Version: 1.4.4
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.4.4)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Jul  3 2012 15:35:16
    Build ID: 3523:29186166cc99
    http://www.sourcemod.net/
plugin_print
Loaded plugins:
---------------------
0:      "Metamod:Source 1.8.7"
---------------------
version
Protocol version 22
Exe version 1.2.2.0 (tf)
Exe build: 10:09:24 Jul 20 2012 (4993) (440)

Сервер часто сам по себе падает и не перезагружается, со следующей ошибкой:
C-подобный:
PreMinidumpCallback:	updating dump comment

Возможно проблема в том, что у меня ОС Debian 64-bit. Устанавливал это:
C-подобный:
apt-get install ia32-libs

Также в вики tf2 в требованиях нашел это:

Как проверить мою версию glibc и по возможности обновить?

Возможно у кого-то есть еще какие-то решения данной проблемы ...
 

MFS

Участник
Сообщения
1,533
Реакции
788
Я рекомендую завести нового юзера, скачать заново сервер и проанализировать строку запуска и server.cfg (приложил свои)

Строка запуска у меня с использованием SCREEN
 

Вложения

  • cfg.zip
    1.5 КБ · Просмотры: 14
  • Мне нравится
Реакции: Vaio

Vaio

Участник
Сообщения
625
Реакции
215
Дописал +sv_lan 1 в строку запуска и падения пропали.

Интересный факт, если я прописываю +sv_lan 0 - сервер пишет какую-то ошибку и работает только локально, если 1 все нормально.
 

Бендер Родригес

Почетный пользователь HLMOD
Сообщения
1,010
Реакции
468
После сегодняшнего обновления, начались падения сервера, сразу после выбора игрока, есть мысли?

C-подобный:
Listing 4 plugins:
  [01] SourceMod (1.4.4) by AlliedModders LLC
  [02] TF2 Tools (1.4.4) by AlliedModders LLC
  [03] SDK Tools (1.4.4) by AlliedModders LLC
  [04] SDK Hooks (2.2.0) by Tsunami, psychonic

C-подобный:
[SM] Listing 24 plugins:
  01 "Admin File Reader" (1.4.4) by AlliedModders LLC
  02 "Admin Help" (1.4.4) by AlliedModders LLC
  03 "Admin Menu" (1.4.4) by AlliedModders LLC
  04 "Anti-Flood" (1.4.4) by AlliedModders LLC
  05 "Basic Ban Commands" (1.4.4) by AlliedModders LLC
  06 "Basic Chat" (1.4.4) by AlliedModders LLC
  07 "Basic Commands" (1.4.4) by AlliedModders LLC
  08 "Basic Comm Control" (1.4.4) by AlliedModders LLC
  09 "Basic Info Triggers" (1.4.4) by AlliedModders LLC
  10 "Basic Votes" (1.4.4) by AlliedModders LLC
  11 "Client Preferences" (1.4.4) by AlliedModders LLC
  12 "Fun Commands" (1.4.4) by AlliedModders LLC
  13 "Fun Votes" (1.4.4) by AlliedModders LLC
  14 "Nextmap" (1.4.4) by AlliedModders LLC
  15 "Player Commands" (1.4.4) by AlliedModders LLC
  16 "Reserved Slots" (1.4.4) by AlliedModders LLC
  17 "Sound Commands" (1.4.4) by AlliedModders LLC
  18 "Connect Announce" (1.4) by Arg!
  19 "Advertisements" (0.6.2) by Tsunami, Otstrel.ru Team
  20 "SuperLogs: TF2" (2.0.28) by Thomas "CmptrWz" Berezansky & psychonic
  21 "HLstatsX CE Ingame Plugin" (1.6.15) by psychonic
  22 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
  23 "Trade Chat" (1.4) by Luki
  24 "Win panel for losing team" (1.4-ff) by Reflex

Решение проблемы: Нужно обновить SourceMod. Установил данную сборку, все работает 1.4.5-hg3537.tar.gz http://www.sourcemod.net/snapshots.php
 
Последнее редактирование:

psyhyatr

Участник
Сообщения
111
Реакции
7
всё! достали эти ♥♥♥♥ы с вальвэ.обновился сервак-соурсмод не работает!обновил соурсмод- теперь при смене карты падает сервер....че такое????логи прикладываю
 

Вложения

  • errors_20120816.txt
    4.5 КБ · Просмотры: 8

tiger_by

Гл. Админ SourceGames.RU
Сообщения
631
Реакции
278
Да пипец. 5 серваков норм пашут, а шестой все крашится и крашится. Будем отключать плагины по 1.
 
Сверху Снизу