We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Не работает админская панель
Не работает админская панель
Прошу помочь с проблемой:
Когда пытаюсь зайти в админку https://ip:8083 получаю надпись "Internal vesta error" черный фон и картинку с Луной. Сервер на DO, Ubuntu 14.04, ядро 3.13.0-85-generic. Ядро менял, пробовал новее ставить, пошли глюки, откатился назад - получил проблемы с Вестой. Сайты работают, но в админку войти не могу. Кроме Весты, установлен Webmin и rkhunter.
перезагрузку делал, ничего не меняется
А вот последние записи лога /usr/local/vesta/log/nginx-error.log :
Вот 111 строка из /usr/local/vesta/web/login/index.php :
Что делать дальше, куда копать?
Когда пытаюсь зайти в админку https://ip:8083 получаю надпись "Internal vesta error" черный фон и картинку с Луной. Сервер на DO, Ubuntu 14.04, ядро 3.13.0-85-generic. Ядро менял, пробовал новее ставить, пошли глюки, откатился назад - получил проблемы с Вестой. Сайты работают, но в админку войти не могу. Кроме Весты, установлен Webmin и rkhunter.
v-list-sys-infoShow
Ubuntu 14.04 x86_64 8017 0.13
df -hShow
Code: Select all
Filesystem Size Used Avail Use% Mounted on
udev 487M 4.0K 487M 1% /dev
tmpfs 100M 368K 100M 1% /run
/dev/vda1 30G 22G 6.1G 79% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 497M 0 497M 0% /run/shm
none 100M 0 100M 0% /run/user
v-list-sys-servicesShow
Code: Select all
NAME STATE CPU MEM UPTIME
---- ----- --- --- ------
apache2 running 0.3 1216 398
nginx running 0.2 280 8018
bind9 running 0 107 8018
exim4 running 0 1 9
dovecot running 0 0 9
mysql running 0.6 2418 9
vsftpd running 0 0 7
cron running 0 0 9
iptables stopped 0 0 0
service vesta statusShow
Code: Select all
* vesta-nginx is running
* vesta-php is running
А вот последние записи лога /usr/local/vesta/log/nginx-error.log :
лог /usr/local/vesta/log/nginx-error.logShow
Code: Select all
2016/11/21 12:37:25 [error] 1344#0: *118 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 111
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 111
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 111" while reading response header from upstream, client: x.x.x.x, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "y.y.y.y:8083"
2016/11/21 12:37:26 [error] 1344#0: *121 open() "/usr/local/vesta/web/favicon.ico" failed (2: No such file or directory), client: 193.84.22.38, server: _, request: "GET /favicon.ico HTTP/1.1", host: "y.y.y.y:8083", referrer: "https://y.y.y.y:8083/login/"
2016/11/21 13:27:04 [error] 1344#0: *123 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 111
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 111
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 111" while reading response header from upstream, client: x.x.x.x, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "y.y.y.y:8083", referrer: "https://y.y.y.y:8083/login/"
SpoilerShow
Code: Select all
require_once($_SERVER['DOCUMENT_ROOT'].'/inc/i18n/'.$_SESSION['language'].'.php');
Re: Не работает админская панель
Vestacp не совместима, с другими продуктами, Webmin'a.
Выберите что-то одно.
Выберите что-то одно.
Re: Не работает админская панель
Работала до того без проблем два года. Вот с Virtualmin не совместима, тут согласен, но виртуалмина нет и не было на сервере.Mr.Erbutw wrote:Vestacp не совместима, с другими продуктами, Webmin'a.
Выберите что-то одно.
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Не работает админская панель
Зачем вам VestaCP и Webmin на одном сервере? VestaCP ставится на чистый сервер и ничего из других проодуктов (читай Webmin) стоять не должно, потому что гарантированную бесперебойную работу вам, в таком случае, никто не гарантируетVikk wrote:Кроме Весты, установлен Webmin
Re: Не работает админская панель
Аналогичная проблема, ничего кроме Vesta не стоит...
Code: Select all
v-list-sys-services
NAME STATE CPU MEM UPTIME
---- ----- --- --- ------
apache2 running 0 119 16
nginx running 0.2 6 16
bind9 running 0 34 16
exim4 running 0 1 16
dovecot running 0 0 16
spamassassin running 18.3 1917 16
mysql running 18.3 1917 16
vsftpd running 0 0 16
cron running 0 0 16
iptables running 0 0 0
fail2ban running 16.7 94 16
Code: Select all
Filesystem Size Used Avail Use% Mounted on
udev 239M 4.0K 239M 1% /dev
tmpfs 50M 392K 50M 1% /run
/dev/disk/by-label/DOROOT 20G 6.0G 13G 33% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 248M 0 248M 0% /run/shm
none 100M 0 100M 0% /run/user
Re: Не работает админская панель
Пока не вижу, где она аналогичнаяxvoland wrote:Аналогичная проблема, ничего кроме Vesta не стоит...
Что происходит при заходе на страницу?
Что в логах /var/log/vesta/nginx-error.log ?
Re: Не работает админская панель
Проблема немного изменилась, почистил сервер, теперь страница входа в весту нормально открывается, но ввойти под admin не дает, пароль проверил командой v-check-user-password - правильный, так же ставил новый пароль и перезагружал все - не помогло. Ниже вывод /var/log/vesta/nginx-error.log показывает мои попытки входа через веб-интерфейс:
Я правильно понимаю, что отказ входа происходит потому-что я как-бы уже вошел? ( session had already been started - ignoring session_start ) Но паралельно с попытками входа я сменил пароль через консоль и перезагрузил весту. Сессия, если была, то должна бы скинуться и дать мне войти.
Вывод /var/log/vesta/nginx-error.logShow
Code: Select all
2016/11/22 14:19:09 [error] 1344#0: *171 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: y.y.y.y, server: _, request: "GET /reset/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "x.x.x.x:8083", referrer: "https://x.x.x.x:8083/login/"
2016/11/22 14:19:16 [error] 1344#0: *171 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: y.y.y.y, server: _, request: "POST /reset/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "x.x.x.x:8083", referrer: "https://x.x.x.x:8083/reset/"
2016/11/22 14:19:16 [error] 1344#0: *171 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: y.y.y.y, server: _, request: "GET /reset/?action=code&user=admin HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "x.x.x.x:8083", referrer: "https://x.x.x.x:8083/reset/"
2016/11/22 14:31:06 [error] 1344#0: *178 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/vesta/web/inc/main.php on line 3" while reading response header from upstream, client: y.y.y.y, server: _, request: "GET /reset/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "x.x.x.x:8083", referrer: "https://x.x.x.x:8083/reset/?action=code&user=admin"
Re: Не работает админская панель
Начать стоит с проверки прав на каталог сессий
/usr/local/vesta/data/sessions
/usr/local/vesta/data/sessions
Re: Не работает админская панель
проверил - все в порядке, каталог принадлежит admin, запись/чтение все в нормеskurudo wrote:Начать стоит с проверки прав на каталог сессий
/usr/local/vesta/data/sessions
Re: Не работает админская панель
Прошу прощения @Vikk.
Ошибка "Internal vesta error" с луной, вот лог:
Ошибка "Internal vesta error" с луной, вот лог:
/var/log/vesta/nginx-error.logShow
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.xxx.xxx.xx8:8083"
2016/11/21 22:16:49 [error] 1470#0: *8 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.xxx.xxx.xx8:8083"
2016/11/21 22:21:17 [error] 1470#0: *14 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.xxx.xxx.xx8:8083"
2016/11/22 07:31:22 [error] 1470#0: *20 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "domain.net:8083"
2016/11/21 22:16:49 [error] 1470#0: *8 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.xxx.xxx.xx8:8083"
2016/11/21 22:21:17 [error] 1470#0: *14 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "162.xxx.xxx.xx8:8083"
2016/11/22 07:31:22 [error] 1470#0: *20 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: language in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Warning: require_once(/usr/local/vesta/web/inc/i18n/.php): failed to open stream: No such file or directory in /usr/local/vesta/web/login/index.php on line 113
PHP message: PHP Fatal error: require_once(): Failed opening required '/usr/local/vesta/web/inc/i18n/.php' (include_path='.:/usr/local/vesta/php/lib/php') in /usr/local/vesta/web/login/index.php on line 113" while reading response header from upstream, client: 3xx.xxx.xxx.208, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "domain.net:8083"
ls -la /usr/local/vesta/data/Show
drwxr-x--- 2 root root 4096 Nov 25 05:10 queue
drwxrwx--- 2 admin admin 4096 Nov 22 07:31 sessions
drwxr-xr-x 4 501 501 4096 Jun 5 2013 templates
drwxrwx--- 2 admin admin 4096 Nov 22 07:31 sessions
drwxr-xr-x 4 501 501 4096 Jun 5 2013 templates