We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Облачный hetzner и работа панели на CentOS Topic is solved
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Облачный hetzner и работа панели на CentOS
Остается найти причину этой проблемы
Re: Облачный hetzner и работа панели на CentOS
А после рестарта системы iptables включается в работу?Включен в автозагрузку?
Re: Облачный hetzner и работа панели на CentOS
В общем, еще один баг. Меняю стандартный порт shh на другой (добавил разрешение в фаервол) и после рестарта не удается подключиться к серверу по shh. Аналогичная ситуация, если менять порт до установки панели: после установки и рестарта - не удается подключиться к серверу.
Что произошло? Почему сломали Весту для Centos?
Что произошло? Почему сломали Весту для Centos?
Re: Облачный hetzner и работа панели на CentOS
Следовали пунктам?
1. Изменение порта в sshd_config
2. Рестарт ssh
3. Добавление порта в исключения
вместо 22 ваш новый порт
4. Обновление правил для фаервола
1. Изменение порта в sshd_config
2. Рестарт ssh
Code: Select all
service sshd restart
Code: Select all
v-add-firewall-rule ACCEPT 0.0.0.0/0 22
4. Обновление правил для фаервола
Code: Select all
v-update-firewall
Re: Облачный hetzner и работа панели на CentOS
Зарегистрируйте проблему в трекереdotern wrote: ↑Fri Jun 22, 2018 12:52 pmВзял VPS от hetzner.cloud, установил Centos 7, после перезагрузки сервера перестает открываться панель по адресу https://ip:8083
В чем причина и куда смотреть? Спасибо
https://bugs.vestacp.com/
Re: Облачный hetzner и работа панели на CentOS
Данные команды не работают.imperio wrote: ↑Sat Jun 23, 2018 8:54 pm3. Добавление порта в исключениявместо 22 ваш новый портCode: Select all
v-add-firewall-rule ACCEPT 0.0.0.0/0 22
4. Обновление правил для фаерволаCode: Select all
v-update-firewall
Ответ: "command not found"
И вообще:
Last edited by dotern on Sun Jun 24, 2018 9:30 am, edited 1 time in total.
Re: Облачный hetzner и работа панели на CentOS
Сделайте ребут сервера и попробуйте повторить выполнение команд
Re: Облачный hetzner и работа панели на CentOS
После ребута к нему уже невозможно подключиться по shh.
Установил панель без iptables ибо ясно, что фаервол нормально не работает на CentOS.
Я обозначил проблемы, они явные, наличие проблемы это факт. Если хотите - вникайте и исправляйте. Если нет, то поправьте информацию на оффсайте и не говорите, что панель поддерживает Centos
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Облачный hetzner и работа панели на CentOS
Создал VPS в hetzner.cloud, специально, чтобы проверить.
Итого:
Веста установилась с ошибкой в процессе установки:
После перезагрузки также панель не отвечает, рестарт iptables помогает. При рестарте iptables падает fail2ban.
PHP, кстати, ставится 5.6:
- это к теме viewtopic.php?f=28&t=17164
Ручное добавление IP в панель не помогает - все равно после ребута панель не отвечает до рестарта iptables.
А вот проблему с портом ssh не подтвержу - добавил порт в firewall, поменял порт в конфиге, рестартанул sshd и отлично подключился по новому порту. Возможно, hetzner блокирует какие-то порты?
VPS на DO.
Та же проблема:
После перезагрузки панель не грузится, iptables не запущен.
После запуска iptables панель работает, fail2ban падает.
Добавление IP вручную также не помогает.
С PHP опять же, все нормально:
Кастомный порт ssh - также, разумеется, никаких проблем.
Если необходимо - дам доступ к обоим серверам.
Итого:
Code: Select all
# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
Code: Select all
# tail -f error.log
2018-06-24 13:32:02 v-add-sys-ip '159.69.44.135' 'eth0' [Error 2]
2018-06-24 13:33:00 v-add-domain 'admin' 'centos-2gb-nbg1-1.example.com' [Error 3]
PHP, кстати, ставится 5.6:
Code: Select all
# php -v
PHP 5.6.36 (cli) (built: Apr 25 2018 10:02:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Ручное добавление IP в панель не помогает - все равно после ребута панель не отвечает до рестарта iptables.
А вот проблему с портом ssh не подтвержу - добавил порт в firewall, поменял порт в конфиге, рестартанул sshd и отлично подключился по новому порту. Возможно, hetzner блокирует какие-то порты?
VPS на DO.
Code: Select all
# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
Code: Select all
# tail -f error.log -n1000
2018-06-24 12:15:40 v-add-sys-ip '165.227.135.151' 'eth0' [Error 2]
2018-06-24 12:15:41 v-change-sys-ip-nat '165.227.135.151' [Error 1]
2018-06-24 12:16:22 v-add-domain 'admin' 'centos-s-2vcpu-4gb-fra1-01.example.com' [Error 3]
После запуска iptables панель работает, fail2ban падает.
Добавление IP вручную также не помогает.
С PHP опять же, все нормально:
Code: Select all
# php -v
PHP 5.6.36 (cli) (built: Apr 25 2018 10:02:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Если необходимо - дам доступ к обоим серверам.
Re: Облачный hetzner и работа панели на CentOS
Проблема с iptables подтверждена