16 May 2018 Reading time: 3 minutes

How to activate ispmanager license and what to do if errors occur

Ispmanager

Read through this article to find out how to activate ispmanager 6 license and resolve any errors that arise.

Automatic activation

To activate the license on the server automatically, specify the IP address of your server in the license settings in your ispmanager personal cabinet.

1. Go to the "Licenses" section → select the license → click on the three dots → "Change" → specify the IP address of the server where the ispmanager panel is located.

How the process looks:

license activation
license activation

2. In the ispmanager panel go to "License Management" → "Update license data".

Alternatively, connect to the server with the panel through SSH and execute the command:

/usr/local/mgr5/sbin/licctl fetch ispmgr

Activate on the server with a key

Activation with a key is necessary when there is no public IP address on the server's network interface, for example, servers behind NAT. For more information on NAT, see — the documentation

What to do:

1. Copy the activation key. Go to your ispmanager personal cabinet → "Licenses" section → select license → "View" → your license key.

What the license key looks like:

license activation

2. Activate the key. In your ispmanager panel go to "License Management" and paste the copied activation key.

license activation

Activation errors and how to solve them

If the license is not activated automatically — check whether your server has access to the ispmanager license server. To do so, to connect to your server with the panel via SSH and check the license log.

The log can be found at the path:

/usr/local/mgr5/var/licctl.log

If you don’t have access to the license servers, you will see a corresponding warning:

main WARNING Got bad result from https://212.109.222.131/mgr5.45.state

Check access to the ispmanager license servers on ports 80 and 443. Before doing so, check whether ports 80, 443, and 1500 are open in your firewall or traffic blocking system.

Check whether there is access to the license servers:

https://86.license5.ispsystem.com/pricelist/soft
http://212.109.222.131/mgr5.45.state
http://212.109.222.143/mgr5.45.state
http://144.76.174.134/mgr5.45.state
https://212.109.222.131/mgr5.45.state
https://212.109.222.143/mgr5.45.state
https://144.76.174.134/mgr5.45.state

To check, use utility cURL

For example:

curl -i -v http://212.109.222.131/mgr5.45.state

You will get a value of HTTP/1.0 200 OK in the response, which means that there is access to the license servers. If there is no access, so you need to solve some network problems.

You cannot activate ispmanager 6 license without access to the license servers.

If in log licctl.log you see message Good result from... it means that the response from the license server was received.

The panel interface may return the error The key may have already been used or the key has expired Options on how to resolve it:

  • Generate a new key in your ispmanager personal cabinet and try to activate the license again.

How to generate a key:

license activation
  • Connect to the server with the panel via SSH and execute the commands:

1. Delete the license file:

rm -rf /usr/local/mgr5/etc/ispmgr.lic

2. Activate the license by key:

/usr/local/mgr5/sbin/licctl fetch ispmgr «key»

key — the key you generated.

Log errors. If the commands from the previous paragraph failed to activate the key, check the log for errors.

What errors can occur:

TRIAL_AFTER_COMMERCIAL — Failed to activate a trial license after activating a commercial license. The error occurs because the ispmanager license has already been activated on the server.

TRIAL_ALREADY_USED — Failed to activate the trial license again. This is due to a commercial ispmanager license having already been activated on the server. The trial license is only for getting acquainted with the product, and to continue working we recommend buying and activating a commercial license.

WARNING Bad try: BADKEY — You need to activate the license with a new key. See the first paragraph for how to generate a new key.

EXPIRED — The license has expired. Renew the license and try to activate it again.

The license has expired. Renew the license and try to activate it again. If you have two active commercial licenses on one IP in your personal cabinet, you will be unable to activate one of them because they will be in conflict. You need to delete the IP address in the settings of the license you are not using and activate the new one.

For more information on how to activate an ispmanager 6 license, please refer to the documentation:

If you have any questions, contact our 24/7 tech support