ntpd cores

Doug White dwhite at gumbysoft.com
Mon Jul 26 12:33:44 PDT 2004


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


More information about the freebsd-current mailing list