Differences

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

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:troubleshooting:admin-page-unavailable [2015/07/30 20:11]
Michael Alegre created
litespeed_wiki:troubleshooting:admin-page-unavailable [2018/11/29 17:01] (current)
Lisa Clarke [LSWS is not running?] Proofreading
Line 1: Line 1:
-===== Why is my LSWS WebAdmin ​page unavailable? ​=====+=====LSWS WebAdmin ​Page is Unavailable ​=====
 +Here are some possible reasons why your LiteSpeed Web Server WebAdmin page may not be available.
  
 +===== Firewall is Blocking Port 7080 =====
 On occasion you may run into problems accessing the LSWS WebAdmin Console. We have found that in most cases this is due to it being blocked by a firewall. LSWS uses port 7080 for the WebAdmin Console/​Panel by default. This port must be open to be accessible from outside of your server. ​ On occasion you may run into problems accessing the LSWS WebAdmin Console. We have found that in most cases this is due to it being blocked by a firewall. LSWS uses port 7080 for the WebAdmin Console/​Panel by default. This port must be open to be accessible from outside of your server. ​
  
Line 9: Line 11:
   curl -i http://​localhost:​7080   curl -i http://​localhost:​7080
  
-If it returns the correct output, something similar to "​Server:​LiteSpeed", ​than the LSWS WebAdmin Console is working as intended within your server but is likely being blocked by your firewall.+If it returns the correct output, something similar to "​Server:​LiteSpeed", ​then the LSWS WebAdmin Console is working as intended within your server but is likely being blocked by your firewall.
  
 At this point you should check your firewall rules and either append allow rules or remove blocking rules as needed. Use the following command to list your current rules in iptables: At this point you should check your firewall rules and either append allow rules or remove blocking rules as needed. Use the following command to list your current rules in iptables:
Line 17: Line 19:
 If using cPanel and CFS, there are options to add this TCP port to the allow list. If using cPanel and CFS, there are options to add this TCP port to the allow list.
  
-In most scenarios the above steps should have fixed the problem. ​+In most scenariosthe above steps should have fixed the problem. ​
  
-If you are still unable to access the WebAdmin Console, check your LSWS admin configuration to see if the default admin listener address value of "​*:​7080"​ has been changed. If so, open the correct port accordingly. You can find the admin configuration file in:+===== Different Admin Port ===== 
 + 
 +If you are still unable to access the WebAdmin Console, check your LSWS Admin configuration to see if the default admin listener address value of "​*:​7080"​ has been changed. If so, open the correct port accordingly. You can find the admin configuration file in:
  
   /​usr/​local/​lsws/​admin/​conf/​admin_config.xml   /​usr/​local/​lsws/​admin/​conf/​admin_config.xml
-   + 
-If after these steps you are still unable to access the WebAdmin Console page, it is possible that some external firewall may be causing the problem. If this is the case you will have to find it and change it accordingly.+===== Error 403 in LiteSpeed WebAdmin ===== 
 +There is an option to restrict access to the WebAdmin. If you forget to add your IP address, or if it changes, you can edit it from the configuration file in ''/​usr/​local/​lsws/​admin/​conf/​admin_config.xml'':​ 
 + 
 +<​code>​ <​security>​ 
 +   ​<​accessControl>​ 
 +     <​allow>​XXX.XXX.XXX.XXX</​allow>​ 
 +     <​deny>​ALL</​deny>​ 
 +   </​accessControl>​ 
 + </​security>​ 
 +</​code>​ 
 + 
 +Put your IP address in the allow list. For multiple IP addresses it looks like this: 
 +<​code>​ <​allow>​XXX.XXX.XXX.XXX,​ XXX.XXX.XXX.XXX</​allow>​ </​code>​ 
 + 
 + 
 +===== External Firewall =====  ​ 
 +Ifafter these stepsyou are still unable to access the WebAdmin Console page, it is possible that some external firewall may be causing the problem. If this is the case you will have to find it and change it accordingly. 
 + 
 +===== LSWS is not Running ===== 
 +If LiteSpeed Web Server is not running, then the LiteSpeed Web Server WebAdmin page won't be available for sure. 
 + 
 +Check if LSWS is running: 
 +  ps -ef | grep litespeed 
 + 
 +On cPanel, you may be running Apache instead of LSWS at the moment. The following command should show which server is currently running: 
 +  ps -ef | grep httpd   
  • Admin
  • Last modified: 2015/07/30 20:11
  • by Michael Alegre