[Bug 996968] Re: Samba needs to be stopped and restarted in order to work

James Page james.page at ubuntu.com
Thu May 17 10:33:49 UTC 2012


Thanks for taking the time to report this bug in Ubuntu.

I've seen similar issues when using the following configuration:

  bind interfaces only = yes

This causes samba to only bind to selected interfaces rather than
0.0.0.0 - as it starts early in the boot process this fails as its not
guaranteed that all network interfaces have started when smbd does:

  start on (local-filesystems and net-device-up)

When you restart smbd after boot the network interfaces have started so
all works OK.

I would suggest that you either reconfigure samba to listen more
generically or add a upstart stanza to /etc/init/smbd.override:

  start on (local-filesystems and net-device-up IFACE=eth0)

You will need to change this to fit your configuration - i.e. which
network interface provides 192.168.0.0/24.  For more information see
'man 5 init'.

I'm going to mark the bug as 'Invalid' as I think its specific to your
local samba configuration.  If you think this is not the case please
comment and mark as 'New'.

Thanks



** Changed in: samba (Ubuntu)
       Status: New => Invalid

-- 
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/996968

Title:
  Samba needs to be stopped and restarted in order to work

Status in “samba” package in Ubuntu:
  Invalid

Bug description:
  1- I setup samba in order to have my server act as Domain Controller (I have NO windows server)
  2- after each reboot of my server (Internity), smbd and nmbd are running, but I am unable to connect to it
       (see first screen capture)
  3- stopping and restarting smbd and nmbd fixes this.
       It seems that on the first start, either smb did not uses the right smb.conf file, or that an early startup of samba 
       make it miss some files or ressources.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: samba 2:3.6.3-2ubuntu2.1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Wed May  9 09:36:18 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  SourcePackage: samba
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/996968/+subscriptions




More information about the foundations-bugs mailing list