LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   Litespeed doesn't start automatically (http://www.litespeedtech.com/support/forum/showthread.php?t=5696)

thelunny 02-13-2012 10:36 AM

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?

webizen 02-13-2012 10:51 AM

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

thelunny 02-13-2012 07:07 PM

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?

thelunny 02-15-2012 02:26 AM

hi.. any updates on this?

webizen 02-15-2012 12:48 PM

we are able reproduce in lab. will let you know when an update is out.

thelunny 02-15-2012 06:09 PM

that's great. thank you! :)


All times are GMT -7. The time now is 01:21 PM.