[Bug 545817] Re: samba and apache do not start at boot but can be started manually
Steve Langasek
steve.langasek at canonical.com
Fri May 17 21:55:23 UTC 2013
This problem is specific to older, no-longer-supported releases of
Ubuntu. Current releases of Ubuntu use upstart jobs, not init scripts,
for Samba; so this problem would definitely not occur there.
** Changed in: sysvinit (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/545817
Title:
samba and apache do not start at boot but can be started manually
Status in “sysvinit” package in Ubuntu:
Invalid
Bug description:
Everything was fine for more than a year with Ubuntu 8.10.
After trying to add a new script at boot using:
"update-rc.d script_name defaults 60"
Samba and apache failed to start automatically at boot.
At first I was surprised to see that /etc/init.d/samba did not exist.
I completely removed the samba package (sudo apt-get purge samba)
Then I re-installed it. The starting script was in /etc/init.d after this.
However, the samba and apache still fail to start automatically at
boot, while they start manually without a problem.
What I tried to fix this:
- checked the logs, but there was nothing to indicate what the problem was.
- upgraded to 9.04, then to 9.10, but to no avail
- tried running update-rc.d samba, and update-rc.d apache2
- added (sleep 30 && /etc/init.d/samba restart)& in /etc/rc.local (/etc/rc.local works - I tested it)
I will attach the log.nmbd, log.smbd, and the apache error.log
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/545817/+subscriptions
More information about the foundations-bugs
mailing list