Page 1 of 1

Vesta CP on Ubuntu 16.04.3 DO droplet issue - Nginx didn't start after reboot

Posted: Fri Sep 08, 2017 12:18 pm
by Vladimir Chanaev
Hi all!
I think I found Vesta CP on Ubuntu 16.04.3 DO droplet issue - Nginx didn't autostart after system reboot.
Minimum DO Droplet on Ubuntu 16.04.3 x64. Standart full install:

Code: Select all

curl -O http://vestacp.com/pub/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh --force --nginx yes --apache yes --phpfpm no --vsftpd no --proftpd yes --exim yes --dovecot yes --spamassassin yes --clamav yes --named no --iptables yes --fail2ban yes --mysql yes --postgresql no --remi yes --quota no --hostname <host> --email <email> --password <pass>
So, after successful install Vestacp panel shows that everything launched and working in Server tab.
After reboot command, doesn't matter from where - panel or SSH - Nginx server always appears down.

I checked it on my working droplet with all updates and modified configs, and on fresh install with no updates and mods - resolts are the same.

My other DO Droplets with Ubuntu 16.04.2 and latest Vesta CP hasn't such problem.

Pls, check it out, if you can.
Also glad to hear why this happening and how to fix it.

Re: Vesta CP on Ubuntu 16.04.3 DO droplet issue - Nginx didn't start after reboot

Posted: Fri Sep 08, 2017 8:00 pm
by mehargags
when the Nginx restart fails, please post your nginx -t results.
Also check nginx error log and post the entries

Re: Vesta CP on Ubuntu 16.04.3 DO droplet issue - Nginx didn't start after reboot

Posted: Sat Sep 09, 2017 5:27 am
by Vladimir Chanaev

Code: Select all

root@roooot:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
/var/log/nginx/error.log - empty
/usr/local/vesta/nginx/logs/error.log - empty

Re: Vesta CP on Ubuntu 16.04.3 DO droplet issue - Nginx didn't start after reboot

Posted: Sat Sep 09, 2017 3:52 pm
by mehargags
interesting... if there are no errors, are you sure Nginx restart is really failing ?

Can you send me SSH access to your server, and your vestaCP login, I'd like to take a look

Re: Vesta CP on Ubuntu 16.04.3 DO droplet issue - Nginx didn't start after reboot

Posted: Sat Sep 09, 2017 4:35 pm
by BaDTaG
Try to stop apache2 and then start nginx. worked for me