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

Падает vestapanel каждую минуту. Сервер nginx+php-fpm

Вопросы по работе Веб сервера
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Jano
Posts: 60
Joined: Thu Feb 04, 2016 3:11 pm

Падает vestapanel каждую минуту. Сервер nginx+php-fpm
  • Quote

Post by Jano » Wed Sep 26, 2018 6:39 pm

Vesta падает каждую минуту, приходится вводить service vesta restart и она работает какое-то время, потом ошибка "502 Bad Gateway
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/"
День убил и никакое решение не помогает. ;(((
Top

hookz
Posts: 18
Joined: Tue Jun 14, 2016 8:41 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Падает vestapanel каждую минуту. Сервер nginx+php-fpm
  • Quote

Post by hookz » Tue Oct 09, 2018 10:49 pm

Абсолютно тоже самое, все работало стабильно, и вот со вчерашнего дня та же самая картина.
Top

Stesh
Posts: 348
Joined: Mon Nov 09, 2015 5:52 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Падает vestapanel каждую минуту. Сервер nginx+php-fpm
  • Quote

Post by Stesh » Wed Oct 10, 2018 8:38 am

Самое первое - это включить 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;
И посмотреть что туда долбит.
Лог можно в студию.
Top


Post Reply
  • Print view

3 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