From owner-freebsd-questions Mon Apr 19 17:49:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (Postfix) with ESMTP id 0BFE9156C8 for ; Mon, 19 Apr 1999 17:49:34 -0700 (PDT) (envelope-from A_Johns@TurnAround.com.au) Received: from TurnAround.com.au (dhcp64.turnaround.com.au [192.168.1.64]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with ESMTP id KAA14750; Tue, 20 Apr 1999 10:55:35 +1000 (EST) (envelope-from A_Johns@TurnAround.com.au) Message-ID: <371BCEAB.791B0292@TurnAround.com.au> Date: Tue, 20 Apr 1999 10:47:39 +1000 From: Andrew Johns Organization: TurnAround Solutions P/L X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Ian Moore Cc: Mailing List Free BSD Questions Subject: Re: port already in use References: <371BCAEC.9F1A7262@hamcoll.schools.sa.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ian Moore wrote: > > Hi, > Hope someone might have an answer for this - when I try to start smbd on > my server, I get the following error in the log file: > bind failed on port 139 socket_addr=0 (Address already in use) > and smbd unloads > > When I run nmbd, I get a similar message: > bind failed on port 137 socket_addr=0 (Address already in use) > but it remains loaded. ps shows: > 14945 ?? Ss 0:00.64 nmbd > > /etc/services has the following line: > netbios-ssn 139/udp #NETBIOS Session Service > > ps shows that there are no other instances of smbd or nmbd running. > > My question is, how can I tell what may be using ports 139 & 137? > Thanks for any help, man netstat is your friend....especially the -a option. I'm guessing that inetd is already listening on those port numbers... -- Regards | _/\_/\ Andrew Johns BSc (Comp Sci) | / \ TurnAround Solutions Pty Ltd | \_...__/ http://www.turnaround.com.au/ | \/ "The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message