Problems starting smbd as a daemon

Simon Hyde shyde at
Wed Nov 5 13:57:36 GMT 1997

On Wed, 5 Nov 1997 22:16:52 +1100, you wrote:

>Hello Everyone,
>I have installed samba-1.9.17p4 on a linux 2.0.29 box, but the server work
>correctly only as a client. Testparm runs ok, but when i try to list the
>shares available on my server, this is the output:
>Added interface ip = bcast = nmask =
>Session request failed (0,0) with myname = DNS2 destname = DNS2 
>Unspecified error 0x0
>Your server software is being unfriendly

This just means smbd isn't running

>I try to start smbd and nmbd as a daemon, but only the nmbd runs. This is
>the error message in the log file:
>Added interface ip = bcast = nmask =
> bind failed on port 139 socket_addr = 0 (Address already in
>I looked at my /etc/services what is defined at port 139 and i think
>everything is correct.
>No problems for me whith my network in all other cases.
>What i'm doing wrong?
>Can anyone help me?
>Thanks. Laura 

You have something else (say a dead or old version of samba, or a totally
different program) running on port 139, try rebooting your machine. If you
still can't fire up smbd as a daemon then take a look in your inetd.conf
and startup scripts and see whether there is anything else that might be
binding to port 139.

More information about the samba mailing list