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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > Litespeed dies on restart

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2006, 08:32 AM
djsodom djsodom is offline
Member
 
Join Date: Sep 2006
Posts: 37
Default Litespeed dies on restart

I'm having the same exact issues as this user had:
http://www.litespeedtech.com/support...read.php?t=447

Except I'm on a intel Mac.

I'm following Bob Silva's screencast step for step here:
http://i.nfectio.us/litespeed2/litespeed2.html

Litespeed starts perfectly when I initially install it, but when I add the rails vhost, it dies and then I can't restart it via command line. The error I get is:

steve-odoms-computer:/srv/www steveodom$ /usr/local/lsws/bin/lswsctrl startCan't determine the Home of LiteSpeed Web Server, exit!
[ERROR] Failed to start lshttpd!

The error.log shows:

2006-09-05 10:18:33.365 [NOTICE] Loading LiteSpeed/2.2 Standard ...
2006-09-05 10:18:33.369 [NOTICE] [ADMIN] server socket: 127.0.0.1:7465
2006-09-05 10:18:33.369 [NOTICE] Loading configuration from /usr/local/lsws/conf/httpd_config.xml ...
2006-09-05 10:18:33.371 [NOTICE] Recovering server socket: [*:80]
2006-09-05 10:18:33.371 [NOTICE] Recovering server socket: [*:81]
2006-09-05 10:18:33.371 [INFO] old priority: 0, new priority: 0
2006-09-05 10:18:33.371 [INFO] [config:server:basic] For better obscurity, server version number is hidden in the response header.
2006-09-05 10:18:33.408 [ERROR] [config:server:listener] missing <listenerList>
2006-09-05 10:18:33.408 [WARN] [config:server:listener] No listener is available for normal virtual host!
2006-09-05 10:18:33.408 [NOTICE] The maximum number of file descriptor limit is set to 12288.

I've repeated the install process from scratch 3 times to make sure I wasn't leaving something out

What else can I try?

Steve
Reply With Quote
  #2  
Old 09-05-2006, 08:37 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Steve,

You must start the web server as a user that has "root" privilege. Once started, litespeed will automatically downgrade to the configured user level.

Use "sudo lswsctrl start" to start the server if you are not root.

Last edited by xing; 09-05-2006 at 08:42 AM..
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to use litespeed load balancer for balancing lsapi technix Ruby/Rails 3 07-06-2007 08:28 PM
Litespeed stops working nicksnels Java JSP/Servlet 11 06-15-2007 08:13 AM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
Rails via Mongrel: Litespeed dies upon restart alaithea Ruby/Rails 8 05-16-2006 09:43 AM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM


All times are GMT -7. The time now is 02:44 PM.



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