• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Cant install Plesk 12 License

foxlol

New Pleskian
Hello

After a fresh install of CentOS 6.6 and Plesk 12, i can't install my license!

I get 502 Bad Gateway (nginx), tried everything even reinstall 6 times now.

Its on a didacated server, with full access.

Anyone else that has/have this problem? and a solution?
 

Attachments

  • plesk_panel.PNG
    plesk_panel.PNG
    193.4 KB · Views: 9
Okay, my solution is in terminal cd /usr/local/psa/bin/ then
./license -i license key here

But in license manager i still Bad Gateway!


now it works, but i dont think its optimal?
 
Last edited:
Hi,

Is there something specific in your log files?
Please try this:
1. Increase debug level for Plesk interface using: http://kb.odin.com/120101
2. Reproduce the issue
3. Check logs from "control panel" section: http://kb.odin.com/en/111283

Do not forget to disable debug mode after investigation, because it produces a lot of info to logs.

Related Logs:
    • Error log: /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log
    • Access log: /usr/local/psa/admin/logs/httpsd_access_log
    • Panel log: /usr/local/psa/admin/logs/panel.log
 
How can there be that when its a newly installed CentOS 6.6 with Plesk 12.0.8 MU#39

Cant fix it, what can it be...

I have tried reinstall, different mirrors to install, and getting pretty frustrated at this point!

I get these errors every single time in /var/log/sw-cp-server/error_log(masked my ip's)
2015/04/02 04:14:28 [error] 7882#0: *26 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: mmm.mmm.mmm.mmm, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "mmm.mmm.mmm.mmm:8443", referrer: "https://mmm.mmm.mmm.mmm:8443/server/key_upload.php"
2015/04/02 04:16:41 [error] 7882#0: *83 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: mmm.mmm.mmm.mmm, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "mmm.mmm.mmm.mmm:8443", referrer: "https://mmm.mmm.mmm.mmmt:8443/server/key_upload.php"

Seriously, it has to be a Plesk Panel problem...
 
Last edited:
foxlol,

Could you perform steps and provide all information from my previous post (#6) ?
 
I have now made Step 1 and Step 2, Step 3 as requested in #6

And still get this in /var/log/sw-cp-server/error_log (masked my ip's)
2015/04/02 04:14:28 [error] 7882#0: *26 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/server/key_upload.php"
2015/04/02 04:16:41 [error] 7882#0: *83 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/server/key_upload.php"
2015/04/02 04:31:38 [error] 7882#0: *120 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/server/key_upload.php"
2015/04/02 04:33:56 [error] 7882#0: *138 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "GET /modules/configurations-troubleshooter/index.php/index/list HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/admin/module/list?context=modules"
2015/04/02 04:45:02 [error] 16002#0: *2 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/server/key_upload.php"
2015/04/02 04:46:24 [error] 16002#0: *25 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/server/key_upload.php"
2015/04/02 04:51:33 [error] 16002#0: *38 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "POST /server/key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "xxx.xxx.xxx.xxx:8443", referrer: "https://xxx.xxx.xxx.xxx:8443/server/key_upload.php"
 

Attachments

  • panel.txt
    171.7 KB · Views: 2
Last edited:
This is in the /var/log/sw-cp-server/sw-engine.log

[02-Apr-2015 03:52:56] NOTICE: fpm is running, pid 7861
[02-Apr-2015 03:52:56] NOTICE: ready to handle connections
[02-Apr-2015 04:05:05] NOTICE: Terminating ...
[02-Apr-2015 04:05:05] NOTICE: exiting, bye-bye!
[02-Apr-2015 04:05:05] NOTICE: fpm is running, pid 11142
[02-Apr-2015 04:05:05] NOTICE: ready to handle connections
[02-Apr-2015 04:14:28] WARNING: [pool plesk] child 12474 exited on signal 9 (SIGKILL) after 51.001090 seconds from start
[02-Apr-2015 04:14:28] NOTICE: [pool plesk] child 13279 started
[02-Apr-2015 04:16:41] WARNING: [pool plesk] child 13280 exited on signal 9 (SIGKILL) after 33.860939 seconds from start
[02-Apr-2015 04:16:41] NOTICE: [pool plesk] child 13875 started
[02-Apr-2015 04:30:24] NOTICE: Terminating ...
[02-Apr-2015 04:30:24] NOTICE: exiting, bye-bye!
[02-Apr-2015 04:30:24] NOTICE: fpm is running, pid 14191
[02-Apr-2015 04:30:24] NOTICE: ready to handle connections
[02-Apr-2015 04:31:38] WARNING: [pool plesk] child 14236 exited on signal 9 (SIGKILL) after 26.908814 seconds from start
[02-Apr-2015 04:31:38] NOTICE: [pool plesk] child 14846 started
[02-Apr-2015 04:33:56] WARNING: [pool plesk] child 14849 exited on signal 9 (SIGKILL) after 9.425138 seconds from start
[02-Apr-2015 04:33:56] NOTICE: [pool plesk] child 14862 started
[02-Apr-2015 04:45:02] WARNING: [pool plesk] child 16008 exited on signal 9 (SIGKILL) after 23.314792 seconds from start
[02-Apr-2015 04:45:02] NOTICE: [pool plesk] child 17057 started
[02-Apr-2015 04:46:24] WARNING: [pool plesk] child 17057 exited on signal 9 (SIGKILL) after 81.915655 seconds from start
[02-Apr-2015 04:46:24] NOTICE: [pool plesk] child 18974 started
[02-Apr-2015 04:51:33] WARNING: [pool plesk] child 19013 exited on signal 9 (SIGKILL) after 19.727074 seconds from start
[02-Apr-2015 04:51:33] NOTICE: [pool plesk] child 19584 started
 
No, on a dedicated server from OVH.

Hardware:
Intel(R) Xeon(R) CPU E5-1650
64 GB DDR3 ECC
2 * 2 TB Enterprise DISKS
 
Dash or IgorG

Do you have any ideas/solution/suggestions/microupdate?

Can not use the server with faults like that :(

I have tried for the 8th time to reinstall CentOS 6.6 and Plesk 12.0.18 with the same result, i need a solution now.

Can i please get a status on this problem, that it is a Plesk Panel problem!

Now i have applied this http://kb.odin.com/en/124376 and it works, but im not sure if its is a good idea to this???
 
Last edited:
I can only recommend to create a request to support team to do in-depth investigation to find the reason and to fix it. Please create a ticket to support at https://www.odin.com/support/request/ .
You may have free support, please check what kind of Plesk license you use for available support options at http://kb.odin.com/en/121580 .
If there’s no free support in your case, you can order Plesk per-incident support at http://www.odin.com/support/buy-support/ Support team will contact you as soon as purchase is processed, and they will do the best to resolve it.
If it is found that your problem was caused by product bug w/o available solution or workaround from Parallels, then your purchase will be re-funded.
 
Just wanted to comment I had the exact issue as above on a fresh install of Plesk 12.5.30, also on an OVH dedicated server like @foxlol. Xeon D-1540 on Debian 8.1.

The fix above by @dash worked perfectly. Would be good if another KB article could be written that references the error directly.
 
Last edited:
in my case also @dash solution did the trick. (i also have OVH dedicated server) i spend hours to resolve this problem:) thanks:)
 
Yes OVH ship there own custom kernel on most of there templates it includes the grs hardening as well as support for the ixgbe network card. The grs hardening seems to be incompatible with the license manager at least and turning off kernel.grsecurity.harden_ptrace seems to fix it as dash explains. I Just spent a whole night reinstalling to find this out!
 
Back
Top