Articles in this section

Unable to create a domain or a subscription in Plesk: There are no available resources of this type (domains) left

Plesk for Windows Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows
  • It is not possible to migrate subscription, the following error appears:

    PLESK_ERROR: Failed deployment of domain example.com

    Execution of /opt/psa/admin/plib/api-cli/domain.php --create example.com -owner admin -do-not-apply-skeleton -notify false -guid b55020df-blya-4ecc-824e-2bdfb9dab685 -creation-date 2011-09-17 -ignore-nonexistent-options failed with return code 1.
    Stderr is
    An error occurred during domain creation: There are no available resources of this type (domains) left. Requested: 1; available: 0.

  • It is not possible to create a new subscription, the following error appears in Plesk:

    PLESK_ERROR: Error: There are no available resources of this type (domains) left. Requested: 1; available: 0.

Cause

The issue is caused by Plesk license limitations. The limit of domains has been reached.

What domains are counted in the domain limit of a Plesk license

Resolution

  1. Check the Plesk license via Tools & Settings > License Management .

  2. Make sure that the number of domains does not reach limits. It can be done from the command line as follows:

Windows

C:\> "%plesk_dir%MySQL\bin\mysql.exe" -uadmin -p<plesk-admin-password> -P8306 -Dpsa -e "SELECT COUNT(*) FROM psa.domains WHERE parentDomainId = 0;"
+----------+
| COUNT(*) |
+----------+
| 6 |
+----------+

Linux

# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa -e "SELECT COUNT(*) FROM psa.domains WHERE parentDomainId = 0;"
+----------+
| COUNT(*) |
+----------+
| 1 |
+----------+

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.