• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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