итак. скачивал сервер до кс 1.6. само собой последней версии. утилита по другому не умеет. с последним билдом "не сложилось". при запуске сервера получал ошибку. разочаровался, снес фрю (зазря), поставил ArchLinix. получил ту же самую ошибку. перерыл гугл вдоль и поперек. по сути дела ничего не нашел толкового.
и вот меня осенило ))) (кажись).
сервер запускается скриптом hlds_run
на что получаю ошибку:
Код: Выделить всё
Auto detecting CPU
Using Pentium II Optimised binary.
Auto-restarting the server on crash
Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
./hlds_run: line 321: 27218 segmentation fault $HL_CMD
BFD: Warning: /home/hlds/server/core is truncated: expected core file size >= 19075072, found: 1167360.
Cannot access memory at address 0xb77a88e8
Cannot access memory at address 0xb77a88e4
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xbf83284c
email debug.log to linux@valvesoftware.com
Пт. марта 16 13:05:05 EET 2012: Server restart in 10 seconds
смею полагать что ошибка в скрипте (и ни в чем ином). тк сам в этом более чем дуб, прошу вашей помощи. файл прилагается в аттаче. фрагмент скрипта со строки, указанной в ошибке:
Код: Выделить всё
run() { # злосчастная строка. полагаю, ошибка в описании функции
# Runs the steam update and server
# Loops if RESTART is set
# Debugs if server failure is detected
# Note: if RESTART is not set then
# 1. DEBUG is set then the server is NOT exec'd
# 2. DEBUG is not set the the server is exec'd
if test -n "$RESTART" ; then
echo "Auto-restarting the server on crash"
#loop forever
while true
do
# Update if needed
update
# Run the server
$HL_CMD
retval=$?
if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
break; # if 0 is returned then just quit
fi
debugcore $retval
echo "`date`: Server restart in $TIMEOUT seconds"
# don't thrash the hard disk if the server dies, wait a little
sleep $TIMEOUT
done # while true
else
# Update if needed
update
# Run the server
if test "$DEBUG" -eq 0; then
# debug not requested we can exec
exec $HL_CMD
else
# debug requested we can't exec
$HL_CMD
debugcore $?
fi
fi
}
не понимаю только почему valve не пофиксят.
полагаю, найдутся люди, у которых рука набита ) оч надеюсь на вашу помощ. заранее благодарен. с ув. Алексей.