Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 01:46:47 -0800
From:      chip wiegand <chip@wiegand.org>
To:        freebsd-questions@freebsd.org <freebsd-questions@freebsd.org>
Subject:   samba fails - port already in use problem
Message-ID:  <20021130014647.2d9b9d8a.chip@wiegand.org>

next in thread | raw e-mail | index | archive | help
I just installed samba from the ports and set up the smb.conf file by,
initially,  setting only the workgroup name to match my home network.
I then tried to start samba but it fails with these messages -

-bash-2.05b$ tail log.smbd
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/11/30 00:55:24, 0] lib/util_sock.c:open_socket_in(804)
  bind failed on port 139 socket_addr = 0.0.0.0.
  Error = Address already in use
[2002/11/30 01:28:16, 0] smbd/server.c:main(707)
  smbd version 2.2.7 started.   
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/11/30 01:28:16, 0] lib/util_sock.c:open_socket_in(804)
  bind failed on port 139 socket_addr = 0.0.0.0.
  Error = Address already in use

What else could be using port 139? And how do I fix this? I tried a
search of the lists on google but came up with no relevant answers.
Thanks,
Chip

-- My smb.conf file --

[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
   workgroup = HOMENET

# server string is the equivalent of the NT Description field
   server string = Chip

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/log.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes

[mp3s]
   comment = My MP3's directory
   path = /usr/mp3s
   read only = no
   public = yes



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021130014647.2d9b9d8a.chip>