Symptoms
-
Plesk cannot be accessed/activated
One of the following errors on web browser screen:
Error: The license key is invalid. In order to use the Panel, you need to obtain and install a new valid license key. The amount of currently used resources overrides the limits defined by your license.
OR
xmlrpc error: Expected <param> to have 1 children, found 0
---------------------- Debug Info -------------------------------
0: common_func.php3:4675
of_get_all_keys()
1: common_func.php3:4675
pkey_fetch_key_list()
2: KeyInfoForm.php:171
KeyInfoForm->get_bye_online_url(string 'new', string '')
3: KeyInfoForm.php:77
KeyInfoForm->assign()
4: key_info.php:43
require(string 'C:Program FilesParallelsPleskadminhtdocsserverkey_info.php')
5: plesk.php:66OR
ERROR: SWKeyExFatalError
OR
xmlrpc error: XML parsing failed
0: common_func.php3:4523
of_get_key_by_product(string 'plesk-win')
1: common_func.php3:4523
getPleskKey()
2: common_func.php3:4602
getKeyProp(string 'demo')
3: auth.php3:54OR
external error:
Repository is not opened
Message Repository is not opened
File functions.php
Line 3330
Type SWKeyExFatalErrorOR
Unable to get key: Repository is not opened.
OR
PLESK_ERROR: Error: The license key is invalid. In order to use Plesk, you need to obtain and install a new valid license key.
The amount of currently used resources overrides the limits defined by your license.
The number of websites hosted on the server exceeds the limits defined by your license. You have 5 sites hosted; your license allows hosting only 0 sites.
The number of served customer accounts exceeds the limits defined by your license. You have 8 customer accounts currently served; your license allows serving only 0 customer accounts.
The number of served email accounts exceeds the limits defined by your license. You have 49 email accounts currently served; your license allows serving only 0 email accountsOR
The amount of resources you operate with has exceeded the limits defined by your current product license. Please contact Plesk sales department and purchase a new license key.
-
Cannot retrieve Plesk license via a command-line interface:
# plesk bin license --retrieve
Could not open Repository at "/etc/sw/keys": Empty repository file: /etc/sw/keys/registry.xml
ERR [panel] Unable to get key: Repository is not opened
ERR [panel] Unable to get key: Repository is not opened
Repository is not opened
exit status 3
Cause
Plesk bug with ID #PPPM-9001 fixed in Plesk Onyx 17.8 for Windows on April 17th, 2018. Fix for Plesk for Linux is expected in future updates.
Resolution
For Plesk Onyx 17.8, install the latest Plesk micro-updates.
For Plesk Onyx 17.5 and 17.0, upgrade to the latest Plesk version.
As a workaround:
Plesk for Linux
-
Connect to a Plesk server via SSH
-
Move corrupted registry.xml file to another location so it will not be used and restart the Plesk service:
# mv /etc/sw/keys/registry.xml /root/
# service sw-engine restart -
Scan and repair file system:
# plesk repair fs -system -y
-
Retrieve a Plesk license with the command:
# /usr/local/psa/bin/license --retrieve
-
Log in to Plesk to re-create the registry.xml file.
NOTE: In some cases, it will require to re-install…