[ntp:questions] ***SPAM*** Re: ntpd 4.2.4 crash on NetBSD/i386

Danny Mayer mayer at ntp.isc.org
Mon Feb 26 05:05:55 UTC 2007


Pierre Dubuc wrote:
> 
> Debug1: 2 -> 2 = 2
> ntpd 4.2.0-r Tue Oct 31 03:50:01 UTC 2006 (1)
> Debug1: 2 -> 2 = 2
> addto_syslog: ntpd 4.2.0-r Tue Oct 31 03:50:01 UTC 2006 (1)
> addto_syslog: set_process_priority: Leave priority alone: priority_done is 
> <2>
> addto_syslog: precision = 1260.000 usec
> create_sockets(123)
> addto_syslog: no IPv6 interfaces found
> bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=8
> flags for fd 4: 0106
> bind() fd 5, family 2, port 123, addr 192.168.3.41, flags=8
> flags for fd 5: 0106
> bind() fd 6, family 2, port 123, addr 127.0.0.1, flags=0
> flags for fd 6: 0106
> create_sockets: ninterfaces=3
> interface 0:  fd=4,  bfd=-1,  name=wildcard,  flags=0x8
>                 sin=0.0.0.0  bcast=0.0.0.0,  mask=255.255.255.255
> interface 1:  fd=5,  bfd=-1,  name=we1,  flags=0x9
>                 sin=192.168.3.41  bcast=192.168.3.255,  mask=255.255.255.0
> interface 2:  fd=6,  bfd=-1,  name=lo0,  flags=0x5
>                 sin=127.0.0.1  mask=255.0.0.0
> init_io: maxactivefd 6
> local_clock: time 0 offset 0.000000 state 0
> Debug2: 2 -> 2 = 2
> addto_syslog: frequency initialized 0.000 PPM from /etc/ntp.drift
> local_clock: time 0 offset 0.000000 state 1
> getnetnum given 192.168.3.14, got 192.168.3.14
> key_expire: at 0
> peer_clear: at 0 assoc ID 44148 refid INIT
> newpeer: 192.168.3.41->192.168.3.14 mode 3 vers 4 poll 6 10 flags 0x201 
> 0x1 ttl 0 key 00000000
> getnetnum given localhost, got ::1

You shouldn't be getting this since you are not running IPv6. This may
be the cause of your crash. Please upgrade to 4.2.4 at least. Check if
you have localhost defined in your hosts file or if your local DNS has
it defined.

What does the line look like in your config file that uses localhost?
Why are you using it at all?


Danny



More information about the questions mailing list