[Samba] nmbd doesn't start: Address already in use

Rainer Koslowski rainer_1983 at yahoo.de
Thu May 6 16:13:57 GMT 2004


Hello!

I have cross-compiled Samba 2.2.3a for my Dreambox(PPC
DVB receiver with Linux).
smbd runs without any problems but when I start nmbd I
get the following error message:
--------------------------------------------
standard input is not a socket, assuming -D option
open_socket_in(): setsockopt: SO_REUSEADDR = True on
port 137 failed with error = Protocol not available
Failed to set socket option SO_BROADCAST (Error
Protocol not available)
Failed to set socket option SO_BROADCAST (Error
Protocol not available)
open_socket_in(): setsockopt: SO_REUSEADDR = True on
port 137 failed with error = Protocol not available
bind failed on port 137 socket_addr = 192.168.0.100.
Error = Address already in use
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.0.100
for port 137.  Error was Address already in use
ERROR: Failed when creating subnet lists. Exiting.
--------------------------------------------

Port 137 is definitely not in use. (checked with
netstat)
I have also checked other Samba versions, although I
couldn't cross-compile all files: Same problem.

There is something said about broadcast. This should
also be configured right:
--------------------------------------------
eth0      Link encap:Ethernet  HWaddr
00:09:34:00:9E:B9
          inet addr:192.168.0.100  Bcast:192.168.0.255
 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:4774 errors:0 dropped:0
overruns:0 frame:0
          TX packets:918 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:100
          RX bytes:730422 (713.3 KiB)  TX bytes:0 (0.0
B)
          Interrupt:28 Base address:0x300
--------------------------------------------

I hope anyone can find my mistake in the log.

Thanks in advance!


	

	
		
Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de


More information about the samba mailing list