Solved

smbd and port 139

Posted on 1998-01-11
2
458 Views
Last Modified: 2008-03-17
Hi !
I´ve just installed samba upon my linux kernel 2.0.29, Slakware. I´m running quota, sendmail, httpd and all that ordinary stuff (lpd, telnetd etc) Now - when I tried to install samba (which i have done plenty of times) it didn´t work. I did not get any errormessages while compiling it and I can se the linux-box in my workgroup-net, but I cant get access anything. The only different from the other times when I installed samba is that now I´m out at the big internet with my linux-box. I think smbd is using the same port as some other deamon, that is port 139.
In log. , and nmb.log and smb.log I get the message: "Bind failed at port 139 socket_addr=0 (Address already in use)
What shall I do???

Regards
Claes Lindvall
0
Comment
Question by:cl071997
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 200 total points
ID: 1587295
Figure out what daemon is binding to port 139 and kill it.
If it isn't some daemon running (check with ps ax), it is probably your inet daemon. Go to your /etc/services file, find out what the name is of the service on port 139 (usually netbios-ssn), then go to your /etc/inetd.conf and check if there is an entry for this service. If so, comment it with a hash (#), and give your inetd the HUP signal to make it re-read its configuration (get the pid with ps ax | grep inetd, then restart it with kill -HUP <pid>.

Alex.
0
 

Author Comment

by:cl071997
ID: 1587296
Thanks.
In inetd.conf there was a line prepared for samba. Netbios ssn were there and took the address. I # the line and what a difference.
Thank you once again.
Claes Lindvall
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now