View previous topic :: View next topic |
Author |
Message |
Crocodil Apprentice
Joined: 06 May 2004 Posts: 163 Location: Poznan, Poland
|
Posted: Fri Dec 10, 2010 8:54 am Post subject: Some services don't start at boot |
|
|
Hi,
Some of the services that are added to the "default" runlevel don't start at boot. Those that I've noticed are:
* hald
* dbus
* alsasound
* apache2
* mpd
There are no errors on start, the services just don't show up I don't know how to debug this and I would be very grateful for any help.
Best regards,
Crocodil |
|
Back to top |
|
|
xiwang n00b
Joined: 28 Nov 2010 Posts: 58 Location: China
|
Posted: Fri Dec 10, 2010 11:09 am Post subject: |
|
|
try to run:
Code: | /etc/init.d/dbus broken |
to request a list of missing dependencies for dbus... |
|
Back to top |
|
|
Crocodil Apprentice
Joined: 06 May 2004 Posts: 163 Location: Poznan, Poland
|
Posted: Fri Dec 10, 2010 4:04 pm Post subject: |
|
|
No luck
Quote: | # /etc/init.d/dbus broken
* dbus: unknown function `broken' |
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Dec 10, 2010 4:09 pm Post subject: |
|
|
CAn you post this :
Code: |
# rc-update
# rc-status
|
|
|
Back to top |
|
|
Crocodil Apprentice
Joined: 06 May 2004 Posts: 163 Location: Poznan, Poland
|
Posted: Mon Dec 13, 2010 8:11 am Post subject: |
|
|
I'm sorry for the late response - I didn't have access to that PC over the weekend...
Here are the results:
Quote: | # rc-status
Runlevel: default
syslog-ng [ stopped ]
dbus [ stopped ]
udev-postmount [ stopped ]
hald [ stopped ]
net.eth0 [ started ]
net.br0 [ started ]
netmount [ started ]
sshd [ stopped ]
apache2 [ stopped ]
mpd [ stopped ]
vixie-cron [ stopped ]
xdm [ starting ]
alsasound [ stopped ]
local [ stopped ]
Dynamic Runlevel: hotplugged
net.eth0 [ started ]
Dynamic Runlevel: needed
udev-mount [ started ]
sysfs [ started ]
Dynamic Runlevel: manual |
Quote: | # rc-update
termencoding | boot
syslog-ng | default
udev-postmount | default
hald | default
mtab | boot
procfs | boot
killprocs | shutdown
bootmisc | boot
savecache | shutdown
swap | boot
apache2 | default
urandom | boot
net.lo | boot
mount-ro | shutdown
mpd | default
devfs | sysinit
localmount | boot
udev | sysinit
hwclock | boot
vixie-cron | default
sshd | default
keymaps | boot
netmount | default
xdm | default
local | nonetwork default
modules | boot
sysctl | boot
consolefont | boot
dbus | default
alsasound | default
hostname | boot
net.eth0 | default
root | boot
net.br0 | default
fsck | boot
dmesg | sysinit |
I hope this will be helpful |
|
Back to top |
|
|
xiwang n00b
Joined: 28 Nov 2010 Posts: 58 Location: China
|
Posted: Mon Dec 13, 2010 2:22 pm Post subject: |
|
|
well ,can you start the services manually?
I suggest you should check your runlevel:
Code: | cat /etc/inittab | grep -e initdefault
|
|
|
Back to top |
|
|
Crocodil Apprentice
Joined: 06 May 2004 Posts: 163 Location: Poznan, Poland
|
Posted: Mon Dec 13, 2010 4:22 pm Post subject: |
|
|
Yes, I am able to start those services manually and that's what I did but I'm tired of doing it every day
I'm sorry but I don't know what you mean. Here's the result of the command you gave:
Quote: | # cat /etc/inittab | grep -e initdefault
id:3:initdefault: |
|
|
Back to top |
|
|
nativemad Developer
Joined: 30 Aug 2004 Posts: 918 Location: Switzerland
|
Posted: Mon Dec 13, 2010 4:39 pm Post subject: |
|
|
Hi,
as dbus should at least be started before hal, i would first just try to "rc-update add dbus boot".
Hth, cheers _________________ Power to the people! |
|
Back to top |
|
|
xiwang n00b
Joined: 28 Nov 2010 Posts: 58 Location: China
|
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Tue Dec 14, 2010 4:52 am Post subject: |
|
|
I ran into this problem yesterday. For me it started after I upgraded to the lastest nvidia-drivers (260.18.26). What happened is the boot process stopped on hald once X had started up. Then, even hours later, if I did a Ctrl-Alt-F1, the boot process would finish. I fixed it by adding the following line to depend() in xdm: |
|
Back to top |
|
|
xiwang n00b
Joined: 28 Nov 2010 Posts: 58 Location: China
|
Posted: Tue Dec 14, 2010 5:09 am Post subject: |
|
|
I'm glad you have solved the problem.I also got a lot from this question, |
|
Back to top |
|
|
|