Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 12:33:43 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: ntpd cores
Message-ID:  <20040726123203.D32820@carver.gumbysoft.com>
In-Reply-To: <16642.25974.699439.697278@roam.psg.com>
References:  <16641.26585.367434.326919@roam.psg.com> <20040723185252.A5337@carver.gumbysoft.com> <16642.25974.699439.697278@roam.psg.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040726123203.D32820>