• 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 not starting automatically

SoftCreatR

Basic Pleskian
Today, i've set up a new Debian 7 server with Plesk 12. After the basic configuration, i've installed nginx via Plesk updater.

Now, when restarting the whole server, nginx doesnt start for some reason. Plesk shows it as running, but `service nginx status` shows, that it isnt running. But an `nginx.pid` exists in /var/run, but it's empty.

However, starting it manually via `service nginx start` works fine without any error.

I've already tried `update-rc.d nginx remove && update-rc.d nginx defaults` but without any success. I've also tried another init script, but same results.

Any advice?
 
If you see that ngix process is up and running after server reboot with help of

# ps ax | grep nginx

you should check that `service nginx status` works correctly on your OS. Looks like this is OS related issue.
 
The problem is not, that `service nginx status` shows, that nginx isnt running. The problem is, that this information is true. Because after a server restart, a webpage using php5-fpm/nginx doesnt load. But it does, if i start nginx manually.
 
Please use the information from the Parallels article:


Please see as well the "Note" ...
Note: The start and stop operations for the Reverse Proxy Server (Nginx) listed above do not just start and stop the Nginx service. They also switch the web server configuration for all the domains in Plesk (an Nginx and Apache combination or just an Apache web server).
... to understand, that this is not only a start - script, as in "/etc/init.d".
 
Back
Top