Page 1 of 1

Vesta Backend/Admin Nginx Stops

Posted: Wed Jul 04, 2018 8:59 pm
by johnmc
CentOS7/Apache+Nginx/PHP7.2/MariaDB10.2

For some reason the Vesta admin area randomly stops working and needs to be restart (maybe every other day?). It looks like the Nginx part of the vesta service stops/crashes but the rest of the service is active/running. I have not been able to find anything obvious in the logs (vesta/system.log & vesta/nginx-error.log) but I don't know the exact time it happens yet. I just setup an external monitor to log when the admin area becomes unavailable so I will hopefully learn more at that point. For now, i was wondering if anyone had any ideas what would cause this, the only information i have is when I ran service vesta status, i get what you see below and as you can tell the nginx master and worker process are missing:

Code: Select all

[root@s3 ~]# service vesta status
* vesta.service - SYSV: Run vesta web server
   Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
   Active: active (running) since Wed 2018-07-04 06:15:01 EDT; 7h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16803 ExecStop=/etc/rc.d/init.d/vesta stop (code=exited, status=0/SUCCESS)
  Process: 16833 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/vesta.service
           |-16879 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)
           |-16880 php-fpm: pool www
           `-16881 php-fpm: pool www

Jul 04 06:15:01 s3 systemd[1]: Starting SYSV: Run vesta web server...
Jul 04 06:15:01 s3 vesta[16833]: Starting vesta-nginx:
Jul 04 06:15:01 s3 vesta[16833]: Starting vesta-php: [  OK  ]
Jul 04 06:15:01 s3 systemd[1]: Started SYSV: Run vesta web server.
* vesta.service - SYSV: Run vesta web server
   Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
   Active: active (running) since Wed 2018-07-04 06:15:01 EDT; 7h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16803 ExecStop=/etc/rc.d/init.d/vesta stop (code=exited, status=0/SUCCESS)
  Process: 16833 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/vesta.service
           |-16879 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)
           |-16880 php-fpm: pool www
           `-16881 php-fpm: pool www

Jul 04 06:15:01 s3 systemd[1]: Starting SYSV: Run vesta web server...
Jul 04 06:15:01 s3 vesta[16833]: Starting vesta-nginx:
Jul 04 06:15:01 s3 vesta[16833]: Starting vesta-php: [  OK  ]
Jul 04 06:15:01 s3 systemd[1]: Started SYSV: Run vesta web server.

Re: Vesta Backend/Admin Nginx Stops

Posted: Fri Jul 06, 2018 6:43 am
by gmalets
Result of v-list-sys-vesta-updates in console shout be like this:

Code: Select all

PKG          VER    REL  ARCH    UPDT  DATE
---          ---    ---  ----    ----  ----
vesta        0.9.8  22   x86_64  yes   2018-06-25
vesta-php    0.9.8  22   x86_64  yes   2018-07-02
vesta-nginx  0.9.8  22   x86_64  yes   2018-07-02
if not, then do v-update-sys-vesta-all