Re: ntpd cores

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 26 Jul 2004 12:33:43 -0700 (PDT)
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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Mon Jul 26 2004 - 17:33:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC