Differences

This shows you the differences between two versions of the page.

Link to this comparison view

litespeed_wiki:licenses:cannot-determine-the-home-of-litespeed-web-server [2018/10/08 20:12]
Jackson Zhang created
litespeed_wiki:licenses:cannot-determine-the-home-of-litespeed-web-server [2018/10/08 20:49] (current)
Lisa Clarke Proofreading
Line 1: Line 1:
-====== Can not determine installation root of LSWS when activating license ​====== +====== Can't Determine the Home of LiteSpeed Web Server ​====== 
-When activating a new license, ​it occurs ​the following error:+When activating a new license, ​you may see the following error:
  
- Back up current license files under /​usr/​local/​lsws/​conf/​ ... +  ​Back up current license files under /​usr/​local/​lsws/​conf/​ ... 
- ... saved current serial.no to /​usr/​local/​lsws/​conf/​serial.no.backup.23163 +  ... saved current serial.no to /​usr/​local/​lsws/​conf/​serial.no.backup.23163 
- ​Trying to switch to a new production license ... +  Trying to switch to a new production license ... 
- ... Saved serial number "​xxxx-xxxx-xxxx-xxxx"​ to /​usr/​local/​lsws/​conf/​serial.no +  ... Saved serial number "​xxxx-xxxx-xxxx-xxxx"​ to /​usr/​local/​lsws/​conf/​serial.no 
- ... Serial number is available. +  ... Serial number is available. 
- ... Contacting licensing server for license key ... +  ... Contacting licensing server for license key ... 
- ... failed to retrieve license key, please double check your serial number: Can't determine the Home of LiteSpeed Web Server, exit!. +  ... failed to retrieve license key, please double check your serial number: Can't determine the Home of LiteSpeed Web Server, exit!. 
- ​removed uploaded serial.no +  removed uploaded serial.no 
- ​restored the original serial.no from /​usr/​local/​lsws/​conf/​serial.no.backup.23163 +  restored the original serial.no from /​usr/​local/​lsws/​conf/​serial.no.backup.23163 
- ERROR Aborted!+  ERROR Aborted!
  
 Try re-registration or verification:​ Try re-registration or verification:​
Line 22: Line 22:
   Can't determine the Home of LiteSpeed Web Server, exit!   Can't determine the Home of LiteSpeed Web Server, exit!
  
-Why it can not determine the home of LiteSpeed Web Server? ​Something ​wrong with the LSWS configuration file?+Why can it not determine the home of LiteSpeed Web Server? ​Is there something ​wrong with the LSWS configuration file?
  
-Upon further checking with /​usr/​local/​lsws/​conf/​httpd_config.xml ​and it does not exist at all. The user has removed this important LSWS configuration file during the license key clean up process.+A search for ''​/​usr/​local/​lsws/​conf/​httpd_config.xml''​ reveals that the file does not exist at all. The user has removed this important LSWS configuration file during the license key clean up process.
  
-Reinstalling LSWS should fix the issue but it seems too dangerous to manually remove LSWS configuration file which may cause server ​down at any time and definitely something should be avoided. ​  +Reinstalling LSWS should fix the issue. In the future, though, be aware that it can be dangerous to manually remove ​the LSWS configuration file. It may cause server ​downtime ​and definitely ​is something ​that should be avoided. ​  
  
  
  • Admin
  • Last modified: 2018/10/08 20:49
  • by Lisa Clarke