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

Ryan Novosielski novosirj at umdnj.edu
Mon May 17 16:20:43 GMT 2004


You might try making sure that nmbd is not in /etc/inetd.conf if you
haven't already.

---- _  _ _  _ ___  _  _  _
|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 Thu, 6 May 2004, Rainer Koslowski wrote:

> 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
> --
> 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