Помогите debian 7, Авто поднятие сервера |
Здравствуйте, гость Вход | Регистрация
Наши новости:
|
|
Помогите debian 7, Авто поднятие сервера |
klopikus |
6.1.2019, 4:36
Сообщение
|
Добрый день
поставил сервер через steamcmd создал пользователя после поставил tmux Встал вопрос если сервер завис или машина перезагрузится как сделать авто запуск сервера? Прошу расписать подробней учусь=) |
|
|
|
Sorokin |
6.1.2019, 11:12
Сообщение
|
|
|
Alniel |
6.1.2019, 16:34
Сообщение
|
klopikus, , зачем изобретать велосипед,
бнр и комания.... НЕ СПАТИ! Скоро свобода!
|
|
Поблагодарили 1 раз
|
|
klopikus |
7.1.2019, 0:42
Сообщение
|
crontab а есть мануал ну или можешь описать как это сделать как просто поднять сервер на прямую после падения это я понимаю как сделать а как сделать чтоб она через tmux его поднимал ? ну и вопрос crontab тоже может отслеживать завис процес и рестарт делать ?
klopikus, , зачем изобретать велосипед, этот велосипед в силу моих знаний Цитата sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 apt debian почему то не понимает в ответ пишет мол директорию не может найти libstdc++6:i386 |
|
|
|
Profan |
7.1.2019, 3:52
Сообщение
|
|
|
|
|
vavarik |
7.1.2019, 6:41
Сообщение
|
|
|
|
|
klopikus |
8.1.2019, 5:00
Сообщение
|
так немного поломал голову =))) официальная инструкция не скачивает сам скрипт верней скачивает но пустым его в итоге получилось =)) Но!!!! jq не ставится как мне его поставить? Cкрытый текст Цитата Using username "root". Linux debian7.local 3.2.0-6-amd64 #1 SMP Debian 3.2.102-1 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Jan 6 17:44:50 2019 from broadband-37-110-151-234.ip.moscow.rt.ru root@debian7:~# su - test test@debian7:~$ wget https://raw.githubusercontent.com/GameServe...ter/linuxgsm.sh --2019-01-07 21:47:35-- https://raw.githubusercontent.com/GameServe...ter/linuxgsm.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 11637 (11K) [text/plain] Saving to: `linuxgsm.sh.1' 100%[======================================>] 11,637 --.-K/s in 0.002s 2019-01-07 21:47:35 (6.70 MB/s) - `linuxgsm.sh.1' saved [11637/11637] test@debian7:~$ wget https://raw.githubusercontent.com/GameServe...ter/linuxgsm.sh --2019-01-07 21:47:48-- https://raw.githubusercontent.com/GameServe...ter/linuxgsm.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 11637 (11K) [text/plain] Saving to: `linuxgsm.sh' 100%[======================================>] 11,637 --.-K/s in 0s 2019-01-07 21:47:49 (29.9 MB/s) - `linuxgsm.sh' saved [11637/11637] test@debian7:~$ chmod +x linuxgsm.sh test@debian7:~$ bash linuxgsm.sh csserver fetching serverlist.csv...OK Installed Counter-Strike 1.6 server as csserver-2 ./csserver-2 install test@debian7:~$ ./csserver install -su: ./csserver: Is a directory test@debian7:~$ ./csserver-2 install fetching core_functions.sh...OK fetching core_legacy.sh...OK fetching core_messages.sh...OK fetching core_dl.sh...OK fetching core_trap.sh...OK fetching _default.cfg...OK copying _default.cfg...OK fetching common.cfg...OK fetching csserver-2.cfg...OK fetching linuxgsm.sh...OK fetching core_getopt.sh...OK fetching command_install.sh...OK fetching check.sh...OK fetching check_tmuxception.sh...OK fetching check_permissions.sh...OK fetching check_glibc.sh...OK fetching info_glibc.sh...OK fetching info_distro.sh...OK /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found [ERROR ] Install csserver-2: glibc: glibc distro version 2.13 too old * glibc required: 2.14 * glibc installed: 2.13 Information! The game server will probably not work. A distro upgrade is required! fetching check_system_requirements.sh...OK /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found fetching install_header.sh...OK ================================= LinuxGSM - Counter-Strike 1.6 by Daniel Gibbs Website: https://linuxgsm.com Contributors: https://linuxgsm.com/contrib Donate: https://linuxgsm.com/donate ================================= fetching install_server_dir.sh...OK Server Directory ================================= /home/test Continue? [Y/n] y mkdir: created directory `/home/test/serverfiles' fetching install_logs.sh...OK Creating log directories ================================= installing log dir: /home/test/log...OK installing LinuxGSM log dir: /home/test/log/script...OK creating LinuxGSM log: /home/test/log/script/csserver-2-script.log...OK installing console log dir: /home/test/log/console...OK creating console log: /home/test/log/console/csserver-2-console.log...OK installing game log dir: /home/test/serverfiles/cstrike/logs...OK creating symlink to game log dir: /home/test/log/server -> /home/test/serverfiles/cstrike/logs...OK creating symlink to steam log dir: /home/test/log/steamcmd -> /home/test/Steam/logs...OK fetching check_deps.sh...OK Checking Dependencies ================================= /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found tmux wget ca-certificates file bsdmainutils util-linux python bzip2 gzip unzip binutils bc jq lib32gcc1 libstdc++6:i386 Warning! Missing dependencies: jq [sudo] password for test: Information! Automatically installing missing dependencies. sudo: apt: command not found sudo: apt: command not found Failure! Unable to install dependencies Warning! Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt update; sudo apt install jq fetching install_steamcmd.sh...OK Installing SteamCMD ================================= fetching check_steamcmd.sh...OK Information! SteamCMD is already installed...OK fetching install_server_files.sh...OK Installing Counter-Strike 1.6 Server ================================= /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found Redirecting stderr to '/home/test/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client © Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK AppID : 70, change number : 5617439/0, last change : Fri Jan 4 19:17:42 2019 "70" { "common" { "clienticon" "d991f95d96e1c76d2acb944bb09447628cd96caa" "clienttga" "b3f33e2fd5e6eee2f2f27fe5b10b1c78683a3363" "icon" "95be6d131fc61f145797317ca437c9765f24b41c" "logo" "6bd76ff700a8c7a5460fbae3cf60cb930279897d" "logo_small" "698efe72e4316c1cde3c4ce2d6ce229be50e698c" "metacritic_url" "pc/halflife" "name" "Half-Life" "oslist" "windows,macos,linux" "linuxclienticon" "87bda297bfca8fa26490f4a35d634d978c7da319" "clienticns" "34953436dec82b4e45699ac618cf4c2015a12005" "type" "game" "metacritic_name" "Half-Life" "small_capsule" { "english" "capsule_231x87.jpg" } "header_image" { "english" "header.jpg" } "metacritic_score" "96" "metacritic_fullurl" "https://www.metacritic.com/game/pc/half-life?ftag=MCD-06-10aaa1f" "community_visible_stats" "1" "community_hub_visible" "1" "gameid" "70" "store_tags" { "0" "1663" "1" "1693" "2" "19" "3" "3942" "4" "4182" "5" "1774" "6" "3839" "7" "3859" "8" "1673" "9" "6691" "10" "1742" "11" "21" "12" "5144" "13" "4166" "14" "15954" "15" "1756" "16" "1669" "17" "7250" "18" "4004" "19" "4026" } } "extended" { "developer" "Valve" "gamedir" "valve" "homepage" "http://www.half-life.com/" "icon" "steam/games/icon_hl" "icon2" "steam/games/icon_hl_dull" "minclientversion" "1000000" "order" "15" "primarycache" "1" "serverbrowsername" "Half-Life" "vacmacmodulecache" "160" "vacmodulecache" "202" "vacmodulefilename" "sourceinit.dat" "developer_url" "http://www.valvesoftware.com" "publisher" "Valve" "listofdlc" "254430,323130,632440" } "config" { "launch" { "0" { "executable" "hl.exe" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit.dat" "config" { "oslist" "windows" } } "1" { "executable" "hl.sh" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit_macos.dat" "config" { "oslist" "macos" } } "2" { "executable" "hl.sh" "arguments" "-steam" "config" { "oslist" "linux" } } } "systemprofile" "1" "contenttype" "3" "installdir" "Half-Life" "convertgcfs" "1" } "depots" { "overridescddb" "1" "1" { "name" "Base -- Shared Content" "systemdefined" "1" "manifests" { "public" "5409401804038872403" } "maxsize" "429833309" } "3" { "name" "Base -- Shared Platform" "systemdefined" "1" "manifests" { "public" "5576191108383508136" } "maxsize" "894296" } "71" { "name" "Half-Life Base Content" "systemdefined" "1" "manifests" { "public" "6006103997606388497" } "maxsize" "15277882" } "96" { "name" "Half-Life High Definition" "manifests" { "public" "8007990985538868417" } "maxsize" "8060176" } "9" { "name" "Base -- OSX" "config" { "oslist" "macos" } "systemdefined" "1" "manifests" { "public" "8363470514121833163" } "maxsize" "52953237" } "8" { "name" "Base -- Linux" "config" { "oslist" "linux" } "systemdefined" "1" "manifests" { "public" "7389504465877295811" } "maxsize" "101158700" } "2" { "name" "Base -- Shared Binaries" "config" { "oslist" "windows" } "systemdefined" "1" "manifests" { "public" "1607025600235980776" } "maxsize" "43349849" } "6" { "name" "Base -- LV" "config" { "lowviolence" "1" } "manifests" { "public" "672119804007398607" } "maxsize" "52196726" } "72" { "name" "Half-Life French" "config" { "language" "french" } "manifests" { "public" "9076462543170487900" } "maxsize" "39371535" } "73" { "name" "Half-Life Italian" "config" { "language" "italian" } "manifests" { "public" "8955354892932449263" } "maxsize" "54732725" } "74" { "name" "Half-Life German" "config" { "language" "german" } "manifests" { "public" "5000716531281502924" } "maxsize" "52452190" } "75" { "name" "Half-Life Spanish" "config" { "language" "spanish" } "manifests" { "public" "8272406863631904970" } "maxsize" "48056244" } "77" { "name" "Half-Life sChinese" "config" { "language" "schinese" } "manifests" { "public" "6840227080551199882" } "maxsize" "45740712" } "78" { "name" "Half-Life Koreana" "config" { "language" "koreana" } "manifests" { "public" "896621515282850048" } "maxsize" "45548818" } "79" { "name" "Half-Life tChinese" "config" { "language" "tchinese" } "manifests" { "public" "6324191722012548347" } "maxsize" "45741130" } "141" { "name" "Half-Life Russian" "config" { "language" "russian" } "manifests" { "public" "6510631708251431404" } "maxsize" "79628" } "323130" { "name" "Half-Life Soundtrack (323130) Depot" "manifests" { "public" "6293875027379068970" } "maxsize" "86548144" "dlcappid" "323130" } "branches" { "public" { "buildid" "3035725" "timeupdated" "1534799990" } "beta" { "buildid" "3035725" "description" "Beta" "timeupdated" "1534443881" } } } "ufs" { "quota" "104857600" "maxnumfiles" "500" "savefiles" { "1" { "root" "gameinstall" "path" "valve/SAVE" "pattern" "*.*" "platforms" { "1" "all" } } "2" { "root" "gameinstall" "path" "valve" "pattern" "*.cfg" "recursive" "1" "platforms" { "1" "all" } } } } } Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x61) downloading, progress: 0.00 (0 / 807246946) Update state (0x61) downloading, progress: 0.16 (1257582 / 807246946) Update state (0x61) downloading, progress: 6.43 (51912161 / 807246946) Update state (0x61) downloading, progress: 26.26 (211945857 / 807246946) Update state (0x61) downloading, progress: 35.77 (288768131 / 807246946) Update state (0x61) downloading, progress: 39.57 (319429943 / 807246946) Update state (0x61) downloading, progress: 56.10 (452900629 / 807246946) Update state (0x61) downloading, progress: 70.03 (565296330 / 807246946) Update state (0x61) downloading, progress: 80.10 (646572184 / 807246946) Update state (0x61) downloading, progress: 84.26 (680204182 / 807246946) Update state (0x61) downloading, progress: 87.61 (707228265 / 807246946) Update state (0x61) downloading, progress: 89.62 (723436520 / 807246946) Update state (0x61) downloading, progress: 91.38 (737665826 / 807246946) Update state (0x61) downloading, progress: 94.85 (765702526 / 807246946) Success! App '90' fully installed. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded. Information! Goldsource servers commonly fail to download all the server files required. Validating a few of times may reduce the chance of this issue. Redirecting stderr to '/home/test/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client © Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK AppID : 70, change number : 5617439/0, last change : Fri Jan 4 19:17:42 2019 "70" { "common" { "clienticon" "d991f95d96e1c76d2acb944bb09447628cd96caa" "clienttga" "b3f33e2fd5e6eee2f2f27fe5b10b1c78683a3363" "icon" "95be6d131fc61f145797317ca437c9765f24b41c" "logo" "6bd76ff700a8c7a5460fbae3cf60cb930279897d" "logo_small" "698efe72e4316c1cde3c4ce2d6ce229be50e698c" "metacritic_url" "pc/halflife" "name" "Half-Life" "oslist" "windows,macos,linux" "linuxclienticon" "87bda297bfca8fa26490f4a35d634d978c7da319" "clienticns" "34953436dec82b4e45699ac618cf4c2015a12005" "type" "game" "metacritic_name" "Half-Life" "small_capsule" { "english" "capsule_231x87.jpg" } "header_image" { "english" "header.jpg" } "metacritic_score" "96" "metacritic_fullurl" "https://www.metacritic.com/game/pc/half-life?ftag=MCD-06-10aaa1f" "community_visible_stats" "1" "community_hub_visible" "1" "gameid" "70" "store_tags" { "0" "1663" "1" "1693" "2" "19" "3" "3942" "4" "4182" "5" "1774" "6" "3839" "7" "3859" "8" "1673" "9" "6691" "10" "1742" "11" "21" "12" "5144" "13" "4166" "14" "15954" "15" "1756" "16" "1669" "17" "7250" "18" "4004" "19" "4026" } } "extended" { "developer" "Valve" "gamedir" "valve" "homepage" "http://www.half-life.com/" "icon" "steam/games/icon_hl" "icon2" "steam/games/icon_hl_dull" "minclientversion" "1000000" "order" "15" "primarycache" "1" "serverbrowsername" "Half-Life" "vacmacmodulecache" "160" "vacmodulecache" "202" "vacmodulefilename" "sourceinit.dat" "developer_url" "http://www.valvesoftware.com" "publisher" "Valve" "listofdlc" "254430,323130,632440" } "config" { "launch" { "0" { "executable" "hl.exe" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit.dat" "config" { "oslist" "windows" } } "1" { "executable" "hl.sh" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit_macos.dat" "config" { "oslist" "macos" } } "2" { "executable" "hl.sh" "arguments" "-steam" "config" { "oslist" "linux" } } } "systemprofile" "1" "contenttype" "3" "installdir" "Half-Life" "convertgcfs" "1" } "depots" { "overridescddb" "1" "1" { "name" "Base -- Shared Content" "systemdefined" "1" "manifests" { "public" "5409401804038872403" } "maxsize" "429833309" } "3" { "name" "Base -- Shared Platform" "systemdefined" "1" "manifests" { "public" "5576191108383508136" } "maxsize" "894296" } "71" { "name" "Half-Life Base Content" "systemdefined" "1" "manifests" { "public" "6006103997606388497" } "maxsize" "15277882" } "96" { "name" "Half-Life High Definition" "manifests" { "public" "8007990985538868417" } "maxsize" "8060176" } "9" { "name" "Base -- OSX" "config" { "oslist" "macos" } "systemdefined" "1" "manifests" { "public" "8363470514121833163" } "maxsize" "52953237" } "8" { "name" "Base -- Linux" "config" { "oslist" "linux" } "systemdefined" "1" "manifests" { "public" "7389504465877295811" } "maxsize" "101158700" } "2" { "name" "Base -- Shared Binaries" "config" { "oslist" "windows" } "systemdefined" "1" "manifests" { "public" "1607025600235980776" } "maxsize" "43349849" } "6" { "name" "Base -- LV" "config" { "lowviolence" "1" } "manifests" { "public" "672119804007398607" } "maxsize" "52196726" } "72" { "name" "Half-Life French" "config" { "language" "french" } "manifests" { "public" "9076462543170487900" } "maxsize" "39371535" } "73" { "name" "Half-Life Italian" "config" { "language" "italian" } "manifests" { "public" "8955354892932449263" } "maxsize" "54732725" } "74" { "name" "Half-Life German" "config" { "language" "german" } "manifests" { "public" "5000716531281502924" } "maxsize" "52452190" } "75" { "name" "Half-Life Spanish" "config" { "language" "spanish" } "manifests" { "public" "8272406863631904970" } "maxsize" "48056244" } "77" { "name" "Half-Life sChinese" "config" { "language" "schinese" } "manifests" { "public" "6840227080551199882" } "maxsize" "45740712" } "78" { "name" "Half-Life Koreana" "config" { "language" "koreana" } "manifests" { "public" "896621515282850048" } "maxsize" "45548818" } "79" { "name" "Half-Life tChinese" "config" { "language" "tchinese" } "manifests" { "public" "6324191722012548347" } "maxsize" "45741130" } "141" { "name" "Half-Life Russian" "config" { "language" "russian" } "manifests" { "public" "6510631708251431404" } "maxsize" "79628" } "323130" { "name" "Half-Life Soundtrack (323130) Depot" "manifests" { "public" "6293875027379068970" } "maxsize" "86548144" "dlcappid" "323130" } "branches" { "public" { "buildid" "3035725" "timeupdated" "1534799990" } "beta" { "buildid" "3035725" "description" "Beta" "timeupdated" "1534443881" } } } "ufs" { "quota" "104857600" "maxnumfiles" "500" "savefiles" { "1" { "root" "gameinstall" "path" "valve/SAVE" "pattern" "*.*" "platforms" { "1" "all" } } "2" { "root" "gameinstall" "path" "valve" "pattern" "*.cfg" "recursive" "1" "platforms" { "1" "all" } } } } } Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x5) validating, progress: 58.84 (172125669 / 292554635) Update state (0x5) validating, progress: 78.72 (580721123 / 737665826) Success! App '90' fully installed. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded. Redirecting stderr to '/home/test/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client © Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK AppID : 70, change number : 5617439/0, last change : Fri Jan 4 19:17:42 2019 "70" { "common" { "clienticon" "d991f95d96e1c76d2acb944bb09447628cd96caa" "clienttga" "b3f33e2fd5e6eee2f2f27fe5b10b1c78683a3363" "icon" "95be6d131fc61f145797317ca437c9765f24b41c" "logo" "6bd76ff700a8c7a5460fbae3cf60cb930279897d" "logo_small" "698efe72e4316c1cde3c4ce2d6ce229be50e698c" "metacritic_url" "pc/halflife" "name" "Half-Life" "oslist" "windows,macos,linux" "linuxclienticon" "87bda297bfca8fa26490f4a35d634d978c7da319" "clienticns" "34953436dec82b4e45699ac618cf4c2015a12005" "type" "game" "metacritic_name" "Half-Life" "small_capsule" { "english" "capsule_231x87.jpg" } "header_image" { "english" "header.jpg" } "metacritic_score" "96" "metacritic_fullurl" "https://www.metacritic.com/game/pc/half-life?ftag=MCD-06-10aaa1f" "community_visible_stats" "1" "community_hub_visible" "1" "gameid" "70" "store_tags" { "0" "1663" "1" "1693" "2" "19" "3" "3942" "4" "4182" "5" "1774" "6" "3839" "7" "3859" "8" "1673" "9" "6691" "10" "1742" "11" "21" "12" "5144" "13" "4166" "14" "15954" "15" "1756" "16" "1669" "17" "7250" "18" "4004" "19" "4026" } } "extended" { "developer" "Valve" "gamedir" "valve" "homepage" "http://www.half-life.com/" "icon" "steam/games/icon_hl" "icon2" "steam/games/icon_hl_dull" "minclientversion" "1000000" "order" "15" "primarycache" "1" "serverbrowsername" "Half-Life" "vacmacmodulecache" "160" "vacmodulecache" "202" "vacmodulefilename" "sourceinit.dat" "developer_url" "http://www.valvesoftware.com" "publisher" "Valve" "listofdlc" "254430,323130,632440" } "config" { "launch" { "0" { "executable" "hl.exe" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit.dat" "config" { "oslist" "windows" } } "1" { "executable" "hl.sh" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit_macos.dat" "config" { "oslist" "macos" } } "2" { "executable" "hl.sh" "arguments" "-steam" "config" { "oslist" "linux" } } } "systemprofile" "1" "contenttype" "3" "installdir" "Half-Life" "convertgcfs" "1" } "depots" { "overridescddb" "1" "1" { "name" "Base -- Shared Content" "systemdefined" "1" "manifests" { "public" "5409401804038872403" } "maxsize" "429833309" } "3" { "name" "Base -- Shared Platform" "systemdefined" "1" "manifests" { "public" "5576191108383508136" } "maxsize" "894296" } "71" { "name" "Half-Life Base Content" "systemdefined" "1" "manifests" { "public" "6006103997606388497" } "maxsize" "15277882" } "96" { "name" "Half-Life High Definition" "manifests" { "public" "8007990985538868417" } "maxsize" "8060176" } "9" { "name" "Base -- OSX" "config" { "oslist" "macos" } "systemdefined" "1" "manifests" { "public" "8363470514121833163" } "maxsize" "52953237" } "8" { "name" "Base -- Linux" "config" { "oslist" "linux" } "systemdefined" "1" "manifests" { "public" "7389504465877295811" } "maxsize" "101158700" } "2" { "name" "Base -- Shared Binaries" "config" { "oslist" "windows" } "systemdefined" "1" "manifests" { "public" "1607025600235980776" } "maxsize" "43349849" } "6" { "name" "Base -- LV" "config" { "lowviolence" "1" } "manifests" { "public" "672119804007398607" } "maxsize" "52196726" } "72" { "name" "Half-Life French" "config" { "language" "french" } "manifests" { "public" "9076462543170487900" } "maxsize" "39371535" } "73" { "name" "Half-Life Italian" "config" { "language" "italian" } "manifests" { "public" "8955354892932449263" } "maxsize" "54732725" } "74" { "name" "Half-Life German" "config" { "language" "german" } "manifests" { "public" "5000716531281502924" } "maxsize" "52452190" } "75" { "name" "Half-Life Spanish" "config" { "language" "spanish" } "manifests" { "public" "8272406863631904970" } "maxsize" "48056244" } "77" { "name" "Half-Life sChinese" "config" { "language" "schinese" } "manifests" { "public" "6840227080551199882" } "maxsize" "45740712" } "78" { "name" "Half-Life Koreana" "config" { "language" "koreana" } "manifests" { "public" "896621515282850048" } "maxsize" "45548818" } "79" { "name" "Half-Life tChinese" "config" { "language" "tchinese" } "manifests" { "public" "6324191722012548347" } "maxsize" "45741130" } "141" { "name" "Half-Life Russian" "config" { "language" "russian" } "manifests" { "public" "6510631708251431404" } "maxsize" "79628" } "323130" { "name" "Half-Life Soundtrack (323130) Depot" "manifests" { "public" "6293875027379068970" } "maxsize" "86548144" "dlcappid" "323130" } "branches" { "public" { "buildid" "3035725" "timeupdated" "1534799990" } "beta" { "buildid" "3035725" "description" "Beta" "timeupdated" "1534443881" } } } "ufs" { "quota" "104857600" "maxnumfiles" "500" "savefiles" { "1" { "root" "gameinstall" "path" "valve/SAVE" "pattern" "*.*" "platforms" { "1" "all" } } "2" { "root" "gameinstall" "path" "valve" "pattern" "*.cfg" "recursive" "1" "platforms" { "1" "all" } } } } } Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x5) validating, progress: 77.00 (225270403 / 292554635) Update state (0x5) validating, progress: 72.34 (533630143 / 737665826) Success! App '90' fully installed. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded. Redirecting stderr to '/home/test/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client © Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK AppID : 70, change number : 5617439/0, last change : Fri Jan 4 19:17:42 2019 "70" { "common" { "clienticon" "d991f95d96e1c76d2acb944bb09447628cd96caa" "clienttga" "b3f33e2fd5e6eee2f2f27fe5b10b1c78683a3363" "icon" "95be6d131fc61f145797317ca437c9765f24b41c" "logo" "6bd76ff700a8c7a5460fbae3cf60cb930279897d" "logo_small" "698efe72e4316c1cde3c4ce2d6ce229be50e698c" "metacritic_url" "pc/halflife" "name" "Half-Life" "oslist" "windows,macos,linux" "linuxclienticon" "87bda297bfca8fa26490f4a35d634d978c7da319" "clienticns" "34953436dec82b4e45699ac618cf4c2015a12005" "type" "game" "metacritic_name" "Half-Life" "small_capsule" { "english" "capsule_231x87.jpg" } "header_image" { "english" "header.jpg" } "metacritic_score" "96" "metacritic_fullurl" "https://www.metacritic.com/game/pc/half-life?ftag=MCD-06-10aaa1f" "community_visible_stats" "1" "community_hub_visible" "1" "gameid" "70" "store_tags" { "0" "1663" "1" "1693" "2" "19" "3" "3942" "4" "4182" "5" "1774" "6" "3839" "7" "3859" "8" "1673" "9" "6691" "10" "1742" "11" "21" "12" "5144" "13" "4166" "14" "15954" "15" "1756" "16" "1669" "17" "7250" "18" "4004" "19" "4026" } } "extended" { "developer" "Valve" "gamedir" "valve" "homepage" "http://www.half-life.com/" "icon" "steam/games/icon_hl" "icon2" "steam/games/icon_hl_dull" "minclientversion" "1000000" "order" "15" "primarycache" "1" "serverbrowsername" "Half-Life" "vacmacmodulecache" "160" "vacmodulecache" "202" "vacmodulefilename" "sourceinit.dat" "developer_url" "http://www.valvesoftware.com" "publisher" "Valve" "listofdlc" "254430,323130,632440" } "config" { "launch" { "0" { "executable" "hl.exe" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit.dat" "config" { "oslist" "windows" } } "1" { "executable" "hl.sh" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit_macos.dat" "config" { "oslist" "macos" } } "2" { "executable" "hl.sh" "arguments" "-steam" "config" { "oslist" "linux" } } } "systemprofile" "1" "contenttype" "3" "installdir" "Half-Life" "convertgcfs" "1" } "depots" { "overridescddb" "1" "1" { "name" "Base -- Shared Content" "systemdefined" "1" "manifests" { "public" "5409401804038872403" } "maxsize" "429833309" } "3" { "name" "Base -- Shared Platform" "systemdefined" "1" "manifests" { "public" "5576191108383508136" } "maxsize" "894296" } "71" { "name" "Half-Life Base Content" "systemdefined" "1" "manifests" { "public" "6006103997606388497" } "maxsize" "15277882" } "96" { "name" "Half-Life High Definition" "manifests" { "public" "8007990985538868417" } "maxsize" "8060176" } "9" { "name" "Base -- OSX" "config" { "oslist" "macos" } "systemdefined" "1" "manifests" { "public" "8363470514121833163" } "maxsize" "52953237" } "8" { "name" "Base -- Linux" "config" { "oslist" "linux" } "systemdefined" "1" "manifests" { "public" "7389504465877295811" } "maxsize" "101158700" } "2" { "name" "Base -- Shared Binaries" "config" { "oslist" "windows" } "systemdefined" "1" "manifests" { "public" "1607025600235980776" } "maxsize" "43349849" } "6" { "name" "Base -- LV" "config" { "lowviolence" "1" } "manifests" { "public" "672119804007398607" } "maxsize" "52196726" } "72" { "name" "Half-Life French" "config" { "language" "french" } "manifests" { "public" "9076462543170487900" } "maxsize" "39371535" } "73" { "name" "Half-Life Italian" "config" { "language" "italian" } "manifests" { "public" "8955354892932449263" } "maxsize" "54732725" } "74" { "name" "Half-Life German" "config" { "language" "german" } "manifests" { "public" "5000716531281502924" } "maxsize" "52452190" } "75" { "name" "Half-Life Spanish" "config" { "language" "spanish" } "manifests" { "public" "8272406863631904970" } "maxsize" "48056244" } "77" { "name" "Half-Life sChinese" "config" { "language" "schinese" } "manifests" { "public" "6840227080551199882" } "maxsize" "45740712" } "78" { "name" "Half-Life Koreana" "config" { "language" "koreana" } "manifests" { "public" "896621515282850048" } "maxsize" "45548818" } "79" { "name" "Half-Life tChinese" "config" { "language" "tchinese" } "manifests" { "public" "6324191722012548347" } "maxsize" "45741130" } "141" { "name" "Half-Life Russian" "config" { "language" "russian" } "manifests" { "public" "6510631708251431404" } "maxsize" "79628" } "323130" { "name" "Half-Life Soundtrack (323130) Depot" "manifests" { "public" "6293875027379068970" } "maxsize" "86548144" "dlcappid" "323130" } "branches" { "public" { "buildid" "3035725" "timeupdated" "1534799990" } "beta" { "buildid" "3035725" "description" "Beta" "timeupdated" "1534443881" } } } "ufs" { "quota" "104857600" "maxnumfiles" "500" "savefiles" { "1" { "root" "gameinstall" "path" "valve/SAVE" "pattern" "*.*" "platforms" { "1" "all" } } "2" { "root" "gameinstall" "path" "valve" "pattern" "*.cfg" "recursive" "1" "platforms" { "1" "all" } } } } } Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x5) validating, progress: 66.15 (193536510 / 292554635) Update state (0x5) validating, progress: 71.04 (524016847 / 737665826) Update state (0x5) validating, progress: 96.94 (782529796 / 807246946) Success! App '90' fully installed. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded. Redirecting stderr to '/home/test/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client © Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK AppID : 70, change number : 5617439/0, last change : Fri Jan 4 19:17:42 2019 "70" { "common" { "clienticon" "d991f95d96e1c76d2acb944bb09447628cd96caa" "clienttga" "b3f33e2fd5e6eee2f2f27fe5b10b1c78683a3363" "icon" "95be6d131fc61f145797317ca437c9765f24b41c" "logo" "6bd76ff700a8c7a5460fbae3cf60cb930279897d" "logo_small" "698efe72e4316c1cde3c4ce2d6ce229be50e698c" "metacritic_url" "pc/halflife" "name" "Half-Life" "oslist" "windows,macos,linux" "linuxclienticon" "87bda297bfca8fa26490f4a35d634d978c7da319" "clienticns" "34953436dec82b4e45699ac618cf4c2015a12005" "type" "game" "metacritic_name" "Half-Life" "small_capsule" { "english" "capsule_231x87.jpg" } "header_image" { "english" "header.jpg" } "metacritic_score" "96" "metacritic_fullurl" "https://www.metacritic.com/game/pc/half-life?ftag=MCD-06-10aaa1f" "community_visible_stats" "1" "community_hub_visible" "1" "gameid" "70" "store_tags" { "0" "1663" "1" "1693" "2" "19" "3" "3942" "4" "4182" "5" "1774" "6" "3839" "7" "3859" "8" "1673" "9" "6691" "10" "1742" "11" "21" "12" "5144" "13" "4166" "14" "15954" "15" "1756" "16" "1669" "17" "7250" "18" "4004" "19" "4026" } } "extended" { "developer" "Valve" "gamedir" "valve" "homepage" "http://www.half-life.com/" "icon" "steam/games/icon_hl" "icon2" "steam/games/icon_hl_dull" "minclientversion" "1000000" "order" "15" "primarycache" "1" "serverbrowsername" "Half-Life" "vacmacmodulecache" "160" "vacmodulecache" "202" "vacmodulefilename" "sourceinit.dat" "developer_url" "http://www.valvesoftware.com" "publisher" "Valve" "listofdlc" "254430,323130,632440" } "config" { "launch" { "0" { "executable" "hl.exe" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit.dat" "config" { "oslist" "windows" } } "1" { "executable" "hl.sh" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit_macos.dat" "config" { "oslist" "macos" } } "2" { "executable" "hl.sh" "arguments" "-steam" "config" { "oslist" "linux" } } } "systemprofile" "1" "contenttype" "3" "installdir" "Half-Life" "convertgcfs" "1" } "depots" { "overridescddb" "1" "1" { "name" "Base -- Shared Content" "systemdefined" "1" "manifests" { "public" "5409401804038872403" } "maxsize" "429833309" } "3" { "name" "Base -- Shared Platform" "systemdefined" "1" "manifests" { "public" "5576191108383508136" } "maxsize" "894296" } "71" { "name" "Half-Life Base Content" "systemdefined" "1" "manifests" { "public" "6006103997606388497" } "maxsize" "15277882" } "96" { "name" "Half-Life High Definition" "manifests" { "public" "8007990985538868417" } "maxsize" "8060176" } "9" { "name" "Base -- OSX" "config" { "oslist" "macos" } "systemdefined" "1" "manifests" { "public" "8363470514121833163" } "maxsize" "52953237" } "8" { "name" "Base -- Linux" "config" { "oslist" "linux" } "systemdefined" "1" "manifests" { "public" "7389504465877295811" } "maxsize" "101158700" } "2" { "name" "Base -- Shared Binaries" "config" { "oslist" "windows" } "systemdefined" "1" "manifests" { "public" "1607025600235980776" } "maxsize" "43349849" } "6" { "name" "Base -- LV" "config" { "lowviolence" "1" } "manifests" { "public" "672119804007398607" } "maxsize" "52196726" } "72" { "name" "Half-Life French" "config" { "language" "french" } "manifests" { "public" "9076462543170487900" } "maxsize" "39371535" } "73" { "name" "Half-Life Italian" "config" { "language" "italian" } "manifests" { "public" "8955354892932449263" } "maxsize" "54732725" } "74" { "name" "Half-Life German" "config" { "language" "german" } "manifests" { "public" "5000716531281502924" } "maxsize" "52452190" } "75" { "name" "Half-Life Spanish" "config" { "language" "spanish" } "manifests" { "public" "8272406863631904970" } "maxsize" "48056244" } "77" { "name" "Half-Life sChinese" "config" { "language" "schinese" } "manifests" { "public" "6840227080551199882" } "maxsize" "45740712" } "78" { "name" "Half-Life Koreana" "config" { "language" "koreana" } "manifests" { "public" "896621515282850048" } "maxsize" "45548818" } "79" { "name" "Half-Life tChinese" "config" { "language" "tchinese" } "manifests" { "public" "6324191722012548347" } "maxsize" "45741130" } "141" { "name" "Half-Life Russian" "config" { "language" "russian" } "manifests" { "public" "6510631708251431404" } "maxsize" "79628" } "323130" { "name" "Half-Life Soundtrack (323130) Depot" "manifests" { "public" "6293875027379068970" } "maxsize" "86548144" "dlcappid" "323130" } "branches" { "public" { "buildid" "3035725" "timeupdated" "1534799990" } "beta" { "buildid" "3035725" "description" "Beta" "timeupdated" "1534443881" } } } "ufs" { "quota" "104857600" "maxnumfiles" "500" "savefiles" { "1" { "root" "gameinstall" "path" "valve/SAVE" "pattern" "*.*" "platforms" { "1" "all" } } "2" { "root" "gameinstall" "path" "valve" "pattern" "*.cfg" "recursive" "1" "platforms" { "1" "all" } } } } } Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x5) validating, progress: 97.87 (286311154 / 292554635) Update state (0x5) validating, progress: 84.79 (625479423 / 737665826) Success! App '90' fully installed. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 1 items discarded. Redirecting stderr to '/home/test/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client © Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Connecting anonymously to Steam Public...Logged in OK Waiting for user info...OK AppID : 70, change number : 5617439/0, last change : Fri Jan 4 19:17:42 2019 "70" { "common" { "clienticon" "d991f95d96e1c76d2acb944bb09447628cd96caa" "clienttga" "b3f33e2fd5e6eee2f2f27fe5b10b1c78683a3363" "icon" "95be6d131fc61f145797317ca437c9765f24b41c" "logo" "6bd76ff700a8c7a5460fbae3cf60cb930279897d" "logo_small" "698efe72e4316c1cde3c4ce2d6ce229be50e698c" "metacritic_url" "pc/halflife" "name" "Half-Life" "oslist" "windows,macos,linux" "linuxclienticon" "87bda297bfca8fa26490f4a35d634d978c7da319" "clienticns" "34953436dec82b4e45699ac618cf4c2015a12005" "type" "game" "metacritic_name" "Half-Life" "small_capsule" { "english" "capsule_231x87.jpg" } "header_image" { "english" "header.jpg" } "metacritic_score" "96" "metacritic_fullurl" "https://www.metacritic.com/game/pc/half-life?ftag=MCD-06-10aaa1f" "community_visible_stats" "1" "community_hub_visible" "1" "gameid" "70" "store_tags" { "0" "1663" "1" "1693" "2" "19" "3" "3942" "4" "4182" "5" "1774" "6" "3839" "7" "3859" "8" "1673" "9" "6691" "10" "1742" "11" "21" "12" "5144" "13" "4166" "14" "15954" "15" "1756" "16" "1669" "17" "7250" "18" "4004" "19" "4026" } } "extended" { "developer" "Valve" "gamedir" "valve" "homepage" "http://www.half-life.com/" "icon" "steam/games/icon_hl" "icon2" "steam/games/icon_hl_dull" "minclientversion" "1000000" "order" "15" "primarycache" "1" "serverbrowsername" "Half-Life" "vacmacmodulecache" "160" "vacmodulecache" "202" "vacmodulefilename" "sourceinit.dat" "developer_url" "http://www.valvesoftware.com" "publisher" "Valve" "listofdlc" "254430,323130,632440" } "config" { "launch" { "0" { "executable" "hl.exe" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit.dat" "config" { "oslist" "windows" } } "1" { "executable" "hl.sh" "arguments" "-steam" "vacmodulefilename" "resource\\sourceinit_macos.dat" "config" { "oslist" "macos" } } "2" { "executable" "hl.sh" "arguments" "-steam" "config" { "oslist" "linux" } } } "systemprofile" "1" "contenttype" "3" "installdir" "Half-Life" "convertgcfs" "1" } "depots" { "overridescddb" "1" "1" { "name" "Base -- Shared Content" "systemdefined" "1" "manifests" { "public" "5409401804038872403" } "maxsize" "429833309" } "3" { "name" "Base -- Shared Platform" "systemdefined" "1" "manifests" { "public" "5576191108383508136" } "maxsize" "894296" } "71" { "name" "Half-Life Base Content" "systemdefined" "1" "manifests" { "public" "6006103997606388497" } "maxsize" "15277882" } "96" { "name" "Half-Life High Definition" "manifests" { "public" "8007990985538868417" } "maxsize" "8060176" } "9" { "name" "Base -- OSX" "config" { "oslist" "macos" } "systemdefined" "1" "manifests" { "public" "8363470514121833163" } "maxsize" "52953237" } "8" { "name" "Base -- Linux" "config" { "oslist" "linux" } "systemdefined" "1" "manifests" { "public" "7389504465877295811" } "maxsize" "101158700" } "2" { "name" "Base -- Shared Binaries" "config" { "oslist" "windows" } "systemdefined" "1" "manifests" { "public" "1607025600235980776" } "maxsize" "43349849" } "6" { "name" "Base -- LV" "config" { "lowviolence" "1" } "manifests" { "public" "672119804007398607" } "maxsize" "52196726" } "72" { "name" "Half-Life French" "config" { "language" "french" } "manifests" { "public" "9076462543170487900" } "maxsize" "39371535" } "73" { "name" "Half-Life Italian" "config" { "language" "italian" } "manifests" { "public" "8955354892932449263" } "maxsize" "54732725" } "74" { "name" "Half-Life German" "config" { "language" "german" } "manifests" { "public" "5000716531281502924" } "maxsize" "52452190" } "75" { "name" "Half-Life Spanish" "config" { "language" "spanish" } "manifests" { "public" "8272406863631904970" } "maxsize" "48056244" } "77" { "name" "Half-Life sChinese" "config" { "language" "schinese" } "manifests" { "public" "6840227080551199882" } "maxsize" "45740712" } "78" { "name" "Half-Life Koreana" "config" { "language" "koreana" } "manifests" { "public" "896621515282850048" } "maxsize" "45548818" } "79" { "name" "Half-Life tChinese" "config" { "language" "tchinese" } "manifests" { "public" "6324191722012548347" } "maxsize" "45741130" } "141" { "name" "Half-Life Russian" "config" { "language" "russian" } "manifests" { "public" "6510631708251431404" } "maxsize" "79628" } "323130" { "name" "Half-Life Soundtrack (323130) Depot" "manifests" { "public" "6293875027379068970" } "maxsize" "86548144" "dlcappid" "323130" } "branches" { "public" { "buildid" "3035725" "timeupdated" "1534799990" } "beta" { "buildid" "3035725" "description" "Beta" "timeupdated" "1534443881" } } } "ufs" { "quota" "104857600" "maxnumfiles" "500" "savefiles" { "1" { "root" "gameinstall" "path" "valve/SAVE" "pattern" "*.*" "platforms" { "1" "all" } } "2" { "root" "gameinstall" "path" "valve" "pattern" "*.cfg" "recursive" "1" "platforms" { "1" "all" } } } } } Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x5) validating, progress: 86.42 (252812894 / 292554635) Update state (0x5) validating, progress: 80.45 (593480927 / 737665826) Success! App '90' fully installed. CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 2 items discarded. ================================= Was the install successful? [Y/n] Y fetching install_config.sh...OK Downloading Counter-Strike 1.6 Configs ================================= default configs from https://github.com/GameServerManagers/Game-Server-Configs fetching server.cfg...OK copying server.cfg config file. `/home/test/lgsm/config-default/config-game/server.cfg' -> `/home/test/serverfiles/cstrike/csserver-2.cfg' changing hostname. changing rcon/admin password. fetching fix.sh...OK Applying Post-Install Fixes ================================= Information! No fixes required. fetching install_complete.sh...OK ================================= Install Complete! To start server type: ./csserver-2 start fetching core_exit.sh...OK test@debian7:~$ ./csserver-2 start fetching command_start.sh...OK [ .... ] Starting csserver-2: fetching check_root.sh...OK fetching check_system_dir.sh...OK fetching check_executable.sh...OK /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found [ERROR ] Starting csserver-2: glibc: glibc distro version 2.13 too old * glibc required: 2.14 * glibc installed: 2.13 Information! The game server will probably not work. A distro upgrade is required! fetching check_logs.sh...OK /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found Warning! Missing dependencies: jq Information! Automatically installing missing dependencies. sudo: apt: command not found sudo: apt: command not found Failure! Unable to install dependencies Warning! Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt update; sudo apt install jq fetching check_config.sh...OK fetching check_ip.sh...OK fetching info_config.sh...OK fetching info_parms.sh...OK [ INFO ] Starting csserver-2: Check IP: 185.158.112.97 fetching check_status.sh...OK /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found fetching fix_steamcmd.sh...OK [ OK ] Fix csserver-2: Applying steamclient.so general fix: Counter-Strike 1.6 fetching logs.sh...OK [ OK ] Starting csserver-2: LinuxGSM test@debian7:~$ sudo apt install jq sudo: apt: command not found test@debian7:~$ sudo apt-get install jq Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package jq test@debian7:~$ ./csserver-2 stop fetching command_stop.sh...OK [ .... ] Stopping csserver-2: /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found Warning! Missing dependencies: jq Information! Automatically installing missing dependencies. sudo: apt: command not found sudo: apt: command not found Failure! Unable to install dependencies Warning! Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt update; sudo apt install jq [ INFO ] Stopping csserver-2: Check IP: 185.158.112.97 [ OK ] Stopping csserver-2: Graceful: sending "quit": 3: OK [ OK ] Stopping csserver-2: LinuxGSM test@debian7:~$ apt-get install jq E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? test@debian7:~$ sudo apt-get install jq Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package jq test@debian7:~$ ./csserver-2 stop [ .... ] Stopping csserver-2: /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found Warning! Missing dependencies: jq Information! Automatically installing missing dependencies. sudo: apt: command not found sudo: apt: command not found Failure! Unable to install dependencies Warning! Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt update; sudo apt install jq [ INFO ] Stopping csserver-2: Check IP: 185.158.112.97 [ INFO ] Stopping csserver-2: LinuxGSM is already stopped test@debian7:~$ ./csserver-2 stop [ .... ] Stopping csserver-2: /home/test/lgsm/functions/info_distro.sh: line 227: jq: command not found Warning! Missing dependencies: jq Information! Automatically installing missing dependencies. sudo: apt: command not found sudo: apt: command not found Failure! Unable to install dependencies Warning! Manually install dependencies. sudo dpkg --add-architecture i386; sudo apt update; sudo apt install jq [ INFO ] Stopping csserver-2: Check IP: 185.158.112.97 [ INFO ] Stopping csserver-2: LinuxGSM is already stopped test@debian7:~$
Отредактировал: Fullserver, - 8.1.2019, 11:21
Причина: Выдано устное предупреждение! |
|
|
|
GetA |
8.1.2019, 5:14
Сообщение
|
О хоспади, на pastebin залейте.
Да и вообще, почему debian 7? Что мешало 9? Или вообще ubuntu 18.04 с lts в 10 лет. Цитата Но!!!! jq не ставится как мне его поставить? Цитата cd /tmp && wget dpk -i jq_1.4-1~bpo70+1_i386.deb Кстати, дальше ещё идёт: Цитата Install csserver-2: glibc: glibc distro version 2.13 too old
|
|
|
|
Gecko |
8.1.2019, 6:12
Сообщение
|
проще в /etc/rc.local
что-то вроде этого: Код cd /opt/autostart/27015/ screen -A -m -d -S 27015 python autostart.py exit 0 в примере выше выполняем 2 команды переход в нужную директорию и запуск реаниматора на питоне. скрипт реаниматора от исусфанк - но он очень простой, взял из старых своих настроек (все работает точно) если вам нужно реанимировать несколько серверов копируйте настройки и подставляете значения Код cd /opt/autostart/27015/ screen -A -m -d -S 27015 python autostart.py cd /opt/autostart/27016/ screen -A -m -d -S 27016 python autostart.py exit 0 будет создано 2 PID реаниматора для 2 серверов файл #1 /opt/autostart/27015/autostart.py Код import socket,ConfigParser,sys,thread,time,datetime,os def servmon(ip,port,ithread,icmd): # print icmd print "Thread " + str(ithread) + " of monitoring server started\n" retry = 0 while 1: sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.connect((ip, int(port))) sock.send('\377\377\377\377TSource Engine Query\0') print "Thread " + str(ithread)+": "+ "Send ok to "+ip+":"+port+" waiting response for 45 sec....\n" sock.settimeout(45) try: text=sock.recv(1024) except Exception, e: print "Thread " + str(ithread)+": " + "Error:%s"%e + " on server ip"+ip+":"+port retry = retry + 1 print "retry: " + str(retry) if retry > 3: print "Thread " + str(ithread)+": " + "retry is more than 3, send restart cmd to system!" print icmd os.system(icmd) time.sleep(13) pass else: if text.find('cstrike') > 1: print "Thread " + str(ithread)+": "+ "Response ok from "+ip+":"+port+" next retry to request is 45 sec.\n" retry = 0 time.sleep(45) srvcs = [ics.strip("\n") for ics in open('server.list')] print "list of loaded servers:" for ics in srvcs: ip,port,icmd = ics.split(":") print ip+":"+port print "\n" ithread = 0 for ics in srvcs: ip,port,icmd = ics.split(":") ithread = ithread + 1 thread.start_new_thread(servmon, (ip,port,ithread,icmd)) while 1: time.sleep(10) print "I'm still work and monitoring your servers:)" файл #2 /opt/autostart/27015/ server.list Код ip-сервера:27015: cd /opt/autostart/27015/ && sudo ./27015.sh restart файл #3 Код #!/bin/bash GAME_PATH=/opt/hlds/27015 start() { cd $GAME_PATH && screen -A -m -d -S CS1 sudo taskset -c 0-2 ./hlds_run -pingboost 1 -game cstrike -master +ip 185.224.249.16 +port 27015 -noipx +maxplayers 32 +map de_dust2 } stop() { PID=`ps fax | grep CS1 | grep SCREEN | awk '{ print $1 }'` kill $PID } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac exit 0 данное решение полностью рабочее, безотказное и не грузит сервер, единственное нужно будет правильно выставить права и поправить файл /etc/sudoers Не отвечаю на ЛС.
|
|
|
|
klopikus |
8.1.2019, 6:57
Сообщение
|
|
|
vavarik |
8.1.2019, 7:36
Сообщение
|
|
Проблема заключается в использовании репозиториев для 7 системы. Лучше установить, как говорят 8 дебиан. За убунту не скажу, не знаком с ней. Поищите в Гугле репозитории для 7 дебиана и добавьте. Затем обновите записи и пробуйте.
|
|
|
GetA |
8.1.2019, 14:14
Сообщение
|
Цитата cd $GAME_PATH && screen -A -m -d -S CS1 sudo taskset -c 0-2 ./hlds_run -pingboost 1 -game cstrike -master +ip 185.224.249.16 +port 27015 -noipx +maxplayers 32 +map de_dust2 Параметра -master не существует, есть только -nomaster. klopikus, Возьмите линк на пакет отсюда:
Отредактировал: GetA, - 8.1.2019, 14:15
|
|
|
|
klopikus |
9.1.2019, 3:41
Сообщение
|
[quote name='GetA' date='8.1.2019, 15:14' post='1077921']
Параметра -master не существует, есть только -nomaster. так вроде всё уладил разве только * glibc required: 2.14 * glibc installed: 2.13 оказалось у меня 2.13 но не как не могу поставить 2.14 Есть вариант установить и заставить работать? и ещё вопрос про crontab Код */2 * * * * /home/test/csserver-2 monitor > /dev/null 2>&1 30 5 * * * /home/test/csserver-2 fu > /dev/null 2>&1 0 0 * * 0 /home/test/csserver-2 uf > /dev/null 2>&1 */2 * * * * su - test -c '/home/test/cssserver-2 monitor' > /dev/null 2>&1 30 5 * * * su - test -c '/home/test/cssserver-2 fu' > /dev/null 2>&1 0 0 * * 0 su - test -c '/home/test/cssserver-2 uf' > /dev/null 2>&1 0 5 * * * /home/test/cssserver-2 backup > /dev/null 2>&1 0 5 * * * su - test -c '/home/test/cssserver-2 backup' > /dev/null 2>&1 это у меня в crontab -e под пользователем я понимаю что всё 2 раза написал в чём разница и какие из них правильные? |
|
|
|
3aB}{o3 |
9.1.2019, 15:37
Сообщение
|
|
ТС ты извини конечно, но ты садист, зачем 7-ку ставить, когда уже и с 8-кой есть проблемы с репами. Совет в теме уже прозвучал, ставь 9-ку и не парься.
|
Поблагодарили 1 раз
|
|
klopikus |
12.1.2019, 0:26
Сообщение
|
|
|
Jtee |
12.1.2019, 8:50
Сообщение
|
Да, с 9 таких проблем нет
|
|
|
|
oxoTHuk. |
14.1.2019, 9:50
Сообщение
|
|
Еще, как вариант, supervisor
|
|
|