Cannot create domain in Plesk: There are no available resources of this type (domains) left. Requested: 1; available: 0.

Created:

2016-11-16 12:45:27 UTC

Modified:

2017-04-24 11:02:58 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Cannot create domain in Plesk: There are no available resources of this type (domains) left. Requested: 1; available: 0.

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Symptoms

  • It is not possible to migrate subscription, the following error appears:
    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.

Or:

  • It is not possible to create new subscription, the following error appears in Plesk:
    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.

Resolution

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

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

Windows

"%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 |
+----------+

See KB #213903085 for details regarding different Plesk license editions.

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