Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Общие вопросы
  • Search

Не могу войти в панель, не отображается

Общие вопросы о панели управления Vesta
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
volg
Posts: 5
Joined: Sun Dec 09, 2018 7:34 am

Os: Ubuntu 15x
Web: apache + nginx
Не могу войти в панель, не отображается
  • Quote

Post by volg » Sun Dec 09, 2018 8:24 am

Приветствую всех.
У меня такая проблема, возможна связана с кривыми руками.
Решил спрятать контрольную панель от чужих глаз на другой порт, сделал всё с точностью как здесь рекомендовали на форуме.
И начались проблемы. На новом порту контр.панель не отображается вообще. Я тогда вернул всё назад и переписал порт. Но, и на старом не отображается.
Статус vesta работает. При перезагрузки к.п. сыпятся ошибки: /usr/local/vesta/log/nginx-error.log

Code: Select all

2018/12/08 22:55:01 [error] 7716#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/12/08 22:55:01 [error] 7716#0: *4 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/vesta/web/inc/main.php on line 3
PHP message: PHP Warning:  session_destroy(): Session object destruction failed in /usr/local/vesta/web/inc/main.php on line 47
PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/vesta/web/inc/main.php on line 48
PHP message: PHP Warning:  Unknown: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0
PHP message: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/12/08 22:55:01 [error] 7716#0: *4 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/12/08 22:55:01 [error] 7716#0: *4 FastCGI sent in stderr: "PHP message: PHP Warning:  Unknown: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0
PHP message: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/vesta/data/sessions) in Unknown on line 0" while reading upstream, client: 127.0.0.1, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
ssh не работает, он у меня был отключён в панели.
Не знаю как и быть теперь.
Нужна ваша помощь))
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Не могу войти в панель, не отображается
  • Quote

Post by imperio » Sun Dec 09, 2018 11:01 am

Добрый день.
ssh не работает, он у меня был отключён в панели.
ssh нельзя отключить в панели, можно только запретить для всех 22 порт в разделе фаервола. Что конечно же не рекомендуется.
Напишите точные действия, что где отключали и как меняли порт панели. Есть ли у хостера vnc. Производились ли какие-либо правки в коде панели?
Top

volg
Posts: 5
Joined: Sun Dec 09, 2018 7:34 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Не могу войти в панель, не отображается
  • Quote

Post by volg » Sun Dec 09, 2018 11:27 am

Ну да, я и имел ввиду что запретил файрволом, не правильно выразился. Ubuntu 16
Изменил порт в /usr/local/vesta/nginx/conf/nginx.conf в строке

Code: Select all

server {
listen  
Я также в фаерволе сменил в Vesta порт.
далее: service vesta restart . Вот после этого всё это и началось.
Вернул всё назад кроме в файрволе, там я написал старый порт вручную в /usr/local/vesta/data/firewall/rules.conf и chains.conf
Правил файлы в файловом менеджере SPRUT.
Пробовал этот вариант viewtopic.php?f=11&t=17777&hilit=fastcg ... =20#p74810 не чего не получилось.
Ошибки стали вот такие выскакивать:

Code: Select all

2018/12/09 12:55:01 [error] 2994#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
Удалил файл из /usr/local/vesta/data/sessions, тоже не помогло(( вернул его назад
И эти ошибки в /usr/local/vesta/log/nginx-error.log появляется ровно каждые 5 мин

Code: Select all

2018/12/09 18:40:01 [error] 8130#0:
2018/12/09 18:45:01 [error] 8130#0
2018/12/09 18:50:01 [error] 8130#0:
2018/12/09 18:55:01 [error] 8130#0
2018/12/09 19:00:01 [error] 8755#0:
и тд.
Продолжая битву, проверил онлайн-сервисами открыт порт или нет , все пишут что порт 8083 оказывается закрыт.
Где теперь искать?))
Здесь всё в порядке /usr/local/vesta/data/firewall/rules.conf и ports.conf

Code: Select all

RULE='2' ACTION='ACCEPT' PROTOCOL='TCP' PORT='8083' IP='0.0.0.0/0' COMMENT='VESTA' SUSPENDED='no' TIME='21:18:23' DATE='2018-12-08'
Ух, вроде всё починил))

Code: Select all

v-stop-firewall
панель открылась -> в панели ещё раз сохраняем порт 3038 к vesta -> перезагружаем сервак так как v-stарт-firewall не работает.
Всё заработало. Спасибо, без вас бы не разобрался))
Может кому пригодится))
Top

volg
Posts: 5
Joined: Sun Dec 09, 2018 7:34 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Не могу войти в панель, не отображается
  • Quote

Post by volg » Mon Dec 10, 2018 7:08 am

Добрый день!
И всё таки, ошибки сыпятся каждые пять минут, как с этим жить и бороться?))
/usr/local/vesta/log/nginx-error.log

Code: Select all

2018/12/10 09:45:01 [error] 1302#0: *371 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/12/10 09:50:01 [error] 1302#0: *382 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/12/10 09:55:01 [error] 1302#0: *387 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
2018/12/10 10:00:01 [error] 1302#0: *389 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 27
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice:  Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice:  Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning:  array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response header from upstream, client: 127.0.0.1, server: _, request: "POST /softaculous/index.php?act=cp_api&api=serialize HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "127.0.0.1:8083"
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Общие вопросы”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password