HLDM Форум
https://forum.hldm.org/

Не может найти server.sh
https://forum.hldm.org/viewtopic.php?f=36&t=948
Страница 1 из 2

Автор:  aza [ 01 сен 2015, 05:21 ]
Заголовок сообщения:  Не может найти server.sh

Здравствуйте,столкнулся с такой проблемой.Gameap не видит server.sh.

os:debian 7

Настройки сервера:
http://prntscr.com/8b7ekz
Путь в gameap:/home/servers/css34/public_sp/Server_34_linux

Заходим в директорию сервера http://prntscr.com/8b7ex8

Как видите все тут,вроде как чисто.

В чем ошибка?

Автор:  GordonFreeman [ 01 сен 2015, 10:41 ]
Заголовок сообщения:  Re: Не может найти server.sh

servers.sh должен находится в папке /home/servers

Автор:  aza [ 01 сен 2015, 10:57 ]
Заголовок сообщения:  Re: Не может найти server.sh

Благодарю.Но почему то сервер не включаться,с терминало все заводиться.

Автор:  Vova [ 01 сен 2015, 11:15 ]
Заголовок сообщения:  Re: Не может найти server.sh

aza писал(а):
Благодарю.Но почему то сервер не включаться,с терминало все заводиться.

Посмотри в логах ошибки.
И зайди в ssh и напиши команду вручную какая запускается через панель и будешь иметь все ошибки почему не работает.

Автор:  aza [ 01 сен 2015, 11:46 ]
Заголовок сообщения:  Re: Не может найти server.sh

[Sun Aug 30 09:16:40 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/install
[Sun Aug 30 09:17:42 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:42 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:47 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:47 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:48 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:48 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:49 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:17:49 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:19:44 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:19:44 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:21:54 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:21:54 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:21:55 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:21:55 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:21:56 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:21:56 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:22:25 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:22:25 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:25:27 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:25:27 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:26:33 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:26:33 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:27:52 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:27:52 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:31:15 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:31:15 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:31:16 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:31:16 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:31:17 2015] [error] [client 5.137.8.195] PHP Warning: require_once(/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:31:17 2015] [error] [client 5.137.8.195] PHP Fatal error: require_once(): Failed opening required '/var/www/aza/data/www/37.230.210.21/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/aza/data/www/37.230.210.21/index.php on line 206
[Sun Aug 30 09:32:47 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/select_language
[Sun Aug 30 09:32:52 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/start/russian
[Sun Aug 30 09:32:54 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/1/russian
[Sun Aug 30 09:32:56 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/2/russian
[Sun Aug 30 09:33:52 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/2/russian
[Sun Aug 30 09:33:52 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/favicon.ico, referer: http://37.230.210.21/install/page/2/russian
[Sun Aug 30 09:33:53 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/3/russian
[Sun Aug 30 09:36:21 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/4/russian
[Sun Aug 30 09:36:23 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/default/images, referer: http://37.230.210.21/install/page/end/russian
[Sun Aug 30 09:37:18 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/
[Sun Aug 30 10:48:31 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/
[Sun Aug 30 10:48:31 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/favicon.ico, referer: http://37.230.210.21/
[Sun Aug 30 12:23:19 2015] [error] [client 5.137.8.195] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/auth/in
[Sun Aug 30 13:30:59 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/auth/in
[Sun Aug 30 13:31:14 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/auth/in/
[Sun Aug 30 13:52:25 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/auth/in/
[Sun Aug 30 13:52:29 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/
[Sun Aug 30 13:52:32 2015] [error] [client 185.6.118.161] File does not exist: /var/www/aza/data/www/37.230.210.21/themes/system/js/jquery-1.10.2.min.js, referer: http://37.230.210.21/
[Sun Aug 30 14:55:21 2015] [error] [client 104.45.18.178] File does not exist: /var/www/aza/data/www/37.230.210.21/favicon.ico

Автор:  GordonFreeman [ 01 сен 2015, 12:40 ]
Заголовок сообщения:  Re: Не может найти server.sh

Скинь логи из панели (в верхнем меню АдминПанель -> Логи GameAP) и выбери запись с попыткой запуска сервера.

Автор:  aza [ 01 сен 2015, 13:33 ]
Заголовок сообщения:  Re: Не может найти server.sh

http://prntscr.com/8bato0
Тут интересно
Данные лога:
Command:
cd /home/servers && ./server.sh -t start -d /home/servers/css34/public_sp/Server_34_linux -n cssv34_mD566W_55777 -i 37.230.210.21 -p 55777 -c "./srcds_run -game cstrike +ip 37.230.210.21 +port 55777 +maxplayers 32 +map de_dust2 +sys_ticrate 66" -s {net_limit} -f {cpu_limit} -m {ram_limit} -u root

Автор:  GordonFreeman [ 01 сен 2015, 18:24 ]
Заголовок сообщения:  Re: Не может найти server.sh

Выполни эту команду в терминале.
Какой тип управления используется (SSH, Telnet, Local, GDaemon) ?
Попробуй так-же выполнить эту команду от пользователя, от которого запускается сам веб-сервер (ниже пример):
Код:
sudo su -c 'cd /home/servers && ./server.sh -t start -d /home/servers/css34/public_sp/Server_34_linux -n cssv34_mD566W_55777 -i 37.230.210.21 -p 55777 -c "./srcds_run -game cstrike +ip 37.230.210.21 +port 55777 +maxplayers 32 +map de_dust2 +sys_ticrate 66" -s {net_limit} -f {cpu_limit} -m {ram_limit} -u root' www-data

Автор:  aza [ 02 сен 2015, 11:44 ]
Заголовок сообщения:  Re: Не может найти server.sh

SSH

Сейчас попробую.

Автор:  aza [ 02 сен 2015, 11:51 ]
Заголовок сообщения:  Re: Не может найти server.sh

Last login: Tue Sep 1 07:24:11 2015 from 5.137.26.161
root@nekro:~# sudo su -c 'cd /home/servers && ./server.sh -t start -d /home/servers/css34/public_sp/Server_34_linux -n cssv34_mD566W_55777 -i 37.230.210.21 -p 55777 -c "./srcds_run -game cstrike +ip 37.230.210.21 +port 55777 +maxplayers 32 +map de_dust2 +sys_ticrate 66" -s {net_limit} -f {cpu_limit} -m {ram_limit} -u root' www-data
./server.sh: 1: ./server.sh: ./srcds_run: not found

Автор:  GordonFreeman [ 02 сен 2015, 11:57 ]
Заголовок сообщения:  Re: Не может найти server.sh

aza писал(а):
./server.sh: 1: ./server.sh: ./srcds_run: not found

Что находится в папке /home/servers/css34/public_sp/Server_34_linux ?
Где находится файл запуска сервера srcds_run ?

Автор:  aza [ 02 сен 2015, 12:02 ]
Заголовок сообщения:  Re: Не может найти server.sh

С сервером :)
http://prntscr.com/8bo1t0

Автор:  aza [ 04 сен 2015, 16:03 ]
Заголовок сообщения:  Re: Не может найти server.sh

Нету идей,в чем причина? :-|

Автор:  Nikita [ 04 сен 2015, 17:48 ]
Заголовок сообщения:  Re: Не может найти server.sh

Вы не в тот каталог отправили server.sh, он не должен находиться в одной директории с игровым сервером.
И настройки проверьте.

Автор:  aza [ 05 сен 2015, 06:31 ]
Заголовок сообщения:  Re: Не может найти server.sh

Дык файл server.sh находиться в /home/servers

Страница 1 из 2 Часовой пояс: UTC + 4 часа
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/