Samba log says failed on port 139

Posted on 1999-10-16
Medium Priority
Last Modified: 2011-09-20
I had Samba up and running great, then after rebooting my machine the other day it wont run. When I go into SWAT and try to start smbd and or nmbd they will not run. so i took a look at the log for smbd and it says bind failed on port 139 socket_addr=my IP address <Address already in use>. I am very new to linux so please be instructive as possible. thanx for any and all help.
Question by:tAo

Expert Comment

ID: 2133046
what makes you think it's not already running? Samba usually starts automatically at boot time and this error would indicate such.
What distribution and version are you using?

Accepted Solution

netwrkr earned 200 total points
ID: 2137168
sounds like the smb and nmb daemons didnt restart.  try this, go to a terminal (as root) and type "smb status"...it should show you smbd (pid xxx) is running and nmbd (pid xxx) is running....if not type smb start or smb restart to get it going.  also go to /usr/bin/ and type "ntsysv", ensure at the minimum have a * next to them - named (for using your box as a dns server of sorts in case you run ip masq), network, smb.  if you need to put an x next to any of those, do it, since I cant remember how to sighup the different bins, reboot the machine and see if that does it .  if it doesnt help you are going to have to provide me/us many, many more details  1. paste your log file with the error 2. what is your other computer win9x 3. paste your /etc/hosts file.  3.  can you ping the windows computer from your linux box and vice versa?

Author Comment

ID: 2139067
Thanx netwrkr I did manage to get it up and running actually through the means you have explained above. It just took a while to figure out what was going on. hehe =)

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Can you run Linux on a Windows system?  Yep.  Here's how.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

600 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