Проблема с запуском сервера CSS через LGSM

bezonoff7405

Участник
Сообщения
50
Реакции
4
Операционная система
Linux
Текст ошибки
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
./srcds_run: 1: gdb: not found
WARNING: Please install gdb first.
goto http://www.gnu.org/software/gdb/
Server will auto-restart if there is a crash.
Using Breakpad minidump system. Version: 5394425 AppID: 232330
Setting breakpad minidump AppID = 232330
Using breakpad crash handler
Loaded 1335 VPK file hashes from /home/cssdm/serverfiles/cstrike/cstrike_pak.vpk for pure server operation.
Loaded 1335 VPK file hashes from /home/cssdm/serverfiles/cstrike/cstrike_pak.vpk for pure server operation.
Loaded 1218 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 446 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/cssdm/serverfiles/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Counter-Strike: Source"
maxplayers set to 32
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Unknown command "r_decal_cullsize"
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Thu Apr 2 15:53:43 UTC 2020: Server restart in 10 seconds
Using Breakpad minidump system. Version: 5394425 AppID: 232330
Setting breakpad minidump AppID = 232330
Using breakpad crash handler
Список мета-модулей
нету
Список плагинов SM
нету
Список расширений SM
нету
Добрый день дорогие друзья, проблема у меня такая, я установил сервер CSS через скрипт LGSM, но он не запускается в консоле сервера пишет следующеее
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
./srcds_run: 1: gdb: not found
WARNING: Please install gdb first.
goto GDB: The GNU Project Debugger
Server will auto-restart if there is a crash.
Using Breakpad minidump system. Version: 5394425 AppID: 232330
Setting breakpad minidump AppID = 232330
Using breakpad crash handler
Loaded 1335 VPK file hashes from /home/cssdm/serverfiles/cstrike/cstrike_pak.vpk for pure server operation.
Loaded 1335 VPK file hashes from /home/cssdm/serverfiles/cstrike/cstrike_pak.vpk for pure server operation.
Loaded 1218 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 446 VPK file hashes from /home/cssdm/serverfiles/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/cssdm/serverfiles/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Counter-Strike: Source"
maxplayers set to 32
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Unknown command "r_decal_cullsize"
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Thu Apr 2 15:53:43 UTC 2020: Server restart in 10 seconds
Using Breakpad minidump system. Version: 5394425 AppID: 232330
Setting breakpad minidump AppID = 232330
Using breakpad crash handler

Порты открыты все. Может кто знает в чём проблема?
OC: Linux 19.10
 

bezonoff7405

Участник
Сообщения
50
Реакции
4
Че там тут lgsm/config-lgsm/cssserver
##################################
######## Default Settings ########
##################################
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Game Server Settings ####

## Server Start Settings | Start Parameters
ip="0.0.0.0"
port="27015"
clientport="27005"
sourcetvport="27020"
defaultmap="de_dust2"
maxplayers="16"

## Game Server Login Token (GSLT): Required
# GSLT is required for running a public server.
# More info: Game Server Login Token
gslt=""

## Server Start Command | Start Parameters
fn_parms(){
parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
}

#### LinuxGSM Settings ####

## LinuxGSM Stats
# Send useful stats to LinuxGSM developers.
# LinuxGSM Stats
# (on|off)
stats="off"

## Notification Alerts
# (on|off)

# Display IP | Alerts
displayip=""

# More info | Alerts
postalert="off"
postdays="7"
posttarget="termbin.com - terminal pastebin"

# Discord Alerts | Discord
discordalert="off"
discordwebhook="webhook"

# Email Alerts | Email
emailalert="off"
email="email@example.com"
emailfrom=""

# IFTTT Alerts | IFTTT
iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"

# Mailgun Email Alerts | Mailgun
mailgunalert="off"
mailguntoken="accesstoken"
mailgundomain="example.com"
mailgunemailfrom="alert@example.com"
mailgunemail="email@myemail.com"

# Pushbullet Alerts | Pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
channeltag=""

# Pushover Alerts | Pushover
pushoveralert="off"
pushovertoken="accesstoken"

# Slack Alerts | Slack
slackalert="off"
slackwebhook="webhook"

# Telegram Alerts | Telegram
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
# any custom string in curl - simple ignore this parameter.
telegramalert="off"
telegramtoken="accesstoken"
telegramchatid=""
curlcustomstring=""

## Updating | update
updateonstart="off"

## Backup | backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"

## Logging | Log Management
consolelogging="on"
logdays="7"

## Monitor | monitor
# Query delay time
querydelay="1"

## ANSI Colors | ANSI Colors
ansi="on"

#### Advanced Settings ####

## Message Display Time | Message Display Time
sleeptime="0.5"

## SteamCMD Settings | SteamCMD
# Server appid
appid="232330"
# SteamCMD Branch | Branch
branch=""
# Master Server | Steam Master Server
steammaster="true"

## Stop Mode | Stop Mode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
# 4: quit 120s
# 5: stop
# 6: q
# 7: exit
# 8: 7 Days to Die
# 9: Gold Source
# 10: Teamspeak 3
stopmode="3"

## Query mode
# 1: session only
# 2: gamedig + gsquery
# 3: gamedig
# 4: gsquery
# 5: tcp
querymode="2"
querytype="protocol-valve"

## Game Server Details
# Do not edit
gamename="Counter-Strike: Source"
engine="source"
glibc="2.3.6"

#### Directories ####
# Edit with care

## Game Server Directories
systemdir="${serverfiles}/cstrike"
executabledir="${serverfiles}"
executable="./srcds_run"
servercfgdir="${systemdir}/cfg"
servercfg="${selfname}.cfg"
servercfgdefault="server.cfg"
servercfgfullpath="${servercfgdir}/${servercfg}"

## Backup Directory
backupdir="${lgsmdir}/backup"

## Logging Directories
logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs"
lgsmlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
consolelog="${consolelogdir}/${selfname}-console.log"
alertlog="${lgsmlogdir}/${selfname}-alert.log"
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"

## Logs Naming
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

##################################
######## Common Settings #########
##################################
# PLACE GLOBAL SETTINGS HERE
## These settings will apply to all instances.

##################################
####### Instance Settings ########
##################################
# PLACE INSTANCE SETTINGS HERE
## These settings will apply to a specific instance.

gslt=""
 

Emptyc

Участник
Сообщения
509
Реакции
96
Скопируй содержимое из _default.cfg и создай файл csservers.cfg (возможно другое название, если менял название файла автозапуска). В данный файл копируй.


И настраивай там все необходимое. Порты, стартовую мапу и т.д
 

bezonoff7405

Участник
Сообщения
50
Реакции
4
Я сделал не работает
Скопируй содержимое из _default.cfg и создай файл csservers.cfg (возможно другое название, если менял название файла автозапуска). В данный файл копируй.


И настраивай там все необходимое. Порты, стартовую мапу и т.д
 

Strangelove

Добрая душа
Сообщения
77
Реакции
35
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port

Очевидно ведь, где проблема. В конфиге не указан ip/port.

Порты открыты все. Может кто знает в чём проблема?
OC: Linux 19.10

Полагаю все же Ubuntu 19.10. Раз уж у вас все на такой стадии - советовал бы перейти на LTS18.04, там поддержка до апреля 2023, а у 19.10 до июля этого года, а потом высоко вероятны всякие веселости с репозиториями.
 
Сверху Снизу