Plesk error: this license key is detected as terminated

Created:

2016-11-16 13:13:30 UTC

Modified:

2017-08-16 16:32:22 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk error: this license key is detected as terminated

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Windows

Symptoms

Plesk shows "license is invalid" notification. Clicking Retrieve Keys gives the following error in /usr/local/psa/admin/logs/panel.log or in %plesk_dir%\\admin\\logs\\php_error.log :

    This license key is detected as terminated. No further actions with this license key are allowed

Cause

License has been terminated by the license owner

or

File '/etc/sw/keys/registry.xml' is corrupted or has improperly set permissions/owner.

Resolution

  1. Reinstall Plesk microupdates:

For Windows :

    C:\\> %plesk_bin%\\ai.exe --console  --select-release-current --reinstall-patch --install-component base

For Linux :

    # plesk installer --select-release-current --reinstall-patch --install-component base
  1. Make sure the file '/etc/sw/keys/registry.xml' exists and and has correct permissions:

    # ll -lta /etc/sw/keys/registry.xml
    -rw-rw---- 1 root swkey-data 9908 Aug 22 10:54 /etc/sw/keys/registry.xml
  2. Confirm that the license can be updated by Plesk Daily Maintenance script:

For Windows :

    C:\\> %plesk_bin%\\php.exe -q "%plesk_dir%\\admin\\plib\\DailyMaintainance\\script.php" -f Update

For Linux :

    [root@ ~]# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f UpdateKeys
  1. If it does not help, contact the license owner to check why license got terminated. For further details, contact Plesk licensing support .

See also :

#213373589 License key automatically terminated

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