I'm running Ubuntu Server 10.04. I've installed mysql, nsd3, lighttpd, but nothing but sshd will start when I reboot. I can start them manually. What do I do to make these start at boot?
Asked
Active
Viewed 1,113 times
3 Answers
1
While you can technically place the correct files by hand, the prefered method would be update-rc.d
Wrikken
- 981
1
This may be related to Ubuntu bugs #554172 or #497299.
Try making sure your loopback interface is defined properly in /etc/network/interfaces
EDIT: Assuming that the services are actually set to start at boot, which usually happens during package installation.
interfect
- 333
0
If your SysV scripts are faulty somehow, you could delete them manually and use chkconfig to set them for you.
Kenny Rasschaert
- 9,095
Auto generated lo interface
auto lo iface lo inet loopback
The startup scripts are in the correct directory, but not all of them seem to run correctly, if I invoke them manually. For example:
./S20anacron status Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service S20anacron status
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the status(8) utility, e.g. status S20anacron status: Unknown job: S20anacron
I don't know what this means.
– Jul 26 '10 at 23:22Judging from http://upstart.ubuntu.com/getting-started.html you might want to try editing /etc/init/.conf
– interfect Jul 26 '10 at 23:36