How do I manually restore the license key for an expired license?

If you forget to pay your monthly license fee on time the local license key will expire and LiteSpeed Web Server/LiteSpeed Web ADC will stop working (usually 7 days past your due date). Then, when you pay the invoice, the license's expiration date will be updated in our license system immediately. However, you still need to manually restore the expired local license key.

Please do the following.

 

LiteSpeed Web Server:

SSH in to the server. assuming LiteSpeed Web Server was installed to /usr/local/lsws

cd /usr/local/lsws

If conf/license.key.bad exists, enter this command:

mv conf/license.key.bad conf/license.key

If not, try

bin/lshttpd -r

to grab a key from server. Once you have conf/license.key, enter this command

bin/lshttpd -V
bin/lswsctrl start

If the above does not work for you, you need to release the license key and register a new one.

Go to our site and log in to the client area and click Services->My Services->View Details->Release License

Then enter this command
bin/lshttpd -r

This should give you the up-to-date license key.

 

LiteSpeed Web ADC:

SSH in to the server. assuming LiteSpeed Web ADC was installed to /usr/local/lslb

cd /usr/local/lslb

If conf/license.key.bad exists, enter this command:

mv conf/license.key.bad conf/license.key

If not, try

bin/lslbd -r

to grab a key from server. Once you have conf/license.key, enter this command

bin/lslbd -V
bin/lslbctrl start

If the above does not work for you, you need to release the license key and register a new one.

Go to our site and log in to the client area and click Services->My Services->View Details->Release License

Then enter this command
bin/lslbd -r

This should give you the up-to-date license key.

  • License Key, Expiration Date, License, Release, Command
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How do I manually change to a new license key?

If you need to change to a new license key due to a license upgrade/downgrade and have difficulty...