Solved

smbd and port 139

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CPU#7 stuck for 22s! 4 315
Open BDS Pf 3 52
connect an Odroid to Windows PC via ethernet cable? 14 384
reserve ip address for mac address in ubuntu dhcp server 2 92
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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