Unable to create a subscription: Internal error

Created:

2016-11-16 13:05:24 UTC

Modified:

2017-06-14 10:32:16 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to create a subscription: Internal error

Note: This article has the reference to the issue with the fix available:

  • #PPPM-4524 "In some cases, a subscription could not be created via the Plesk user interface and a confusing error message appeared."
    Fixed in:
Please consider updating your server:

Symptoms

Unable to provision "Plesk Domain" orders in OBAS, it fails with the following message:

Could not connect to Plesk Agent host or response is empty

Unable to create a subscription in Plesk, the following error occurrs in Plesk interface:

Internal error

In /var/log/messages, the following can be found:

kernel: sw-engine-fpm[54704]: segfault at 0 ip 00000000008b4bb2 sp 00007ffe524c3e30 error 4 in sw-engine-fpm[400000+d71000]

In /var/log/sw-cp-server/error_log :

[error] 43188#0: *7368 readv() failed (104: Connection reset by peer) while reading upstream, client: 4.3.2.1, server: , request: "POST /admin/subscription/create HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "1.2.3.4:8880", referrer: "http://1.2.3.4:8880/admin/subscription/create"

And in /var/log/sw-cp-server/sw-engine.log :

WARNING: pid 47592, fpm_children_bury(), line 252: [pool plesk] child 54704 exited on signal 11 (SIGSEGV - core dumped) after 52.948801 seconds from start
NOTICE: pid 47592, fpm_children_make(), line 421: [pool plesk] child 55262 started

Cause

This is Plesk internal issue with ID #PPPM-4524 , which was fixed in Plesk Onyx 17.5.3 .

Resolution

Upgrade to the latest Plesk version .

As a workaround:

  1. Make a backup of /usr/sbin/sw-engine-fpm :

    # cp /usr/sbin/sw-engine-fpm /usr/sbin/sw-engine-fpm_back
  2. Download attached custom fix:

  3. Place it into the server and unzip archive:

    # cd /root/
    # wget https://support.plesk.com/hc/en-us/article_attachments/115004352765/sw-engine-fpm.zip # for Plesk 12.0.18
    # wget https://support.plesk.com/hc/en-us/article_attachments/115001171845/sw-engine-fpm.zip # for Plesk 12.5.30
    # unzip sw-engine-fpm.zip
  4. Replace sw-engine-fpm with custom fix:

    # cp sw-engine-fpm /usr/sbin/sw-engine-fpm
  5. Restart services:

    # service sw-cp-server restart
    # service sw-engine restart

Attachments:

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