1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk help me Nginx Plesk 11

Discussion in 'Plesk 11.x for Linux' started by DuongDucVinh, Jul 24, 2012.

  1. DuongDucVinh

    DuongDucVinh New Pleskian

    10
    35%
    Joined:
    May 5, 2012
    Messages:
    6
    Likes Received:
    0
    I recently updated the Plesk 11.0.9 to get the Nginx feature added,

    When Nginx Start Error "503 service unavailable nginx" . Please help me Fix Error
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Did you try to run ngnix manually with

    # /etc/init.d/nginx start
     
  3. DuongDucVinh

    DuongDucVinh New Pleskian

    10
    35%
    Joined:
    May 5, 2012
    Messages:
    6
    Likes Received:
    0
    I Try command "/etc/init.d/nginx start".
    System work Normal but one time again error "503 service unavailable nginx"
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Any related error messages in /var/log/nginx/error.log ?
     
  5. DuongDucVinh

    DuongDucVinh New Pleskian

    10
    35%
    Joined:
    May 5, 2012
    Messages:
    6
    Likes Received:
    0
    I want to remove nginx, then reinstall. help me
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Have you tried to use command

    # /usr/local/psa/admin/bin/nginx-config -t

    OPTIONS:
    -t - Test and fix NGINX configuration if possible.
     
  7. ElvirD

    ElvirD New Pleskian

    10
    85%
    Joined:
    Jul 19, 2012
    Messages:
    24
    Likes Received:
    0
    How can we remove nginx form plesk on Debian ?

    On Plesk Update we can only add new components but we can nothing remove :(
     
  8. Nikolay.

    Nikolay. Silver Pleskian

    17
    35%
    Joined:
    Jul 1, 2012
    Messages:
    844
    Likes Received:
    2
    # /opt/psa/admin/sbin/nginxmng -d
    # apt-get remove sw-nginx
     
  9. ElvirD

    ElvirD New Pleskian

    10
    85%
    Joined:
    Jul 19, 2012
    Messages:
    24
    Likes Received:
    0
    Nikolay Thank You :D
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Use OS package manager (rpm or dpkg) for removing packages of Plesk. But do not forget about dependences.
     
  11. Nikolay.

    Nikolay. Silver Pleskian

    17
    35%
    Joined:
    Jul 1, 2012
    Messages:
    844
    Likes Received:
    2
    While technically this is correct (and applicable in many cases), I'd advice against such actions without previous investigation or consultation. E.g. in this case simple removal of sw-nginx package might result in broken Apache configuration. Instead you should first disable nginx as a proxy server in Plesk (which is done by nginxmng utility or from GUI).
     
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Yes, you are correct. It was just common recommendation and there can be many different singularities of this method.
     
Loading...