[Bug 951087] Re: Samba non-functional on boot.
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 shouldn't do that. 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. level 10 logs forthcoming start on (local-filesystems and net-device-up IFACE=eth0) That does help but shouldn't be necessary for such an important package. What if I was dealing with eth1 instead, then the line has to be edited. Plus is the override file guaranteed to work through various upgrades? If not then server stability is really in question. 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. Actually a pretty standard way to use Samba. And it's anything but Low when your Samba box is a PDC or file/print server for many users. Suggest this bug in Ubuntu finally get fixed. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/951087 Title: Samba non-functional on boot. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 951087] Re: Samba non-functional on boot.
** Attachment added: requested samba logs https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+attachment/3087447/+files/samba.logs.tar.bz2 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/951087 Title: Samba non-functional on boot. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 951087] Re: Samba non-functional on boot.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/951087 Title: Samba non-functional on boot. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 951087] [NEW] Samba non-functional on boot.
Public bug reported: 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) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/951087 Title: Samba non-functional on boot. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 951087] Re: Samba non-functional on boot.
On Fri, Mar 9, 2012 at 3:16 PM, Jelmer Vernooij 951...@bugs.launchpad.net wrote: What does 'netstat -l' say, does it list anything for smbd and nmbd? Yes. = # netstat -lp |grep mbd tcp0 0 localhost:netbios-ssn *:* LISTEN 751/smbd tcp0 0 localhost:microsoft-ds *:* LISTEN 751/smbd udp0 0 172.26.63.25:netbios-ns *:* 1045/nmbd udp0 0 nicedog.kwla:netbios-ns *:* 1045/nmbd udp0 0 *:netbios-ns*:* 1045/nmbd udp0 0 172.26.63.2:netbios-dgm *:* 1045/nmbd udp0 0 nicedog.kwl:netbios-dgm *:* 1045/nmbd udp0 0 *:netbios-dgm *:* 1045/nmbd unix 2 [ ACC ] STREAM LISTENING 8679 1045/nmbd /var/run/samba/unexpected = Nmap from another system: = Nmap scan reportsnip Not shown: 996 closed ports PORT STATE SERVICE 21/tcp open ftp 631/tcp open ipp = After restarting nmbd and smbd: = # netstat -lp |grep mbd tcp0 0 localhost:netbios-ssn *:* LISTEN 2058/smbd tcp0 0 nicedog.kwl:netbios-ssn *:* LISTEN 2058/smbd tcp0 0 localhost:microsoft-ds *:* LISTEN 2058/smbd tcp0 0 nicedog.kw:microsoft-ds *:* LISTEN 2058/smbd udp0 0 172.26.63.25:netbios-ns *:* 2050/nmbd udp0 0 nicedog.kwla:netbios-ns *:* 2050/nmbd udp0 0 *:netbios-ns*:* 2050/nmbd udp0 0 172.26.63.2:netbios-dgm *:* 2050/nmbd udp0 0 nicedog.kwl:netbios-dgm *:* 2050/nmbd udp0 0 *:netbios-dgm *:* 2050/nmbd unix 2 [ ACC ] STREAM LISTENING 120712050/nmbd /var/run/samba/unexpected = = Nmap scan reportsnip Not shown: 994 closed ports PORT STATE SERVICE 21/tcp open ftp 139/tcp open netbios-ssn 445/tcp open microsoft-ds 631/tcp open ipp = However the problem only occurs when I use the following (valid syntax and configuration) in smb.conf: = interfaces = 127.0.0.1 172.26.62.112 bind interfaces only = Yes = If I comment the above out and reboot Samba is live but it's not the desired configuration. Also even the more general syntax (again not the desired configuration) fails: = interfaces = lo eth0 bind interfaces only = Yes = Seems like a timing issue with Samba being brought up to early. Had a similar issue with an earlier Ubuntu release that was never resolved. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/951087 Title: Samba non-functional on boot. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/951087/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs