Applicable to:
- Plesk Onyx for Linux
- Plesk Onyx for Windows
Symptoms
-
Plesk cannot be accessed/activated
One of the following errors on web browser screen:
PLESK_ERROR: 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
CONFIG_TEXT: 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 Files\Parallels\Plesk\admin\htdocs\server\key_info.php')
5: plesk.php:66OR
CONFIG_TEXT: ERROR: SWKeyExFatalError
OR
CONFIG_TEXT: 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
CONFIG_TEXT: Internal error:
Repository is not opened
Message Repository is not opened
File functions.php
Line 3330
Type SWKeyExFatalErrorOR
CONFIG_TEXT: 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
CONFIG_TEXT: 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:
-
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 Plesk license. If you do not have a Plesk license key, contact Customer Success Team
If the steps above did not help, apply resolution from this article and re-install license (replace AAAA-BBBB-CCCC-DDDD with your activation key)
# plesk bin license --install AAAA-BBBB-CCCC-DDDD
-
Connect to a Plesk server via RDP
-
Rename the file
registry.xml
which is located at %plesk_dir%admin\repository. -
Start a command prompt as an Administrator and run the command below to renew the Plesk license:
C:\> plesk bin license.exe --retrieve
-
Log in to Plesk to re-create the
registry.xml
file.
In some cases, it will require to install a Plesk license. If you do not have a Plesk license key, contact Customer Success Team.
If the steps above did not solve the issue, follow these steps:
-
Move the files from
%plesk_dir%admin\repository\keys\
to any other directory. -
Reinstall a Plesk license with the command below (replace AAAA-BBBB-CCCC-DDDD with your production activation key):
C:\> "%plesk_dir%bin\license.exe" -i AAAA-BBBB-CCCC-DDDD
Comments
0 comments
Please sign in to leave a comment.