[CentOS] nmbd dead but pid file exists

Craig White craigwhite at azapple.com
Mon Feb 11 14:40:57 UTC 2008


On Mon, 2008-02-11 at 09:55 +0000, Anne Wilson wrote:
> On Sunday 10 February 2008 22:25, Craig White wrote:
> > On Sun, 2008-02-10 at 22:04 +0000, Anne Wilson wrote:
> > > I'm having a lot of problems with nmbd quitting while I'm working. 
> > > 'service smb status' shows samba running, but 'nmbd dead but pid file
> > > exists'.  Log files show lines like
> > >
> > > nmbd/nmbd.c:reload_interfaces(229)
> > >   reload_interfaces: No subnets to listen to. Shutting down...
> > >
> > > Googling hasn't come up with anything helpful.  Has anyone any idea what
> > > is happening and what I can do about it?
> >
> > ----
> > in /etc/samba/smb.conf
> >
> > what do you have for settings?
> >
> > bind interfaces only = ?
> Line doesn't exist
> 
> > hosts allow = ?
> hosts allow = 127. 192.168.0.
> 
> > wins support = ?
> > wins server = ?
> 
> Neither exist, other than in original commented lines
> >
> > (note the last 2 are mutually exclusive and both should not be set)
> >
----
I don't know the exact issues that would cause an error message of 'no
subnets to listen to' but generally, it is expected that if your
192.168.0 network, that would be a class 'C' network (255.255.255.0
subnet mask) and thus a broadcast address of 192.168.0.255 would be
assumed for wins traffic.

Perhaps you have some other subnet mask in use (255.255.254.0) or
whatever, but if you are not running a wins server on your lan and this
samba server is pretty much the master server, you could easily just
add...

wins support = yes

which would probably solve the error you are getting. This is simply a
guess.

Craig




More information about the CentOS mailing list