freebsd авто перезапус

Раздел посвящён игровым серверам и игрушкам вообще.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
balgaa
рядовой
Сообщения: 22
Зарегистрирован: 2010-11-27 21:23:25

Re: freebsd авто перезапус

Непрочитанное сообщение balgaa » 2011-01-21 15:07:00

yes, i used above method to download latest version HLDS.

all of other servers working build 4883 + dproto 0.9.87

which is no need to hack, main problem to use dproto is there not much people want to buy steamid and don't have new version CS 1.6 or latest patched version...

that's why i need to run such server. :-(

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
thefree
лейтенант
Сообщения: 980
Зарегистрирован: 2008-12-29 9:23:19
Откуда: Весёлая Страна

Re: freebsd авто перезапус

Непрочитанное сообщение thefree » 2011-01-21 15:57:36

dproto is hack to server, mb he crash from him?
Не судите меня строго, Я не волшебник, а только учусь!
http://planetbsd.ru - RSS-агрегатор *BSD по Рунету

balgaa
рядовой
Сообщения: 22
Зарегистрирован: 2010-11-27 21:23:25

Re: freebsd авто перезапус

Непрочитанное сообщение balgaa » 2011-01-21 17:35:28

i asked from dproto guy, he told not his issue.

because all server crash only on awp_india map.

after i run below config using amx_cfg resindia.cfg:

sometimes just 1 time run it give segmentation fault, sometimes 2-3 times.

even i tried 20-100 hundred times not give crash if only me as player on awp_india map.

if there 2 or more players then run it, immediately crash and on player disconnected.

i tried VEN's NO WEAPON DROP plugin, now it is bit better and still segmentation fault core dumped...

i did backtrace, debug, ktrace nothing shows on it.

=============================================
Nomadic Warriors - Match -# more resindia.cfg
// Server Cvars
//mp_buytime "0.15"
//mp_friendlyfire "0"
//mp_footsteps "1"
//mp_autoteambalance "1"
//mp_autokick "0"
//mp_flashlight "1"
//mp_tkpunish "0"
//mp_forcecamera "2"
//mp_limitteams "2"
//mp_hostagepenalty "0"
//mp_allowspectators "1"
//mp_timelimit "40"
//mp_chattime "30"
//sv_cheats "0"
//sv_gravity "800"
//sv_allowupload "1"
//sv_allowdownload "1"
//sv_maxspeed "320"
//sv_aim "0"
//pausable "0"
//public_slots_free "32"
//reserve_slots "2"
//reserve_type "0"
sv_timeout "65"

// Round Cvars
mp_freezetime "0"
mp_roundtime "1.75"
//mp_startmoney "800"
//mp_c4timer "35"
//mp_fraglimit "0"
//mp_maxrounds "0"
//mp_winlimit "0"
//mp_logdetail "1"

//decalfrequency "60"
//edgefriction "2"
//host_framerate "0"
//fps_max "1000"

// Bandwidth Rates
//sys_ticrate "10000"
//sv_lan_rate "25000"
//sv_minrate "5000"
//sv_maxrate "25000"
//sv_maxupdaterate "101"
//sv_minupdaterate "101"

//advertise_hud_len 30

//advertise_text_len 60

//advertise_hud_loc 2

nwd_state 7
nwd_teams 3
nwd_allow 65

alias wait10 "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;"
alias "wait50" "wait10; wait10; wait10; wait10; wait10"

wait500
say -| !!!LIVE ON 3 RESTARTS!!! |-
sv_restartround 1
wait500
say -| !!!LIVE ON 2 RESTARTS!!! |-
sv_restartround 1
wait500
say -| !!!LIVE ON NEXT RESTART!!! |-
sv_restartround 1
wait100
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|----LIVE--|
wait10
say "|-----LIVE-|
wait10
say "|------LIV-|
wait10
say "|-------LI-|
wait10
say "|--------L-|
wait10
say "|----------|
wait10
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|----LIVE--|
wait10
say "|-----LIVE-|
wait10
say "|------LIV-|
wait10
say "|-------LI-|
wait10
say "|--------L-|
wait10
say "|----------|
wait10
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|----LIVE--|
wait10
say "|-----LIVE-|
wait10
say "|------LIV-|
wait10
say "|-------LI-|
wait10
say "|--------L-|
wait10
say "|----------|
wait10
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|---LIVE---|

