[Bug 678420] Re: smbd sometimes does not start on startup
gmoore777
guy.moore at comcast.net
Thu Sep 15 20:05:33 UTC 2011
Happens intermittently on our Ubuntu 10.04.3 LTS 64-bit systems.
I just checked 2 machines where smbd was not started after a reboot.
I notice the same "smbd respawning too fast, stopped" in /var/log/syslog.
This message is appearing up to12 seconds prior to Network Manager acquiring
an IP address, etc.
So to me it looks like samba is failing cause the network is not established yet.
Should smbd go to sleep and try again in a few minutes?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/678420
Title:
smbd sometimes does not start on startup
Status in “samba” package in Ubuntu:
Won't Fix
Bug description:
Binary package hint: samba
After reboot, the smbd daemon sometimes does not start automatically
on my server. It seems that it is trying to start when the network is
not up yet. Here is the syslog excerpt:
Nov 18 05:33:34 discobolos init: smbd main process (494) terminated with status 1
Nov 18 05:33:34 discobolos init: smbd main process ended, respawning
Nov 18 05:33:34 discobolos init: smbd main process (497) terminated with status 1
Nov 18 05:33:34 discobolos init: smbd main process ended, respawning
Nov 18 05:33:34 discobolos kernel: [ 17.519178] udev: starting version 151
Nov 18 05:33:34 discobolos init: smbd main process (500) terminated with status 1
Nov 18 05:33:34 discobolos init: smbd main process ended, respawning
Nov 18 05:33:34 discobolos init: smbd main process (526) terminated with status 1
Nov 18 05:33:34 discobolos init: smbd respawning too fast, stopped
And here is the corresponding smbd.log part:
[2010/11/18 05:33:34, 0] smbd/server.c:1069(main)
smbd version 3.4.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/11/18 05:33:34, 0] lib/interface.c:527(load_interfaces)
ERROR: Could not determine network interfaces, you must use a interfaces config line
[2010/11/18 05:33:34, 0] smbd/server.c:1069(main)
smbd version 3.4.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/11/18 05:33:34, 0] lib/interface.c:527(load_interfaces)
ERROR: Could not determine network interfaces, you must use a interfaces config line
....
When I start it manually afterwards all goes fine. This doesn happen after every restart though. It seems that sometimes the network does make it to start before samba daemon.
Any ideas please? Does anyone have the same problem?
My distro is Ubuntu server 10.04.1 LTS 64 bit.
Thanx
Roman Smid
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/678420/+subscriptions
More information about the foundations-bugs
mailing list