This is an old revision of the document!


Why can not start LSWS: “LiteSpeed is not up within 60 secs”?

For a newly install LiteSpeed on a cpanel server, the user was trying to start/switch to LSWS, but failed with the following message:

Failed to bring up LiteSpeed
Stopping httpd: [ OK ]
Apache Stopped.
LiteSpeed is not up within 30 secs, try again by removing /tmp/lshttpd/.
ERROR LiteSpeed is not up within 60 secs, please check the error log and try again.
Apache port offset has been set to 0.

Beyond some technical reason, an incorrect license type will also cause the LSWS service unable to be started.

Check the license first:

/usr/local/lsws/bin/lshttpd -V

You could see something similar to the following:

root@support [~]# /usr/local/lsws/bin/lshttpd -V
2018-10-03 14:20:45.506996 [NOTICE] Memory size is: 8202396KB.
[ERROR] VPS license cannot be used on VPS with more than 2GB memory.
     Please upgrade your license to Ultra VPS or 1-CPU license!

Upgrading your license should fix the error.

  • Admin
  • Last modified: 2018/10/03 18:10
  • by Jackson Zhang