Nov 16, 2025 - 01:43 AMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
drb
Post subject: Problems with start / stop services since d-u  PostPosted: Sep 09, 2006 - 10:36 AM



Joined: Jul 03, 2004
Posts: 525

I didn't d-u yesterday having seen the udev warnings but decided to today. After Ctl-Alt-F1, logging in as root, I typed init 3 but kdm didn't stop. I can'see anything wrong with the rc3.d folder which appears to have all the correct links in place.

I then try to get back to init 5 but kde doesn't start after telling me kdm is already running.

The problem may have arisen from my 6 Sep d-u where initscripts was upgraded. I noticed there was a further update yesterday so I tried upgrading that on its own but kdm still doesn't stop when I go to run level 3.

Anyone else had this problem? How do I get the runlevel scripts linking and running properly?

drb

PS I also have started getting a failed mtab error at boot - something like /sys already running

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 View user's profile Send private message  
Reply with quote Back to top
Hack-o-Master
Post subject:   PostPosted: Sep 09, 2006 - 10:56 AM



Joined: Apr 05, 2005
Posts: 499
Location: Bielefeld <:-P
The upgrade-rc.d Skript in the 6.9.06 Version of sysv-rc was properly broken:
Code:
sysvinit (2.86.ds1-18) unstable; urgency=low

  In version 2.86.ds1-16 of the sysv-rc package released 2006-09-06,
  the update-rc.d script was broken.  When used to to update symlinks
  it would remove all symlinks for a init.d script if such symlinks
  existed, and add them if they were missing.  This broke all packages
  being upgraded after the new version was installed, as their init.d
  scripts will no longer be executed.  This problem was fixed in
  version 2.86.ds1-18, but the broken packages will stay broken until
  their postinst scripts are executed again.

  Those with packages being broken from this bug can fix it by using
  'apt-get --reinstall install package' on the affected packages.  A
  quick way out is to reinstall all the packages with scripts in
  /etc/init.d/.

    for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
      apt-get --reinstall install -y $p
    done

 -- Petter Reinholdtsen <pere@debian.org>  Thu,  8 Sep 2006 15:40:50 +0200
In the actual sysv-rc ( ds1-18 ) the problem was fixed, but you must recreate the Startuplinks (for services that was upgraded with the broken update-rc.d Script) with the three-liner:
Code:
     for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
      apt-get --reinstall install -y $p
    done
mfg. Hack-o-Master

_________________
sidux2007-02 64Bit, Kernel 2.6.23rc..(Crypto-root), X.org 7.3, KDE 3.5.7
http://bernd-das-brot.de.be | Gästebuch , certified B.O.F.H.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
drb
Post subject:   PostPosted: Sep 09, 2006 - 11:33 AM



Joined: Jul 03, 2004
Posts: 525

Thanks Hack-o-Master! That was a bit daunting but it has sorted out the issue. There are probably a lot of people doing their d-u's thinking kdm has stopped and it hasn't when they ener run level 3.

It takes about 20 minutes to 'get back to normal' when you run the above code.

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.