• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Nginx Wont Start Automatically after Reboot

HunterY

New Pleskian
So Everything was going great! Until I needed to reboot, and then after that only Plesk panel worked not my IP or any domains setup with it.

BUT when I restart Nginx it all starts working again! (Had to /usr/local/psa/admin/bin/httpdmng --reconfigure-all to get the domains to go to the right directory though)

But now everytime I reboot the server Nginx has to be restarted

Is this Normal?

I`m running Plesk 12 fresh clean install yesterday

CentOS 7 64Bit

Thank you!
 
Maybe this helps?
/usr/local/psa/admin/bin/nginxmng --enable
 
/usr/local/psa/admin/bin/nginxmng --enable is not helping....

After reboot I must manually restart nginx to bring domain on-line.

Any new suggestions?
 
Last edited:
For testing purposes, obvious...

I wrote in another thread that sometimes nginx stop functioning and after reboot I had to restart it manually to bring domain online...

To correct thread title:
NGINX start on reboot but not functional until restart service.
 
Last edited:
got the same problem, nginx wasn´t enabled in systemd .

type "chkconfig nginx" ... if the command replies "disabled" type "chkconfig nginx enable"

this worked for us
 
Yes, this was the problem:

# systemctl is-enabled nginx.service
disabled

# systemctl enable nginx.service
ln -s '/usr/lib/systemd/system/nginx.service' '/etc/systemd/system/multi-user.target.wants/nginx.service'
# systemctl is-enabled nginx.service
enabled

Thank You RedEnzian !!!
 
Had this problem on a new Centos 7, Plesk 12 install.
The problem was nginx was attempting to bind to port 443 before the IP was initialized.
To fix edit the /etx/sysctl.conf file and add
net.ipv4.ip_nonlocal_bind = 1
Then reload your sysctl.conf file
sysctl -p /etc/sysctl.conf
 
Back
Top