[Samba] Need help troubleshooting nmbd -D

John H Terpstra jht at samba.org
Fri May 30 05:56:29 GMT 2003


Stacy,

Are you trying to run nmbd as root or logged in as a non-root user?

- John T.


On Fri, 30 May 2003, Ryan Novosielski wrote:

> I think he meant inetd or xinetd. Check /etc/inetd.conf or ummm... I don't
> use xinetd, but I think it's /etc/xinetd.d and look for a script that may
> be running nmbd (probably "samba).
>
> ---- _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
> |$&| |__| |  | |__/ | \| _|  | novosirj at umdnj.edu - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
>
> On Tue, 20 May 2003, Joel Hammer wrote:
>
> > This usual cause is that there is another instance of nmbd running.
> > Or xinit or init is configured to start nmbd and is locking the port.
> > Joel
> >
> > Tue, May 20, 2003 at 03:11:38PM -0400, Stacy Gaddy wrote:
> > > I get the following log when trying to run nmbd -D
> > >
> > >   Netbios nameserver version 2.2.3a started.
> > >   Copyright Andrew Tridgell and the Samba Team 1994-2002
> > > [2003/05/20 15:02:44, 0] lib/util_sock.c:open_socket_in(789)
> > >   bind failed on port 137 socket_addr = 10.10.50.4.
> > >   Error = Cannot assign requested address
> > > [2003/05/20 15:02:44, 0] nmbd/nmbd_subnetdb.c:make_subnet(140)
> > > nmbd_subnetdb:make_subnet()
> > >   Failed to open nmb socket on interface 10.10.50.4 for port 137.  Error was
> > > Cannot assign requested address
> > > [2003/05/20 15:02:44, 0] nmbd/nmbd.c:main(861)
> > >   ERROR: Failed when creating subnet lists. Exiting.
> > >
> > > Does anyone know what causes this error?
> > >
> > > Stacy Gaddy
> > > CTO
> > > Applied Technology Solutions
> > > gaddyms at atscorporation.com
> > >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list