[Bug 951087] Re: Samba non-functional on boot.

James Page james.page at ubuntu.com
Thu Apr 12 12:41:40 UTC 2012


The upstart configuration for samba makes the assumption that you are
not using this configuration i.e. it assumes that samba will deal with
binding to all interfaces.

It would be good to confirm this - please could you attach the log files
for smbd and smbd from /var/log/samba to this bug report.

In the meantime you could try adding an override file for your specific
configuration in /etc/init/smbd.override:

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

This might help as the smbd daemon will then try to start a bit later
once a real network interface starts up.

I'm downgrading this bug to 'Low' as its very specific to the way you
are using samba and marking 'Incomplete' pending your response on the
above.

Thanks

** Changed in: samba (Ubuntu)
   Importance: High => Low

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

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

Title:
  Samba non-functional on boot.

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  Even though nmbd and smbd are running after boot, Samba service is unavailable.
  ===========================
  ps axf |grep mbd
  2467 ?        Ss     0:00 smbd -F
  2469 ?        S      0:00  \_ smbd -F
  2478 ?        Ss     0:00 nmbd -D
  ===========================

  Samba does not allow connections from other systems and nmap from
  another system does not list ports 139 and 445 as open.

  Restarting both nmbd and smbd after boot makes Samba service available and nmap now shows ports open:
  ===========================
  PORT     STATE SERVICE
  139/tcp  open  netbios-ssn
  445/tcp  open  microsoft-ds
  ===========================

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: samba 2:3.6.3-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Fri Mar  9 14:35:50 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
  ProcEnviron:
   TERM=screen
   SHELL=/bin/bash
   PATH=(custom, no user)
  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/951087/+subscriptions




More information about the foundations-bugs mailing list