Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 10:47:39 +1000
From:      Andrew Johns <A_Johns@TurnAround.com.au>
To:        Ian Moore <imoore@hamcoll.schools.sa.edu.au>
Cc:        Mailing List Free BSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: port already in use
Message-ID:  <371BCEAB.791B0292@TurnAround.com.au>
References:  <371BCAEC.9F1A7262@hamcoll.schools.sa.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?371BCEAB.791B0292>