From owner-freebsd-questions Sat Nov 30 13:46:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06C8237B401 for ; Sat, 30 Nov 2002 13:46:12 -0800 (PST) Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B27F43EB2 for ; Sat, 30 Nov 2002 13:46:11 -0800 (PST) (envelope-from chip@wiegand.org) Received: from chipster.wiegand.org [66.114.152.128] by pioneernet.net with ESMTP (SMTPD32-6.06) id A19849B40140; Sat, 30 Nov 2002 13:46:00 -0800 Date: Sat, 30 Nov 2002 01:46:47 -0800 From: chip wiegand To: freebsd-questions@freebsd.org Subject: samba fails - port already in use problem Message-Id: <20021130014647.2d9b9d8a.chip@wiegand.org> Organization: Alternative Operating Systems X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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