Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

smbd and port 139

Posted on 1998-01-11
2
Medium Priority
?
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 800 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

719 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