[Bug 582376] Re: Samba (nmbd) fails to start at boot
*** This bug is a duplicate of bug 572410 *** https://bugs.launchpad.net/bugs/572410 I have confirmed the same bug., but haven't tried modifying modifying /etc/init/nmbd.conf yet. After a reboot, I just type: sudo nmdb and it all works for me. I have this problem on my static IP computer, but not on my dynamic IP computer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/582376 Title: Samba (nmbd) fails to start at boot To manage notifications about this bug go to: https://bugs.launchpad.net/null/+bug/582376/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
*** This bug is a duplicate of bug 572410 *** https://bugs.launchpad.net/bugs/572410 Hi, I have static IP address set and my nmbd doesn't start automatically. "sudo service nmbd start" is working OK and nmbd starts, but nmbd doesn't start after boot. I tried with suggested changing /etc/init/nmbd.conf, but nmbd doesn't start and I found this in dmesg: 2018 mynamexxx@server /etc % dmesg|grep nmb [ 35.206891] init: nmbd main process (1412) terminated with status 1 [ 35.206941] init: nmbd main process ended, respawning [ 35.248705] init: nmbd main process (1509) terminated with status 1 [ 35.248739] init: nmbd main process ended, respawning [ 35.271393] init: nmbd main process (1517) terminated with status 1 [ 35.271431] init: nmbd main process ended, respawning [ 36.331176] init: nmbd main process (1523) terminated with status 1 [ 36.331214] init: nmbd main process ended, respawning [ 36.353534] init: nmbd main process (1568) terminated with status 1 [ 36.353573] init: nmbd main process ended, respawning [ 36.378882] init: nmbd main process (1578) terminated with status 1 [ 36.378922] init: nmbd main process ended, respawning [ 36.400740] init: nmbd main process (1586) terminated with status 1 [ 36.400779] init: nmbd main process ended, respawning [ 36.422524] init: nmbd main process (1592) terminated with status 1 [ 36.422562] init: nmbd main process ended, respawning [ 36.449262] init: nmbd main process (1600) terminated with status 1 [ 36.449300] init: nmbd main process ended, respawning [ 36.472198] init: nmbd main process (1606) terminated with status 1 [ 36.472240] init: nmbd main process ended, respawning [ 36.494553] init: nmbd main process (1614) terminated with status 1 [ 36.494591] init: nmbd respawning too fast, stopped I am using Ubuntu 11.10 which was upgraded from 11.04 and 10.10 and 10.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/582376 Title: Samba (nmbd) fails to start at boot To manage notifications about this bug go to: https://bugs.launchpad.net/null/+bug/582376/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
*** This bug is a duplicate of bug 572410 *** https://bugs.launchpad.net/bugs/572410 ah... and this bug IS NOT a duplicate of bug #572410 (IMHO of course...) as testparm was installed and perfectly working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/582376 Title: Samba (nmbd) fails to start at boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
*** This bug is a duplicate of bug 572410 *** https://bugs.launchpad.net/bugs/572410 @bkrzem: you're fug right! I've been struggling with this for a week and the solution was so simple! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/582376 Title: Samba (nmbd) fails to start at boot -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
*** This bug is a duplicate of bug 572410 *** https://bugs.launchpad.net/bugs/572410 ** This bug has been marked a duplicate of bug 572410 [SRU] nmbd doesn't start because of missing testparm -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
I am on a netbook with Maverick Meerkat and have the same problem. I seem to have fixed it by changing /etc/init/nmbd.conf line start on (local-filesystems and net-device-up IFACE!=lo) to start on (local-filesystems) -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
Ok, commented the two pre-script commands mentioned in , followed by service nmbd start, and -BWAP- immediate, flawless execution. When this stuff works great it is SO GREAT...and when idiocy creeps in, well now, as to why testparm didn't install, or where it disappeared to . eeesh -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
smbd is running, started ok at box boot. nmbd is not running at box boot. % status nmbd nmbd stop/waiting % service nmbd start start: Job failed to start %tail /var/log/daemon.log Jul 13 09:22:10 seed init: nmbd pre-start process (1079) terminated with status 127 Looking at , it appears my system, stock Ubuntu Server LTS 10.04 has no testparm in the PATH...very odd. Will post follow up in a few hours. You know the unhappy truth is Upstart project is going to catch much flak for all the mess that's been compounding for decades in the outdated sysV init way... -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
Maybe this is a duplicate of bug 596064 -- could you try commenting the two lines in /etc/init/nmbd.conf as suggested there ? -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
No, no messages regarding nmbd not starting/failing at all in any of those logs, I've checked them all. -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
Is there anything showing up about starting failure in /var/log/syslog, /var/log/boot.log or /var/log/samba/* ? Could you attach the information required at https://wiki.ubuntu.com/DebuggingSamba#Samba%20as%20a%20server -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
I second the bug. nmdb is not running while smdb is running fine, starting manually works withouth any problems. log.nmdb is not showing anything, obviously. # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # configure the static ip address auto eth1 iface eth1 inet static address 192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255 up route add default gw 192.168.0.190 down route del default -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
** Attachment added: "Hadmut's interfaces file (requested by ubunt)" http://launchpadlibrarian.net/50178668/interfaces -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
I'm coming from bug #590862 which was marked as a duplicate of this bug. And I had been asked to outline my network configuration. No, there is no error message in nmbd.log at all. The reason for not starting is not a failure in configuration. It always starts properly when I launch it manually with service nmbd start. On that machine I am using just a static ethernet network configuration. I'll attach my /etc/network/interfaces file. As far as I can see the problem is that nmbd is simply not always started at boottime. Interestingly I found it to be running in rare cases. My guess is that there is a timing problem with the net-device-up signal. The major problem might be the lack of proper documentation for the upstart code (and an increasing ignorance of the upstart maintainers). -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
The upstart script is located at /etc/init/nmbd.conf Is there anything showing up about starting failure in /var/log/syslog, /var/log/boot.log or /var/log/samba/* ? Could you attach the information required at https://wiki.ubuntu.com/DebuggingSamba#Samba%20as%20a%20server -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
Thx thierry I can confirm this, although everything seems ok. Where is the upstart script located? -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
Raffaele: this is not an upstart project issue, that's why Scott marked it as Invalid. That would rather be a bug in the samba upstart script (samba package), if any. The nmbd upstart script has "start on (local-filesystems and net-device- up IFACE!=lo)" so it should be started when another interface goes up. Could you confirm that nmbd doesn't start automatically once you log in and wlan0 goes up ? ** Changed in: samba (Ubuntu) Importance: Undecided => Medium ** Changed in: samba (Ubuntu) Status: New => Incomplete -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
Scott, why do you think this is not a bug? The daemon fails to start at boot time and samba shares are not available. The nmbd daemon should start when network is up -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 582376] Re: Samba (nmbd) fails to start at boot
** Project changed: upstart => null ** Changed in: null Status: New => Invalid ** Also affects: samba (Ubuntu) Importance: Undecided Status: New -- Samba (nmbd) fails to start at boot https://bugs.launchpad.net/bugs/582376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs