Litespeed Ubuntu

zoom

Well-Known Member
#1
Do I need to do something special to get litespeed running on Ubuntu Server? When I attempt to start using "sudo ./lswsctrl start" I get the following error.

./lswsctrl: 70: ./lswsctrl: ./litespeed: not found
[ERROR] Failed to start litespeed!

Everything compiled fine and I'm not using a panel. Just a basic install of Ubuntu server and lsws. Thanks!
 

zoom

Well-Known Member
#3
Yes, working directory /usr/local/lsws/bin


drwxr-xr-x 2 root root 4096 Jul 4 17:26 .
drwxr-xr-x 15 root root 4096 Jul 4 17:02 ..
lrwxrwxrwx 1 root root 13 Jul 4 17:26 httpd -> lscgid.4.1.13
lrwxrwxrwx 1 root root 7 Jul 4 17:26 litespeed -> lshttpd
lrwxrwxrwx 1 root root 15 Jul 4 17:26 lscgid -> ./lscgid.4.1.13
-r-sr-xr-x 1 root root 15924 Jul 4 17:26 lscgid.4.1.13
lrwxrwxrwx 1 root root 16 Jul 4 17:26 lshttpd -> ./lshttpd.4.1.13
-r-xr-xr-x 1 root root 8226231 Jul 4 17:26 lshttpd.4.1.13
lrwxrwxrwx 1 root root 17 Jul 4 17:26 lswsctrl -> ./lswsctrl.4.1.13
-r-xr-xr-x 1 root root 4607 Jul 4 17:26 lswsctrl.4.1.13
-r-xr-xr-x 1 root root 76248 Jul 4 17:26 updateagent
-r-xr-xr-x 1 root root 851 Jul 4 17:26 wswatch.sh
 

zoom

Well-Known Member
#5
Same deal - below is the output.


sudo /usr/local/lsws/bin/lswsctrl start

/usr/local/lsws/bin/lswsctrl: 70: /usr/local/lsws/bin/lswsctrl: ./litespeed: not found
[ERROR] Failed to start litespeed!

litespeed: no process found
/usr/local/lsws/bin/lswsctrl: 70: /usr/local/lsws/bin/lswsctrl: ./litespeed: not found
[ERROR] Failed to start litespeed!
 

zoom

Well-Known Member
#7
executing "sudo /usr/local/lsws/bin/litespeed" doesn't reply with anything. I checked to see if it might have started a process, but nothing. It's very strange. I've never had any issues with litespeed installs under RHEL or CENTOS.
 
#9
I know this topic is pretty old, but still it's a common issue.

For everyone who runs into this issue, try installing the 32bit compatiblity layer if you are running Ubuntu 64bit.

For example:
Code:
sudo apt-get install ia32-libs
The free version of litespeed doesn't provide 64 bit executables and therefor your server needs the above libs to run the litespeed executable.
 

webizen

Well-Known Member
#10
I know this topic is pretty old, but still it's a common issue.

For everyone who runs into this issue, try installing the 32bit compatiblity layer if you are running Ubuntu 64bit.

For example:
Code:
sudo apt-get install ia32-libs
The free version of litespeed doesn't provide 64 bit executables and therefor your server needs the above libs to run the litespeed executable.
Please refer to the note on the page bottom at http://www.litespeedtech.com/litespeed-web-server-downloads.html.
 
Top