Failed to find your license key under

#1
Hi,
One of our server shutdown with license key failure and i paid for new license key.
After copy new serial number like "XXXX-XXXX-XXXX-XXXX" to serial.no file under /usr/local/lsws/conf, litespeed doesn't start with [ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
error.
What should i do?
 

webizen

Well-Known Member
#2
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:license:activate_license
If your current installation is the latest version, you just need to activate the new license key

cd /usr/local/lsws
If you have old “serial.no”, “license.key” or “trial.key” under lsws/ or lsws/conf, please back up first and remove from those directories.
Save the serial number as a file named “serial.no” under lsws/conf directory.
echo "SERIAL_NO" > conf/serial.no
bin/lshttpd -r
If license key has been registered successfully, you will see a new “license.key” under conf/, you can verify your new key with command

bin/lshttpd -V
Then restart LSWS with command to make it effective

bin/lswsctrl restart
 
Top