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

General questions about VestaCP
Vladimir Chanaev
Posts: 22
Joined: Sun Mar 13, 2016 2:21 pm

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

Postby Vladimir Chanaev » Fri Sep 08, 2017 12:18 pm

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.

mehargags
Moderators
Posts: 788
Joined: Sat Sep 06, 2014 9:58 pm
Contact:

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

Postby mehargags » Fri Sep 08, 2017 8:00 pm

when the Nginx restart fails, please post your nginx -t results.
Also check nginx error log and post the entries

Vladimir Chanaev
Posts: 22
Joined: Sun Mar 13, 2016 2:21 pm

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

Postby Vladimir Chanaev » Sat Sep 09, 2017 5:27 am

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

mehargags
Moderators
Posts: 788
Joined: Sat Sep 06, 2014 9:58 pm
Contact:

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

Postby mehargags » Sat Sep 09, 2017 3:52 pm

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

BaDTaG
Posts: 16
Joined: Sun Nov 22, 2015 12:22 pm

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

Postby BaDTaG » Sat Sep 09, 2017 4:35 pm

Try to stop apache2 and then start nginx. worked for me


Return to “General Discussion”



Who is online

Users browsing this forum: intop and 9 guests