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 11.0.9 Nginx Problem

Discussion in 'Plesk 11.x for Linux' started by CyberEdge_Alan, Jun 23, 2012.

  1. CyberEdge_Alan

    CyberEdge_Alan Basic Pleskian

    11
    85%
    Joined:
    Jun 23, 2012
    Messages:
    35
    Likes Received:
    0
    Hello,

    I recently updated the Plesk 11.0.9 to get the Nginx feature added, I know it doesn't do much right now but pass everything but I was having issues with it.

    I enabled it and it was all fine it turned on and worked for my main Default webpage. However with other vHosts it seemed to just display a 404 not found nginx webpage for everyone else. I did have Nginx previously installed since I attempted to get it working for Plesk 10. While looking back in files to make sure no previous files were left behind I found the /etc/nginx folder and removed it however thats the folder required also by the Nginx for Plesk. I can't seem to figure out how to run the Plesk Autoinstaller to reinstall it so its working and I have the files from that folder. I should just be able to get a copy of them from someone and load them back.

    The other issue is how would I resolve the problem of the others getting the 404 not found nginx error.

    Hope someone can help resolve my issue.
     
  2. CyberEdge_Alan

    CyberEdge_Alan Basic Pleskian

    11
    85%
    Joined:
    Jun 23, 2012
    Messages:
    35
    Likes Received:
    0
    How would I remove Nginx and reinstall it within Plesk?
     
  3. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Please try running

    yum remove nginx

    that should remove nginx and thereafter you can use the auto-installer to install it again.
     
  4. CyberEdge_Alan

    CyberEdge_Alan Basic Pleskian

    11
    85%
    Joined:
    Jun 23, 2012
    Messages:
    35
    Likes Received:
    0
    I've tried that and it actually comes back saying its not installed. Should I try installing it from yum and removing it?

    Ah. Found it they renamed it to 'sw-nginx'. So when trying to just do a simple yum remove nginx it wouldn't see it installed. Thanks.

    This still leaves me with the other problem however where with it installed and started it doesn't seem to read the vhosts.
     
    Last edited: Jun 24, 2012
  5. paulieG

    paulieG Regular Pleskian

    25
     
    Joined:
    Mar 5, 2009
    Messages:
    164
    Likes Received:
    0
    Location:
    Lancaster
    Hi,

    Package is named about as bizarrely as it could get without removing nginx from the name :

    [root@vz3001 ~]# yum list installed | grep nginx
    sw-nginx.x86_64 1.3.0-1.12051815.centos6 installed
    [root@vz3001 ~]#


    It looks like a straight yum remove will work but I'd ensure you have backups of the server first. You could also get a hold of the rpm and try a reinstall first.

    Paul.
     
  6. CyberEdge_Alan

    CyberEdge_Alan Basic Pleskian

    11
    85%
    Joined:
    Jun 23, 2012
    Messages:
    35
    Likes Received:
    0
    I've been able to reinstall and it looks as if all is resolved. Its processing requests as if they are there without getting the 404 error. I think it was doing that because of the previous install still left files in the /etc/nginx/ folder. It enables even though passes all requests. Hopefully there will be some rulesets in the next update.
     
  7. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    OK, that is great. Yeah, I am hoping too that in 11.1 we will get rule sets for nginx.
     
  8. EdwardDekker

    EdwardDekker Guest

    0
     
    Nginx creates some problems with subfolders

    Hi,

    As i using the new Plesk 11 with Nginx and Apache SNI do i see some port problems for folders that i want to use.
    The port-number disturbs the connection to a secure an unsecured http folder link.
     
  9. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
  10. EdwardDekker

    EdwardDekker Guest

    0
     
    Thanks, yes i have read the post.

    It will be a common problem for all of the Plesk users where i think that the Parallels support will have a solution @ micro-updates of Plesk 11.
     
  11. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Could you please describe this problem with all necessary details and fill known template http://forum.parallels.com/showthread.php?t=106113 ?
    After that I will forward it to developers.
     
  12. EdwardDekker

    EdwardDekker Guest

    0
     
    report

    ---------------------------------------------------------------
    PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

    Plesk 11.0.9 - Centos 5.8 i386

    PROBLEM DESCRIPTION

    When i use Apache SNI with Nginx proxy do i have problems with browsing the websites. At some sub-folders for a domain will automatic forwarded to port 7080. The current page will not be shown when i using port 80 or 443.

    STEPS TO REPRODUCE

    Browse to a sub-folder of a domain like www.mydomain.com/server or subdomain.mydomain.com/server and i will be forwarded to port 7080 at some folders from the root.

    ACTUAL RESULT

    Browsing to a another port 7080 at some folders.

    EXPECTED RESULT

    This problem comes when you upgrading Plesk 10.4.4 to Plesk 11 and install Nginx for the first time.

    ANY ADDITIONAL INFORMATION

    After a remove and reinstall of Nginx, the problems are resolved.
    --------------------------------------------------------------
     
  13. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Thank you. I have forwarded it to developers.
     
  14. nucknuck

    nucknuck Basic Pleskian

    21
    23%
    Joined:
    Jan 25, 2011
    Messages:
    66
    Likes Received:
    1
    Same problem here...

    PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

    Plesk 11.0.9 #MU5 - Debian 6.0.4 64bit

    PROBLEM DESCRIPTION

    sub folder navigation shows port 7080

    STEPS TO REPRODUCE

    www.example.org shows www.example.org
    www.example.org/wordpress shows www.example.org:7080/wordpress

    ACTUAL RESULT

    port 7080 shown in browser

    EXPECTED RESULT

    don´t know - first step should be that the port doesn´t appear in the browser

    ANY ADDITIONAL INFORMATION

    same problem on different servers, but same OS and Plesk version
     
  15. EladioL

    EladioL New Pleskian

    10
    35%
    Joined:
    Jul 6, 2012
    Messages:
    7
    Likes Received:
    0
    Tengo el mismo problema


    PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

    Plesk 11.0.9 Actualizar #5 - Ubuntu 10.04.4 LTS

    PROBLEM DESCRIPTION

    redirige navegación en directorios a puerto 7080

    STEPS TO REPRODUCE

    www.example.org shows www.example.org
    www.example.org/wordpress shows www.example.org:7080/wordpress

    ACTUAL RESULT

    puerto 7080 visible en directorios y mensaje de error en raiz. Apache Server at www.example.com Port 7080

    EXPECTED RESULT

    que funcione correctamente el servidor

    ANY ADDITIONAL INFORMATION

    me ha ocurrido en diferentes servidores
     
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Fixed in PP 11.0.9 MU#15
     
Loading...