[Samba] nmbd won't bind on FreeBSD 5.2-RELEASE sparc64

wob-samba wob-samba at bonch.org
Fri Mar 19 05:44:10 GMT 2004


I have had samba 3.0 running on my FreeBSD 5.2 sparc64 system for
a few weeks without any issues.

Recently I had to reboot, and now nmbd won't run. I have NOT changed
my config one bit. 

I have verified nothing is bound to port 137 via netstat -an .

The error is as follows:

[2004/03/19 05:20:10, 0] lib/util_sock.c:open_socket_in(646)
  bind failed on port 137 socket_addr =
  Error = Can't assign requested address
[2004/03/19 05:20:10, 0] nmbd/nmbd_subnetdb.c:make_subnet(126)
  Failed to open nmb socket on interface for port 137.  Error was Can't assign requested address
[2004/03/19 05:20:10, 0] nmbd/nmbd.c:main(732)
  ERROR: Failed when creating subnet lists. Exiting. is the samba server's IP address.

The freebsd kernel version is the following:

FreeBSD grundo.bonch.org 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 06:09:12 GMT 2004     root at bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  sparc64

The following is my samba config, I ran testparm against it and
saw no errors or misconfigurations.

   workgroup = BONCH
   server string = grundo
   log file = /var/log/log.%m
   max log size = 50
   security = user
   socket options = TCP_NODELAY
   local master = yes
   domain master = yes
   preferred master = yes
   dns proxy = no
   comment = Home Directories
   browseable = no
   writeable = yes
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writeable = no
   printable = yes
   comment = Temporary file space
   path = /export/tmp
   read only = no
   public = yes
   comment = music
   path = /export/music
   public = yes
   writeable = yes
   printable = no
   create mask = 0765

Any suggestions would be greatly appreciated.

wob at bonch.org

More information about the samba mailing list