[Samba] nmbd dies as soon as it's started

Joel Hammer Joel at HammersHome.com
Tue Oct 22 22:22:00 GMT 2002


On Tue, Oct 22, 2002 at 11:09:43AM -0700, Darin DeCounter wrote:
Make sure the port 137 is not in use.
netstat -an | grep 137
This is often seen if inetd is watching starting up the daemons.
Joel

On Tue, Oct 22, 2002 at 11:09:43AM -0700, Darin DeCounter wrote:
> As soon as I start up the daemons using the following commands, nmbd dies.
> 
> /usr/local/samba/bin/smbd -D
> /usr/local/samba/bin/nmbd -D
> 
> When I view the nmbd.log it gives the following.  We're trying to set up 
> Samba to work over 2 subnets.  Smbd is ok and we can still mount our 
> shares.  Does anyone have any suggestions?  Thanks for any help.
> 
> [2002/10/22 10:37:55, 0] lib/util_sock.c:open_socket_in(830)
>    bind failed on port 137 socket_addr = xxx.xx.x.xxx(gateway)
>    Error = Can't assign requested address
> [2002/10/22 10:37:55, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)
> nmbd_subnetdb:make_subnet()
>    Failed to open nmb socket on interface xxx.xx.x.xxx(gateway) for port 
> 137.  Error was can't assign requested address
> [2002/10/22 10:37:55, 0] nmbd/nmbd.c:main(842)
>    ERROR: Failed when creating subnet lists. Exiting.         
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> As soon as I start up the daemons using the following commands, nmbd dies.
> 
> /usr/local/samba/bin/smbd -D
> /usr/local/samba/bin/nmbd -D
> 
> When I view the nmbd.log it gives the following.  We're trying to set up 
> Samba to work over 2 subnets.  Smbd is ok and we can still mount our 
> shares.  Does anyone have any suggestions?  Thanks for any help.
> 
> [2002/10/22 10:37:55, 0] lib/util_sock.c:open_socket_in(830)
>    bind failed on port 137 socket_addr = xxx.xx.x.xxx(gateway)
>    Error = Can't assign requested address
> [2002/10/22 10:37:55, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)
> nmbd_subnetdb:make_subnet()
>    Failed to open nmb socket on interface xxx.xx.x.xxx(gateway) for port 
> 137.  Error was can't assign requested address
> [2002/10/22 10:37:55, 0] nmbd/nmbd.c:main(842)
>    ERROR: Failed when creating subnet lists. Exiting.         
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list