Subject: Re: how to tell whats running on port 53
To: Mark R. Nathan <mark@nathan.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 06/24/2000 13:02:20
On Fri, Jun 23, 2000 at 02:23:30PM -0700, Mark R. Nathan wrote:
> was hoping to use this to determine what else is taking up port 53..
> since I get the same error in named all the time:
>
> bind (dfd=20, [209.xxx.xx.46]53) Address in use
> bind (dfd=20, [209.xxx.xx.46]53) Address in use
> deleting interface [209.xxx.xx.46].53
> not listening on any interfaces
>
>
> I have taken to installing lsof but getting that to compile correctly
> for me newbie is another story. that is:
>
> (cd lib; make DEBUG="-0" CFGF="DNETBSDV"=1040
> -DN_UNIXV=/netbsd-DLSOF_VSTR=\"1.4.2"")
>
> cc - DNETBSDV=1040 -DN_UNIXV=/netbsd-DLSOF_VSTR="1.4.2" -0 ckkv.c
> cc: not found
> ***Error code 127
did you install the comp set ?
>
> Stop
>
>
> is there another method (simpler would be be great!) to finding and
> killing the process for good?
type 'netstat -aA' and note the PCB for the socket listenning on port 53.
Then type fstat and look for the PCB.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--