Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bind failed on port 139 socket_addr0.0.0.0 (Address already in use)

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
IE
I have installed samba 2.0.7 on 2 totally seperate machines. On one machine it works file but on the other I get the above message in log.smb whenever i start the smbd daemon, The smbd daemon then dies.
 
hi

usually samba daemon smbd/nmbd picks up the first interface on the system.
so you can check to see that the interface is configured properly. If it is (which i guess will be), try using the option

interfaces = xxx.xxx.xxx.xxx/xx
bind interfaces only = yes

and also try raising the log level to 3 to see what the daemons are complaing about

 
bhupi70,

I am having same problem as keenanbr. This is my
very first install ever and I am following a book
but there is no assistance with potential problems
such as this.

I am guessing that based on your suggestions, these
entries belong in smb.conf under [global] !!! ???

Questions:
a) How does one check if interface is properly configured?
If you are referring to TCP/IP and LAN connection and
such, I am OK in that area ...

b) Is your sample a range of IP addresses?
My localhost IP is 192.168.1.5 and I use WIN2K and
WIN98 with IPs below and above my host. What would I
need to enter as value for interfaces?

c) As per the book, I tried smbclient -U% -L localhost
and I get:
--
added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
session setup failed: NT_STATUS_LOGON_FAILURE
--

What does this mean? I checked /usr/local/samba/var
log.nmbd and it appears to be OK. Hoever, log.smbd
has

--
[2003/06/02 08:22:28, 0] smbd/server.c:main(791)
smbd version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/06/02 08:28:37, 0] smbd/server.c:main(791)
smbd version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
--

over and over again ... It appears to add a line every
while and at this rate, I am afraid this file is going
to grow out of control.

What can you suggest I do?

Thanks;


Jose Lerebours



KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
The port 139 is already in use. You have to suppress the Netbios protocol inorder to make samba happy.

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top