Solved

smbd and port 139

Posted on 1998-01-11
2
505 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 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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