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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > LS init.d script is lacking the LSB fields in Debian 6

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2011, 02:02 AM
khunj khunj is offline
New Member
 
Join Date: Feb 2011
Posts: 2
Default LS init.d script is lacking the LSB fields in Debian 6

Hi,

Starting with Debian 6.0, there must be a LSB fields in the header of each init.d script.
/etc/init.d/lsws (all versions) does not have one.
LS installation is working, but afterwards it is no longer possible to install any application that uses a init.d script.

FYI, here is what it looks like when trying to install an app (haproxy) after LS was installed :

Code:
Unpacking haproxy (from .../haproxy_1.4.8-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up haproxy (1.4.8-1) ...
Adding group `haproxy' (GID 111) ...
Done.
Adding system user `haproxy' (UID 106) ...
Adding new user `haproxy' (UID 106) with group `haproxy' ...
Not creating home directory `/home/haproxy'.
insserv: warning: script 'K12lsws' missing LSB tags and overrides
insserv: warning: script 'lsws' missing LSB tags and overrides
insserv: There is a loop between service rmnologin and mountnfs if started
insserv:  loop involving service mountnfs at depth 6
insserv:  loop involving service nfs-common at depth 5
insserv: There is a loop between service rmnologin and checkroot if started
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service keyboard-setup at depth 2
insserv:  loop involving service module-init-tools at depth 4
insserv:  loop involving service mountnfs-bootclean at depth 8
insserv:  loop involving service hwclock at depth 5
insserv:  loop involving service hdparm at depth 3
insserv:  loop involving service hostname at depth 4
insserv:  loop involving service alsa-utils at depth 12
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service atd at depth 12
insserv: There is a loop between service rmnologin and mountall if started
insserv:  loop involving service mountall at depth 8
insserv:  loop involving service checkfs at depth 7
insserv:  loop involving service mtab at depth 6
insserv: There is a loop between service rmnologin and ifupdown-clean if started
insserv:  loop involving service ifupdown-clean at depth 6
insserv: There is a loop between service rmnologin and mountdevsubfs if started
insserv:  loop involving service mountdevsubfs at depth 2
insserv:  loop involving service udev at depth 1
insserv: There is a loop at service lsws if started
insserv: There is a loop at service rmnologin if started
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv:  loop involving service bootlogd at depth 4
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rmnologin and mountall-bootclean if started
insserv:  loop involving service mountall-bootclean at depth 1
insserv: There is a loop between service rmnologin and bootlogd if started
insserv:  loop involving service networking at depth 10
insserv: Starting lsws depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing haproxy (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 haproxy
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solution : http://wiki.debian.org/LSBInitScript...dencyBasedBoot
Reply With Quote
  #2  
Old 03-02-2011, 10:40 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Download and install the latest 4.0.20 package.
Reply With Quote
  #3  
Old 03-03-2011, 12:01 AM
khunj khunj is offline
New Member
 
Join Date: Feb 2011
Posts: 2
Thanks.
I modified it for my own use :

Code:
### BEGIN INIT INFO
# Provides:          lsws
# Required-Start:    $local_fs $remote_fs $network
# Required-Stop:     $local_fs $remote_fs $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: lshttpd
# Description:       LiteSpeed Web Server is a World Wide Web server.
### END INIT INFO
$network : seems pretty obvious !
$remote_fs : LS default installation directory is `/usr/local/lsws`. Since `/usr` can be a remote FS, I think it might be a good idea to ensure it is fully mounted first.
Reply With Quote
  #4  
Old 03-03-2011, 03:27 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
updated 4.0.20 package.
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 08:36 AM.



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