Solved

smbd and port 139

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

21 Experts available now in Live!

Get 1:1 Help Now