• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk License Panel - 502 Bad Gateway(nginx)

CurlyBoss

New Pleskian
Fix: Plesk License Panel - 502 Bad Gateway(nginx)

Hi,

Problem: After Upgrade to Plesk 12: When I log in to the Plesk Panel and click on
Tools/Settings -> License-Management
I get this error in the main browser frame: 502 Bad Gateway (nginx)

Environment:

OS: Linux Ubuntu 10.04 x86_64
Plesk: 12.0.18 Update #13
RAM: 4GB
HDD: 200 GB / 50 GB Used
Hardware: Citrix XenServer 6.2 VM

I did the following things, after that I am able to use License Managent Panel again:


  1. App Armor removed (Look here: http://kb.odin.com/en/112903 )
  2. nginx was not installed, so I installed again from package cache
    Code:
    cd /var/cache/apt/archives
    dpkg -i libapache2-mod-aclr2-psa_....deb  sw-nginx_1.6....deb
    If Cached file not available, on Debian|Ubuntu check if plesk 12 sources are setup in /etc/apt/sources.list or /etc/sources.list.d/plesk and if not set up a file (/etc/apt/sources.list.d/plesk)with this contents:
    Code:
    deb http://autoinstall.plesk.com/ubuntu/PSA_12.0.18 lucid all
    And run "apt-get update" afterwards and use Plesk Webinterface or Console Command /usr/local/psa/admin/sbin/autoinstaller to install all nginx Components.

  3. Increased Buffers of sw-cp-server (Look here: http://kb.odin.com/en/118757 )
  4. Activate Nginx for Plesk
    Code:
     /opt/psa/admin/sbin/mngnginx --enable
  5. Restart Nginx
    Code:
    /etc/init.d/nginx restart
  6. Get your Plesk License File and activate it from command line with this
    Code:
     /opt/psa/admin/sbin/keymng --install --source-file=/tmp/PLSK.123456789.key

After these steps Plesk License Manger was working again. I'm not sure if all steps are really necessary.
 
Last edited:
Back
Top