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.
Падает vestapanel каждую минуту. Сервер nginx+php-fpm
Падает vestapanel каждую минуту. Сервер nginx+php-fpm
Vesta падает каждую минуту, приходится вводить service vesta restart и она работает какое-то время, потом ошибка "502 Bad Gateway
nginx"
Сервер мощный, всех ресурсов хватает. Нагрузка нулевая.
Подскажите что делать, всё перепробовал в логах вот что:
День убил и никакое решение не помогает. ;(((
nginx"
Сервер мощный, всех ресурсов хватает. Нагрузка нулевая.
Подскажите что делать, всё перепробовал в логах вот что:
Code: Select all
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/09/25 10:10:02 [error] 158044#0: *76 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/09/25 10:11:37 [error] 158044#0: *80 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /list/web/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8083", referrer: "https://1.1.1.1(myserverip):8083/list/web/"
2018/09/25 10:11:38 [error] 158044#0: *80 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /list/web/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8083", referrer: "https://1.1.1.1(myserverip):8083/list/web/"
2018/09/25 10:11:39 [error] 158044#0: *80 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /list/web/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8083", referrer: "https://1.1.1.1(myserverip):8083/list/web/"
2018/09/25 10:12:43 [error] 158044#0: *88 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /list/web-log/?domain=mydomain.com&type=access HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8083", referrer: "https://1.1.1.1(myserverip):8083/list/web/"
2018/09/25 10:15:02 [error] 158044#0: *90 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to 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/09/25 10:20:02 [error] 158044#0: *92 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to 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/09/25 10:25:02 [error] 158044#0: *94 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to 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/09/25 10:31:39 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:42 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:43 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:44 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:44 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:45 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:46 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:46 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:46 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
2018/09/25 10:31:46 [error] 162955#0: *58 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /softaculous/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/edit/server/"
---
2018/09/25 10:48:25 [error] 165333#0: *123 connect() to unix:/var/run/vesta-php.sock failed (111: Connection refused) while connecting to upstream, client: 2.2.2.2(my ip), server: _, request: "GET /list/package/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "1.1.1.1(myserverip):8089", referrer: "https://1.1.1.1(myserverip):8089/list/web/"
Re: Падает vestapanel каждую минуту. Сервер nginx+php-fpm
Абсолютно тоже самое, все работало стабильно, и вот со вчерашнего дня та же самая картина.
Re: Падает vestapanel каждую минуту. Сервер nginx+php-fpm
Самое первое - это включить access-лог, это в конфиге /usr/local/vesta/nginx/conf/nginx.conf строку
заменить например на
И посмотреть что туда долбит.
Лог можно в студию.
Code: Select all
access_log /dev/null main;
Code: Select all
access_log /usr/local/vesta/log/nginx-access.log main;
Лог можно в студию.