Unable to switch on Nginx after upgrading Panel and installing Nginx with Parallels Installer

Created:

2016-11-16 13:06:24 UTC

Modified:

2017-08-16 17:14:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to switch on Nginx after upgrading Panel and installing Nginx with Parallels Installer

Applicable to:

  • Plesk 11.x for Linux

Symptoms

You manually configured Plesk 10 or an earlier version to change the Plesk HTTP and HTTPS ports from their default values (80 and 433) to custom values and then upgraded Plesk to version 11. If you then install Nginx through Parallels Installer, you will not be able to switch on Nginx in Plesk.

Cause

When you install Nginx with Parallels Installer, Nginx is configured to use the standard HTTP and HTTPS ports, 80 and 443. So, to make the system work properly, you should change the custom ports to these values. To do this, you should remove the corresponding Plesk database entries.

Resolution

  1. Remove the custom HTTP and HTTPS ports from the Plesk database by running the following command in the server shell:
     MYSQL_PWD=`cat /etc/psa/.psa.shadow`  mysql -uadmin -D psa -e "delete from misc where param='http_port' or param='https_port';"
    1. Run

      /usr/local/psa/admin/bin/httpdmng --reconfigure-all

Have more questions? Submit a request
Please sign in to leave a comment.