There are a variety or reasons why you may get the "invalid license" error. They all relate in some way to the quad daily license verification. This HowTo document will give the reader an overview of each cause and how to fix them.
It is important to remember that this error does NOT mean that your site or email are down. The normal operation of the server has NOT been interrupted. You have merely been locked out of NodeWorx and SiteWorx. Visitors can still view yours and your client's web pages and your email still works.
InterWorx MUST be have at least one IP that is publicly available with port 2443 OPEN to all connections. You can install InterWorx on an internal IP, but you will have to make appropriate changes to firewalls/routers to make that port on at least one IP accessible to the Internet. The InterWorx software contacts our licensing server 4 times a day to verify the license. If it fails to make contact, there is approximately a 24 hour grace period and then it suspends the software until such time as it can make contact.
Reconfigure you router if needed to make sure at least one IP is available to the Internet.
Verify that port 2443 is completely OPEN in your firewall.
Log into your server as root and run the following command ~iworx/cron/license.pex --sync
Each licensed copy of InterWorx-CP may only be installed on ONE server at a time. In order to enforce this license, the InterWorx software attempts to contact the licensing server 4 times a day to verify the license. If the IP of the server and the IP on file with the licensing server for a particular license key do not match, the InterWorx software will suspend itself until such time as this is corrected.
If you are planning to run InterWorx-CP on more than one server, you will need to buy a separate license key for each server (even in clustering).
If you have changed servers or have changed the IP or your existing server:
Follow the instructions in this howto doc to change the IP associated with your license key.
Log into your server as or su to root and execute the following command ~iworx/cron/license.pex --sync
As part of the license verification process, InterWorx attempts to contact license.interworx.com. If the dns lookup fails this can also suspend your license.
Assuming you are using your own server as a dns server:
If none of these issues seems to be the problem, direct clients, please open a support ticket. Indirect clients, please contact your reseller for assistance.
HowTo: Fix the Invalid License Error
Overview:
There are a variety or reasons why you may get the "invalid license" error. They all relate in some way to the quad daily license verification. This HowTo document will give the reader an overview of each cause and how to fix them.
Causes:
There are 5 known causes of the invalid license error:
license.interworx.comSolutions:
Depending on the cause, please follow the instructions below to fix your server:
Cause #1: The time on your system clock is off
root):Cause #2: Port 2443 is blocked or InterWorx is not installed on a publicly available IP
InterWorx MUST be have at least one IP that is publicly available with port 2443 OPEN to all connections. You can install InterWorx on an internal IP, but you will have to make appropriate changes to firewalls/routers to make that port on at least one IP accessible to the Internet. The InterWorx software contacts our licensing server 4 times a day to verify the license. If it fails to make contact, there is approximately a 24 hour grace period and then it suspends the software until such time as it can make contact.
rootand run the following command~iworx/cron/license.pex --syncCause #3: Changed IP's
Each licensed copy of InterWorx-CP may only be installed on ONE server at a time. In order to enforce this license, the InterWorx software attempts to contact the licensing server 4 times a day to verify the license. If the IP of the server and the IP on file with the licensing server for a particular license key do not match, the InterWorx software will suspend itself until such time as this is corrected.
sutorootand execute the following command~iworx/cron/license.pex --syncCause #4: Unable to resolve license.interworx.com
As part of the license verification process, InterWorx attempts to contact
license.interworx.com. If the dns lookup fails this can also suspend your license.Check your
resolv.confsettings:This is EXACTLY what you should see. It should NOT read
localhostor have the actual IP of your server.If this has been changed somehow:
resolv.confso that it reads as aboveservice ntpd restartasrootping license.interworx.comasrootCause #5: Expired or suspended License
rootand run the following command~iworx/cron/license.pex --syncNone of these:
If none of these issues seems to be the problem, direct clients, please open a support ticket. Indirect clients, please contact your reseller for assistance.