After rebooting my machine, I have found many services have stopped starting automatically. If I start them with their init scripts once the machine is booted, they start without any problems. Strangely enough, if I run sudo init 5
once logged in, most services will start (although some still seem to refuse without manually running their init scripts.
I can't think of anything that's changed since I last rebooted my machine and system logs don't seem to show anything useful. Any help is always appreciated!
Update: I have verified both by using chkconfig
and examining scripts in /etc/rc*.d
folders that the services are configured to start and that the scripts run correctly.
This is a confirmed bug of 9.10. See https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/497299
I changed the line 9 of /etc/init/rc-sysinit.conf from "start on (filesystem and net-device-up IFACE=lo)" to "start on filesystem and net-device-up". It's worked for me.
Have you verified the services are activated for your default runlevel? You can get your current runlevel with
runlevel
. You can verify the activated runlevels withchkconfig --list <servicename>
.How did you add those services? Usually with Ubuntu you add and/remove links to the rc services with the update-rc.d command:
I'd try to update the init scripts in question with that command to see if that addresses.
Now if the services were not added via apt-get and your installed them manually, that's a different story. Which services in question did not start?