06.05.2024, 00:09 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
drb
Titel: Problems with start / stop services since d-u  BeitragVerfasst am: 09.09.2006, 10:36 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 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
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Hack-o-Master
Titel:   BeitragVerfasst am: 09.09.2006, 10:56 Uhr



Anmeldung: 05. Apr 2005
Beiträge: 499
Wohnort: 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 09.09.2006, 11:33 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 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
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
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.