From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 20:02:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 708BA16A4CE for ; Mon, 26 Jul 2004 20:02:13 +0000 (GMT) Received: from psg.com (psg.com [147.28.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F60443D1F for ; Mon, 26 Jul 2004 20:02:13 +0000 (GMT) (envelope-from randy@psg.com) Received: from [147.28.0.39] (helo=rip.psg.com) by psg.com with esmtp (Exim 4.41 (FreeBSD)) id 1BpBfp-000BAa-42; Mon, 26 Jul 2004 20:02:13 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtp (Exim 4.41 (FreeBSD)) id 1BpBfo-0005dK-R4; Mon, 26 Jul 2004 20:02:13 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com.psg.com) by roam.psg.com with esmtp (Exim 4.40 (FreeBSD)) id 1BpBfo-000GFt-GZ; Mon, 26 Jul 2004 10:02:12 -1000 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16645.25411.371759.61407@roam.psg.com> Date: Mon, 26 Jul 2004 10:02:11 -1000 To: Doug White References: <16641.26585.367434.326919@roam.psg.com> <20040723185252.A5337@carver.gumbysoft.com> <16642.25974.699439.697278@roam.psg.com> <20040726123203.D32820@carver.gumbysoft.com> cc: FreeBSD Current Subject: Re: ntpd cores X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 20:02:13 -0000 > Return-path: > Received: from psg.com ([147.28.0.62] ident=mailnull) > by rip.psg.com with esmtp (Exim 4.41 (FreeBSD)) > id 1BpBEG-0004ym-7n > for randy@rip.psg.com; Mon, 26 Jul 2004 19:33:44 +0000 > Received: from [66.220.23.50] (helo=carver.gumbysoft.com) > by psg.com with esmtp (Exim 4.41 (FreeBSD)) > id 1BpBEG-0006tb-0c > for randy@psg.com; Mon, 26 Jul 2004 19:33:44 +0000 > Received: by carver.gumbysoft.com (Postfix, from userid 1000) > id CBC1172DF2; Mon, 26 Jul 2004 12:33:43 -0700 (PDT) > Received: from localhost (localhost [127.0.0.1]) > by carver.gumbysoft.com (Postfix) with ESMTP > id C66E072DB5; Mon, 26 Jul 2004 12:33:43 -0700 (PDT) > In-Reply-To: <16642.25974.699439.697278@roam.psg.com> > Message-ID: <20040726123203.D32820@carver.gumbysoft.com> > References: <16641.26585.367434.326919@roam.psg.com> <20040723185252.A5337@carver.gumbysoft.com> > <16642.25974.699439.697278@roam.psg.com> > MIME-Version: 1.0 > Content-Type: TEXT/PLAIN; charset=US-ASCII > X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on rip.psg.com > Date: Mon, 26 Jul 2004 12:33:43 -0700 (PDT) > From: Doug White > To: Randy Bush > Cc: FreeBSD Current > Subject: Re: ntpd cores > > On Sat, 24 Jul 2004, Randy Bush wrote: > > > >> i manually run > > >> > > >> roam.psg.com# netstat -nf inet | grep 123 > > >> roam.psg.com# ntpd -g -p /var/run/ntpd.pid > > >> > > >> Jul 23 09:29:34 roam ntpd[35055]: mlockall(): Resource temporarily unavailable > > >> Jul 23 09:29:34 roam ntpd[35055]: no IPv6 interfaces found > > >> Jul 23 09:29:34 roam ntpd[35055]: bind() fd 5, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=8 fails: Address already in use > > >> Jul 23 09:29:37 roam kernel: pid 35055 (ntpd), uid 0: exited on signal 11 (core dumped) > > > > > > The coredump is kinda fun, but the "Addresss already in use" error implies > > > you're starting ntpd twice somewhere. > > > > yep. except see the netstat run just before invoking ntpd. ps shows > > the same, no prior ntpd. > > netstat -n -f inet doesn't show everything. Try netstat -an. > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org # netstat -an Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.103.58614 147.28.0.41.443 ESTABLISHED tcp4 0 0 192.168.0.103.63554 147.28.0.41.443 ESTABLISHED tcp4 0 0 192.168.0.103.55507 209.20.186.192.22 ESTABLISHED tcp4 0 0 192.168.0.103.64385 147.28.0.62.22 ESTABLISHED tcp4 0 0 192.168.0.103.50412 147.28.0.62.5222 ESTABLISHED tcp4 0 0 192.168.0.103.51749 147.28.0.254.22 ESTABLISHED tcp4 0 0 192.168.0.103.62339 147.28.0.62.22 ESTABLISHED tcp4 0 0 192.168.0.103.56714 147.28.0.63.22 ESTABLISHED tcp4 0 0 192.168.0.103.50259 147.28.0.39.22 ESTABLISHED tcp4 0 0 192.168.0.103.50002 147.28.0.5.22 ESTABLISHED tcp4 0 0 127.0.0.1.20025 *.* LISTEN tcp4 0 0 192.168.0.103.60663 147.28.0.39.22 ESTABLISHED tcp4 0 0 192.168.0.103.55969 147.28.255.2.22 ESTABLISHED tcp4 0 0 192.168.0.103.56006 147.28.0.4.22 ESTABLISHED tcp4 0 0 192.168.0.103.57548 147.28.0.39.22 ESTABLISHED tcp4 0 0 192.168.0.103.57598 147.28.0.39.22 ESTABLISHED tcp4 0 0 127.0.0.1.783 *.* LISTEN tcp4 0 0 *.25 *.* LISTEN tcp4 0 0 127.0.0.1.953 *.* LISTEN tcp4 0 0 127.0.0.1.53 *.* LISTEN tcp4 0 0 *.22 *.* LISTEN tcp4 0 0 *.515 *.* LISTEN udp4 0 0 *.68 *.* udp4 0 0 *.67 *.* udp4 0 0 *.61199 *.* udp4 0 0 127.0.0.1.53 *.* udp4 0 0 *.514 *.* icm4 0 0 *.* *.* # ntpd -g -p /var/run/ntpd.pid and syslog Jul 26 10:01:28 roam ntpd[62483]: mlockall(): Resource temporarily unavailable Jul 26 10:01:28 roam ntpd[62483]: no IPv6 interfaces found Jul 26 10:01:28 roam ntpd[62483]: bind() fd 6, family 2, port 123, addr 0.0.0.0, in_classd=0 flags=8 fails: Address already in use Jul 26 10:01:31 roam kernel: pid 62483 (ntpd), uid 0: exited on signal 11 (core dumped) randy