LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Litespeed Ubuntu

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2012, 10:17 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default Litespeed Ubuntu

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!
Reply With Quote
  #2  
Old 07-04-2012, 11:37 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
assuming your working directory is /usr/local/lsws/bin, pls do

Quote:
ls -la .
Reply With Quote
  #3  
Old 07-04-2012, 01:17 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
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
Reply With Quote
  #4  
Old 07-04-2012, 01:36 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
how about 'sudo /usr/local/lsws/bin/lswsctrl start' ?
Reply With Quote
  #5  
Old 07-04-2012, 01:46 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
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!
Reply With Quote
  #6  
Old 07-04-2012, 02:00 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
pls manually run 'sudo /usr/local/lsws/bin/litespeed'
Reply With Quote
  #7  
Old 07-04-2012, 02:27 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
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.
Reply With Quote
  #8  
Old 07-04-2012, 03:46 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Run ./lshttpd -V and also check error log.
Reply With Quote
  #9  
Old 02-20-2013, 03:58 PM
danse danse is offline
New Member
 
Join Date: Feb 2013
Posts: 3
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.
Reply With Quote
  #10  
Old 02-20-2013, 04:33 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by danse View Post
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/litespe...downloads.html.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:48 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.