nmbd not starting

Joel Hammer jhammer2 at home.com
Mon Oct 22 21:38:06 GMT 2001


What do you see with netstat -anp | grep 137 ?
(Not sure if you have all those options to netstat in SCO unix.)
I would guess that you have configured inetd to watch that port already.
That would make it hard to start nmbd from the command line as a daemon.
Joel

On Tue, Oct 23, 2001 at 12:46:19PM +0800, email wrote:
> Hi,
> I have installed Samba 2.0.3 on a SCO unix server running SCO Open Server Enterprise System 5.0.2c and I am not able to get nmbd to start. See log file below. How do i find out what is using the address than nmbd attempts to bind to or how do I resolve this problem.
> 
> [2001/10/23 11:31:01, 1] nmbd/nmbd.c:(672)
>   Netbios nameserver version 2.0.3 started.
>   Copyright Andrew Tridgell 1994-1998
> [2001/10/23 11:31:01, 0] lib/util_sock.c:(671)
>   bind failed on port 137 socket_addr=0.0.0.0 (Address already in use)
> 
> smbd runs fine and I can use swat to configure various samba options. I have smbd and nmbd set in inetd.conf as per the installation instructions to run on request. Below are these files.
> 
> /etc/services
> 
> swat    stream  tcp     nowait.400      root    /usr/local/samba/bin/swat swat
> nb-ns   dgram   udp     nowait  root    /usr/local/samba/bin/nmbd
> nb-ssn  stream  tcp     wait    root    /usr/local/samba/bin/smbd  smbd
> 
> 
> /etc/inetd.conf
> 
> nb-ns           137/udp         nbns netbios-nameservice
> nb-ns           137/tcp         nbns netbios-nameservice
> nb-dgm          138/udp         nbdgm netbios-datagram
> nb-dgm          138/tcp         nbdgm netbios-datagram
> nb-ssn          139/tcp         nbssn netbios-session




More information about the samba mailing list