amx_tsay blue [G]ooD [L]uCk & [H]avE [F]uN
amx_tsay green [G]ooD [L]uCk & [H]avE [F]uN
amx_tsay red [G]ooD [L]ucL & [H]avE [F]uN

say "---- please enjoy GEMNET wholesale internet ----
Nomadic Warriors - Match -#

Гость
проходил мимо

Re: freebsd авто перезапус

Непрочитанное сообщение Гость » 2011-01-21 17:52:42

в основном все краши иза кривых плагинов но не только! может сборка кривая может ещё что веть скока лет кс а она досихпор что то там крехтит и новые и новые сборки...мойтебе совет пускай на сервер только клиентов с определного билда...и вырубай все плагины ненужные и нужные тоже.

Аватара пользователя
thefree
лейтенант
Сообщения: 980
Зарегистрирован: 2008-12-29 9:23:19
Откуда: Весёлая Страна

Re: freebsd авто перезапус

Непрочитанное сообщение thefree » 2011-01-21 18:24:25

2balgaa plz, used tag [ code ] in your msg!!!
exemple

Код: Выделить всё

=============================================
Nomadic Warriors - Match -# more resindia.cfg
// Server Cvars
//mp_buytime "0.15"
//mp_friendlyfire "0"
//mp_footsteps "1"
//mp_autoteambalance "1"
//mp_autokick "0"
//mp_flashlight "1"
//mp_tkpunish "0"
//mp_forcecamera "2"
//mp_limitteams "2"
//mp_hostagepenalty "0"
//mp_allowspectators "1"
//mp_timelimit "40"
//mp_chattime "30"
//sv_cheats "0"
//sv_gravity "800"
//sv_allowupload "1"
//sv_allowdownload "1"
//sv_maxspeed "320"
//sv_aim "0"
//pausable "0"
//public_slots_free "32"
//reserve_slots "2"
//reserve_type "0"
sv_timeout "65"

// Round Cvars
mp_freezetime "0"
mp_roundtime "1.75"
//mp_startmoney "800"
//mp_c4timer "35"
//mp_fraglimit "0"
//mp_maxrounds "0"
//mp_winlimit "0"
//mp_logdetail "1"

//decalfrequency "60"
//edgefriction "2"
//host_framerate "0"
//fps_max "1000"

// Bandwidth Rates
//sys_ticrate "10000"
//sv_lan_rate "25000"
//sv_minrate "5000"
//sv_maxrate "25000"
//sv_maxupdaterate "101"
//sv_minupdaterate "101"

//advertise_hud_len 30

//advertise_text_len 60

//advertise_hud_loc 2

nwd_state 7
nwd_teams 3
nwd_allow 65

alias wait10 "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;"
alias "wait50" "wait10; wait10; wait10; wait10; wait10"

wait500
say -| !!!LIVE ON 3 RESTARTS!!! |-
sv_restartround 1
wait500
say -| !!!LIVE ON 2 RESTARTS!!! |-
sv_restartround 1
wait500
say -| !!!LIVE ON NEXT RESTART!!! |-
sv_restartround 1
wait100
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|----LIVE--|
wait10
say "|-----LIVE-|
wait10
say "|------LIV-|
wait10
say "|-------LI-|
wait10
say "|--------L-|
wait10
say "|----------|
wait10
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|----LIVE--|
wait10
say "|-----LIVE-|
wait10
say "|------LIV-|
wait10
say "|-------LI-|
wait10
say "|--------L-|
wait10
say "|----------|
wait10
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|----LIVE--|
wait10
say "|-----LIVE-|
wait10
say "|------LIV-|
wait10
say "|-------LI-|
wait10
say "|--------L-|
wait10
say "|----------|
wait10
say "|-E--------|
wait10
say "|-VE-------|
wait10
say "|-IVE------|
wait10
say "|-LIVE-----|
wait10
say "|--LIVE----|
wait10
say "|---LIVE---|
wait10
say "|---LIVE---|

amx_tsay blue [G]ooD [L]uCk & [H]avE [F]uN
amx_tsay green [G]ooD [L]uCk & [H]avE [F]uN
amx_tsay red [G]ooD [L]ucL & [H]avE [F]uN

