Sites are not working after removing nginx package

Created:

2016-11-16 12:39:00 UTC

Modified:

2017-08-16 16:29:14 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Sites are not working after removing nginx package

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

After removing Nginx package Apache still listens on port 7080(7081) instead of 80(443)

#  netstat -plan | grep http
tcp 0 0 0.0.0.0:7080 0.0.0.0:* LISTEN 19423/httpd
tcp 0 0 0.0.0.0:7081 0.0.0.0:* LISTEN 19423/httpd

Sites are not available.

Resolution

  1. Install Nginx package again using /usr/local/psa/admin/sbin/autoinstaller (it is available under the Plesk hosting features ).

  2. Disable the nginx service

    # /usr/local/psa/admin/bin/nginxmng -d
  3. Verify port that is being listened by Apache

    # netstat -plan | grep http
    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 682/httpd
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 682/httpd
  4. Remove Nginx using autoinstaller.

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