SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-10-07 10:39:37

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

[SOLVED] update-rc.d not working

fabian@crunch-lap:~$ sudo update-rc.d bluetooth enable
[sudo] password for fabian: 
update-rc.d: using dependency based boot sequencing
update-rc.d: error: no runlevel symlinks to modify, aborting!

Last edited by Criminal (2011-10-08 14:24:45)

Offline

Be excellent to each other!

#2 2011-10-07 12:00:08

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED] update-rc.d not working

Post the result of

sudo find /etc/rc?.d| grep blue

please
If you removed the symlinks in rc?.d manually, you will have to recreate them manually. Debian considers this to be the sysadmins responsability.

Edit: If you have deleted the links manually, I guess the easiest way to restore them is to uninstall bluez and then reinstall

sudo apt-get --purge remove bluez
sudo apt-get install bluez

Last edited by xaos52 (2011-10-07 12:10:00)

Offline

#3 2011-10-07 12:03:49

Thorny
#! CrunchBanger
Registered: 2011-05-19
Posts: 113

Re: [SOLVED] update-rc.d not working

fabian@crunch-lap:~$ sudo update-rc.d bluetooth enable
[sudo] password for fabian: 
update-rc.d: using dependency based boot sequencing
update-rc.d: error: no runlevel symlinks to modify, aborting!

Offline

#4 2011-10-07 14:41:50

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: [SOLVED] update-rc.d not working

Please give us the output of

/etc/init.d/bluetooth status

after you start up the machine (i.e. without any tinkering).

Offline

#5 2011-10-07 14:44:31

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

Re: [SOLVED] update-rc.d not working

fabian@crunch-lap:~$ sudo apt-get purge bluez
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Statusinformationen werden eingelesen... Fertig
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
  bluez-cups
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  bluetooth* bluez* bluez-alsa* bluez-gstreamer* gnome-bluetooth*
0 aktualisiert, 0 neu installiert, 5 zu entfernen und 1 nicht aktualisiert.
Nach dieser Operation werden 4.780 kB Plattenplatz freigegeben.
Möchten Sie fortfahren [J/n]? 
(Lese Datenbank ... 309956 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von bluetooth ...
Entfernen von gnome-bluetooth ...
Entfernen von bluez-gstreamer ...
Entfernen von bluez-alsa ...
Entfernen von bluez ...
Stopping bluetooth: bluetoothd.
Löschen der Konfigurationsdateien von bluez ...
insserv: warning: script 'S85vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: There is a loop at service rc.local if started
insserv: There is a loop between service vpnagentd_init 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 vpnagentd_init and checkroot if started
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service mountdevsubfs at depth 2
insserv:  loop involving service mountnfs-bootclean at depth 8
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
...
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv:  loop involving service portmap at depth 5
insserv: There is a loop between service rc.local and mountall if started
insserv:  loop involving service mountall at depth 3
insserv:  loop involving service hibernate-cleanup at depth 2
insserv:  loop involving service fuse at depth 10
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service rsyslog at depth 10
insserv: There is a loop between service rc.local and ifupdown if started
insserv:  loop involving service ifupdown at depth 5
insserv:  loop involving service ifupdown-clean at depth 4
insserv:  loop involving service module-init-tools at depth 4
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service networking at depth 7
insserv:  loop involving service checkfs at depth 5
insserv:  loop involving service mtab at depth 4
insserv: There is a loop at service vpnagentd_init if started
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
...
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rc.local and mountoverflowtmp if started
insserv:  loop involving service mountoverflowtmp at depth 8
insserv:  loop involving service mountall-bootclean at depth 7
insserv: There is a loop between service rc.local and ifupdown-clean if started
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
...
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv:  loop involving service hwclockfirst at depth 4
insserv:  loop involving service hostname at depth 5
insserv:  loop involving service keyboard-setup at depth 6
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting vpnagentd_init depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service vpnagentd_init and mountdevsubfs if started
insserv: Starting vpnagentd_init depends on rc.local 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: Fehler beim Bearbeiten von bluez (--purge):
 Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
Trigger für gconf2 werden verarbeitet ...
configured to not write apport reports
                                      Trigger für hicolor-icon-theme werden verarbeitet ...
Trigger für desktop-file-utils werden verarbeitet ...
Trigger für man-db werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
 bluez
E: Sub-process /usr/bin/dpkg returned an error code (1)

Offline

#6 2011-10-07 14:56:04

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

Re: [SOLVED] update-rc.d not working

fabian@crunch-lap:~$ /etc/init.d/bluetooth status
bluetooth is not running ... failed!

Last edited by Criminal (2011-10-07 15:26:33)

Offline

#7 2011-10-07 15:16:43

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: [SOLVED] update-rc.d not working

We know now that bluetooth is *definitely* not being started (just wanted to make sure of that).  Side note: I don't have the vpn thing (but then again, I don't use vpn).

Offline

#8 2011-10-07 15:32:48

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

Re: [SOLVED] update-rc.d not working

I remeber some time ago (my very beginning noob days, now I consider myself as regular noob wink) I didn't want bluetooth to start. So I disabled it in bios.
But I'm not sure whether I did anything else before disabling it in bios or not.

Is there a way to disable a service in that way, that all symlinks in rc?.d are removed? Some kind of blacklist? Maybe I did that long ago and don't remember ...
Or other way round: Is there a config file listing all services to be used in rc?.d? Maybe I added or removed bluetooth from one of theese files? Just a guess. I really don't remember what I did or if I did anything at all.

Offline

#9 2011-10-07 16:13:34

Thorny
#! CrunchBanger
Registered: 2011-05-19
Posts: 113

Re: [SOLVED] update-rc.d not working

Offline

#10 2011-10-07 16:17:25

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [SOLVED] update-rc.d not working

Last edited by xaos52 (2011-10-07 16:24:51)

Offline

#11 2011-10-07 18:40:09

Thorny
#! CrunchBanger
Registered: 2011-05-19
Posts: 113

Re: [SOLVED] update-rc.d not working

Last edited by Thorny (2011-10-07 18:43:35)

Offline

#12 2011-10-08 14:24:22

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

Re: [SOLVED] update-rc.d not working

#!/bin/sh
#
# chkconfig: 345 85 25
# description: vpnagentd is used for managing the cisco vpn client datapath.
# processname: vpnagentd
...

Last edited by Criminal (2011-10-08 14:27:42)

Offline

#13 2011-10-09 10:47:06

Thorny
#! CrunchBanger
Registered: 2011-05-19
Posts: 113

Re: [SOLVED] update-rc.d not working

Offline

#14 2011-10-09 13:42:47

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: [SOLVED] update-rc.d not working

Offline

#15 2011-10-10 07:51:47

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

Re: [SOLVED] update-rc.d not working

True, I forgot about the third possibility big_smile

Offline

#16 2011-10-10 11:28:18

Thorny
#! CrunchBanger
Registered: 2011-05-19
Posts: 113

Re: [SOLVED] update-rc.d not working

Offline

#17 2011-10-10 13:22:22

Criminal
#! Member
Registered: 2010-02-26
Posts: 62

Re: [SOLVED] update-rc.d not working

I just finished my studies a month ago. But it wasn't anything close to networking. ;-)

We were advised to use this client when we wanted to connect to the university network from home and use internal ressources.
I just emailed this issue to the helpdesk. Maybe they update their install description.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo