[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
*** This bug is a duplicate of bug 180493 *** https://bugs.launchpad.net/bugs/180493 an effective workaround is to have a small script at /etc/network/if- up.d/start-samba.sh that simply contains the lines: #!/bin/bash /etc/init.d/samba restart -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 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
Re: [Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
*** This bug is a duplicate of bug 180493 *** https://bugs.launchpad.net/bugs/180493 On Tue, Jan 22, 2008 at 11:43:49PM -, phirestalker wrote: > UPDATE: the S92 fix does not work all the time there is seriously > something else wrong here for the network to STILL not be up by S92. The problem is that the network doesn't get configured until you login. That's the magic of network manager. Since nmbd doesn't find a network, it exits. The fix is to let nmbd stay alive even though there is no network to serve requests for. There is already a bug about this. Marking as duplicate. duplicate 180493 -- Soren Hansen Ubuntu Server Team http://www.ubuntu.com/ ** This bug has been marked a duplicate of bug 180493 nmbd shuts down when network disconnected -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
UPDATE: the S92 fix does not work all the time there is seriously something else wrong here for the network to STILL not be up by S92. -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
ok fixed and working with S92 this seems like an ugly workaround for now, as the problem is really caused by the interaction of dhcdbd and networkmanager. As I mentioned before dhcdbd starts S24 which should be WAY before S50 where I moved samba to originally, I did not see any errors which would explain this odd behavior in daemon.log but I will upload it anyway. Let me know if I need to file a bug with networkmanager or dhcdbd instead. Thanks ** Attachment added: "daemon.log" http://launchpadlibrarian.net/11320493/daemon.log -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
I moved samba to friggin S70 and now networkmanager gets it's address EVEN LATER?!?!?! what the hell is going on? I'm going to reboot one more time with S70 as it may have been a fluke, better yet I'll shut down for a few seconds to let the networking equipment realize I'm gone before booting back up. -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
alright that didn't work, it looks like dhcdbd starts too late in the game still even thought it starts at S24 which is before networking, networkmanager tries at least 25 times to load eth0 before dhcdbd starts allowing networkmanager to finish. I'm not sure what to try next, instead of messing with orders of other programs I think I will just move samba even later, although if these other programs were cleaned up somehow and it didn't have to try 25 times the system may boot a little faster too?? If anyone has any suggestions let me know -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
ok I think if I change one number in postinst in the deb file it will probably start without problem I will try editing it and then reinstalling. ** Attachment added: "modified postinst" http://launchpadlibrarian.net/11319207/postinst -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
samba is at S20 and dhcdbd is S24 so it seems as though samba is indeed trying to use a network that is not yet configured. -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
I found these lines in /var/log/daemon.log Jan 9 21:57:07 localhost nmbd[6073]: [2008/01/09 21:57:07, 1] param/loadparm.c:lp_do_parameter(3517) Jan 9 21:57:07 localhost nmbd[6073]: WARNING: The "printer admin" option is deprecated Jan 9 21:57:07 localhost nmbd[6094]: [2008/01/09 21:57:07, 0] nmbd/nmbd_subnetdb.c:create_subnets(245) Jan 9 21:57:07 localhost nmbd[6094]: create_subnets: unable to create any subnet from given interfaces. nmbd is terminating Jan 9 21:57:07 localhost nmbd[6094]: [2008/01/09 21:57:07, 0] nmbd/nmbd.c:main(771) Jan 9 21:57:07 localhost nmbd[6094]: ERROR: Failed when creating subnet lists. Exiting. I noticed that after these lines the network manager is still bringing up the eth0 interface, perhaps smbd is now being started too early in the boot process??? hope this helps -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
I have tried nmbd as root and also nmbd -D even though the man page says -D is default operation, and one time it started and then it died without crashing as far as I know (no crash file in /var/crash) and another time it was running but didn't fix the problem, I imagine the time it died was a fluke as it only happened once. On Sat, 2008-01-05 at 00:06 +, jtholmes wrote: > thank you for your report > > can you detail the command you tried to use to start nmbd/smbd? > > ** Changed in: samba (Ubuntu) > Sourcepackagename: None => samba > -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 177802] Re: samba: nmbd no longer starts automatically after gutsy upgrade
thank you for your report can you detail the command you tried to use to start nmbd/smbd? ** Changed in: samba (Ubuntu) Sourcepackagename: None => samba -- samba: nmbd no longer starts automatically after gutsy upgrade https://bugs.launchpad.net/bugs/177802 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs