-
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. -
It is not possible to create a 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.
What domains are counted in the domain limit of a Plesk license
Resolution
-
Check the Plesk license via Tools & Settings > License Management .
-
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%MySQLbinmysql.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 |
+----------+