samba broken

NoOp glgxg at sbcglobal.net
Wed Sep 14 18:29:26 UTC 2011


On 08/26/2011 11:00 AM, Linda wrote:
> k 10.10, but I think should be the same on 10.04:
>> Is nmbd running?
>>
>> $ service nmbd status
>>
>> should appear as:
>> $ service nmbd status
>> nmbd start/running, process<pid>
>>
> 
> 
> Thank you nmbd was not running that was the problem. The 
> simplest solutions are always the ones we try last!
>                      Linda

Linda, if you are finding that nmbd is not starting on boot, have a look at:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/582376
[Samba (nmbd) fails to start at boot]

I had/have a similar problem with smbd on my laptop only in the reverse;
nmbd was starting, smbd was not. The samba logs were showing:

Unable to connect to CUPS server localhost:631 - Network is unreachable

So I modified my /etc/init/smbd.conf by commenting out:

start on local-filesystems

and inserting:

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

and now both are working fine on reboot.

Added refs:

https://bugs.launchpad.net/ubuntu/+source/samba/+bug/836849
[Samba starts before static IPs set in network manager]
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/374589
[Samba fails to start at boot when not connected to network (and
specific interfaces are configured)]

>From those same bug reports I found a handy command that shows the
status of all upstart daemons:

$ initctl list

http://manpages.ubuntu.com/manpages/maverick/en/man8/initctl.8.html








More information about the ubuntu-users mailing list