21 Oct 2025 - 07:00Deutsch | English
Bonjour visiteur [ Register | Identification ]

Poster un nouveau sujet   Répondre au sujet
Voir le sujet précédent Version imprimable Se connecter pour vérifier ses messages privés Voir le sujet suivant
Auteur Message
drb
Sujet du message: Problems with start / stop services since d-u  MessagePosté le: 09 Sep 2006 - 10:36



Inscrit le: 03 Jl 2004
Messages: 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
_____________________
 
 Voir le profil de l'utilisateur Envoyer un message privé  
Répondre en citant Revenir en haut
Hack-o-Master
Sujet du message:   MessagePosté le: 09 Sep 2006 - 10:56



Inscrit le: 05 Avr 2005
Messages: 499
Localisation: 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.
 
 Voir le profil de l'utilisateur Envoyer un message privé Envoyer un e-mail. Visiter le site web du posteur  
Répondre en citant Revenir en haut
drb
Sujet du message:   MessagePosté le: 09 Sep 2006 - 11:33



Inscrit le: 03 Jl 2004
Messages: 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
_____________________
 
 Voir le profil de l'utilisateur Envoyer un message privé  
Répondre en citant Revenir en haut
Montrer les messages depuis:     
Sauter vers:  
Toutes les heures sont au format GMT + 1 Heure
Poster un nouveau sujet   Répondre au sujet
Voir le sujet précédent Version imprimable Se connecter pour vérifier ses messages privés Voir le sujet suivant
PNphpBB2 © 2003-2007 
Traduction par : phpBB-fr.com
 
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.