say "---- please enjoy GEMNET wholesale internet ----
i asked from dproto guy, he told not his issue.

because all server crash only on awp_india map.

after i run below config using amx_cfg resindia.cfg:

sometimes just 1 time run it give segmentation fault, sometimes 2-3 times.

even i tried 20-100 hundred times not give crash if only me as player on awp_india map.

if there 2 or more players then run it, immediately crash and on player disconnected.

i tried VEN's NO WEAPON DROP plugin, now it is bit better and still segmentation fault core dumped...

i did backtrace, debug, ktrace nothing shows on it.
yop, mb bug in this map ?
Не судите меня строго, Я не волшебник, а только учусь!
http://planetbsd.ru - RSS-агрегатор *BSD по Рунету

balgaa
рядовой
Сообщения: 22
Зарегистрирован: 2010-11-27 21:23:25

Re: freebsd авто перезапус

Непрочитанное сообщение balgaa » 2011-01-21 22:03:09

below my plugins running on my BF2 server:

Nomadic Warriors - Match -# more plugins.ini
; AMX Mod X plugins

; Admin Base - Always one has to be activated
csf_opengl32.amxx ; opengl32 detect plugin
amx_gag.amxx
;csf_anticheat.amxx
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
adminvote.amxx

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Admin Base - Always one has to be activated
csf_opengl32.amxx ; opengl32 detect plugin
amx_gag.amxx
;csf_anticheat.amxx
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
adminvote.amxx

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
restmenu.amxx
;admin_gag.amxx

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
stats_logging.amxx
;statsx.amxx
miscstats.amxx

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer


; Custom - Add 3rd party plugins here
m1c.amxx
;reallite_hlg_reborn.amxx
;block_wallhack.amxx
;wb_soundblock.amxx
;admin_spec_esp.amxx
admin_spec_esp_v1.5_beta.amxx
aimbotdetect_14beta.amxx
;amxx_fuckoff.amxx
;anti_fastfire.amxx
;antinoflash.amxx
;amx_sysbizz.amxx
;loading_banner.amxx
;spec_banner_ads.amxx
;showmethetime.V1.25.amxx
admin_freelook.amxx
;antiflashbug.amxx
afk_manager.amxx
trblock.amxx
snblock.amxx debug
;sillent_aim_detector.amxx
;hsonly.amxx
bf2rank.amxx debug
statsx_shell.amxx
colored_translit.amxx
colored_translit_config.amxx
noweapondrop_v012beta.amxx
Nomadic Warriors - Match -#

balgaa
рядовой
Сообщения: 22
Зарегистрирован: 2010-11-27 21:23:25

Re: freebsd авто перезапус

Непрочитанное сообщение balgaa » 2011-01-21 22:04:00

sorry again forgot to do

Код: Выделить всё

.

next time i will do it.

balgaa
рядовой
Сообщения: 22
Зарегистрирован: 2010-11-27 21:23:25

Re: freebsd авто перезапус

Непрочитанное сообщение balgaa » 2011-01-31 15:55:07

today, i tried to add into /etc/fstab

devfs /usr/compat/linux/dev devfs rw 0 0

but boot process failed, i found that there no /usr/compat/linux/dev directory...?

i added below settings to /etc/sysctl.conf and until now server not crash yet.
compat.linux.osrelease=2.6.19

also i started server using hlds_start.sh and seems working fine, i made some modification. later evenning will to add crontab for qstat.

i will update you...

thanks.

balgaa
рядовой
Сообщения: 22
Зарегистрирован: 2010-11-27 21:23:25

Re: freebsd авто перезапус

Непрочитанное сообщение balgaa » 2011-02-04 14:08:07

i tried as your suggest qstat, but seems doesn't work.

sometimes server suddenly crashed and no running process, means no hang on memory. this case cron job doesn't work.

any suggestion?

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: freebsd авто перезапус

Непрочитанное сообщение Alex Keda » 2011-02-18 20:47:23

мне больше интересно, как он [тредстартер] ответ на вопрос подобрал - все вопросы при регистрации пользоватлей по русски, и ответы далеко не тривиальные для человека не являющегося русскоязычным.
и вводить его надо по русски.

сдаётся мне, он издевается просто...
Убей их всех! Бог потом рассортирует...