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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Litespeed doesn't start automatically

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2012, 10:36 AM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
Default Litespeed doesn't start automatically

I've just did a fresh installation of Litespeed Standard on a new server. The installation went smoothly but I couldn't get Litespeed to start up automatically on bootup. It can be started via command line manually after logging in.

During the installation, I've already specified that I want it to start automatically. I've also confirmed that the litespeed startup script is present at /etc/init.d

I've did multiple times of reinstallation already but still doesn't solve the problem.

What should I do?
Reply With Quote
  #2  
Old 02-13-2012, 10:51 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
what's your server OS? make sure lsws is enabled in startup script. For CentOS, the correct on is like the following:
Quote:
# chkconfig --list lsws
lsws 0:off 1:off 2:on 3:on 4:off 5:on 6:off
if they are all off (0-6:off), just do this to enable it.
Quote:
# chkconfig lsws on

Last edited by webizen; 02-13-2012 at 11:41 AM.. Reason: edit: added expected screenshot
Reply With Quote
  #3  
Old 02-13-2012, 07:07 PM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
I'm using Debian 6. I manage to get it running on boot with the insserv command (with warning messages).

# insserv lsws
insserv: warning: current start runlevel(s) (2 3 5) of script `lsws' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 5 6) of script `lsws' overwrites defaults (0 1 6).

----

The startup scripts were already in all the respective runlevel folders (eg. /etc/rc2.d, /etc/rc3.d, etc) prior to running the insserv command. I believe Litespeed has created them as it should be during installation.

But what is it preventing it from running?

I have re-simulated the entire process by reinstalling Litespeed and installing back again with the same configs. It still turns out that the insserv command has to be run before Litespeed can start up automatically on boot.

Could this be a bug? or is there a problem with the configurations on my system that prevents Litespeed from running automatically by default installation?
Reply With Quote
  #4  
Old 02-15-2012, 02:26 AM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
hi.. any updates on this?
Reply With Quote
  #5  
Old 02-15-2012, 12:48 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
we are able reproduce in lab. will let you know when an update is out.
Reply With Quote
  #6  
Old 02-15-2012, 06:09 PM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
that's great. thank you!
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 02:49 PM.



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