Plesk cannot be activated: The license key is invalid. In order to use the Panel, you need to obtain and install a new valid license key

Created:

2016-11-16 12:55:51 UTC

Modified:

2017-08-08 13:11:28 UTC

5

Was this article helpful?


Have more questions?

Submit a request

Plesk cannot be activated: The license key is invalid. In order to use the Panel, you need to obtain and install a new valid license key

Applicable to:

  • Plesk

Symptoms

It is not possible to access Plesk. One of the following errors is shown:

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.

PLESK_INFO: 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:66

PLESK_INFO: ERROR: SWKeyExFatalError

PLESK_INFO: 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:54

PLESK_INFO: Internal error: Repository is not opened
Message Repository is not opened
File functions.php
Line 3330
Type SWKeyExFatalError

Cause

Either registry.xml file or one of the license key files, or both of them are corrupted (incorrect XML syntax or the file is empty).

Resolution

  1. Connect to the server using SSH/RDP.
  2. Rename registry.xml file.

    For Windows:

    %plesk_dir%\admin\repository\registry.xml

    For Linux:

    /etc/sw/keys/registry.xml
  3. Open Plesk click the OK button on the error screen. Click the Retrieve Keys button on the License Management screen to reapply the license.

    Alternatively, rename the corrupted file and execute the following (for Windows only):

    C:\> "%plesk_bin%\\keymng.exe" --get-key-number

    In that way, a new registry.xml file will be generated automatically.

  4. If it did not help, one or several license key files from %plesk_dir%\admin\repository\keys\ could be corrupted.

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