-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Replying to message <[EMAIL PROTECTED]>
> Date: Mon, 26 Feb 2007 05:05:55 GMT > From: Danny Mayer <[EMAIL PROTECTED]> > Newsgroups: comp.protocols.time.ntp > Subject: ***SPAM*** Re: ntpd 4.2.4 crash on NetBSD/i386 > > 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 You are right that I compiled my version of 4.2.4 with debugging and IPv6 disabled, and I also built my streamlined kernel without IPv6 support. However, what you see above was actually the debug output from starting the stock ntpd 4.2.0 from a GENERIC kernel, which does enable IPv6. I would therefore expect the daemon to attempt to use IPv6 on startup. - -- Pierre Dubuc [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (NetBSD) iEYEARECAAYFAkXiwPsACgkQaMA1iJ2qYmKHxgCeM5qdDjHQIt69U8957JV+RFuu rk8An2C04dWHoskjrVj8BHhKrFu81ggf =Z6do -----END PGP SIGNATURE----- _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
