Mailinglist Archive: opensuse-bugs (14787 mails)

< Previous Next >
[Bug 218726] NTP time update problems
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 28 Nov 2006 03:29:48 -0700 (MST)
  • Message-id: <20061128102948.0A56725C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=218726


misc@xxxxxxxxxxxx changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|misc@xxxxxxxxxxxx |




------- Comment #24 from misc@xxxxxxxxxxxx 2006-11-28 03:29 MST -------
(I will do comment #23, this is a reply to #22)

Please don't give up so fast. Its a major problem for us when our GPS
processing servers have incorrect time. That others don't report or you cannot
reproduce it does not mean anything, as like showed in #20 it surely depends on
some not yet known condition and the server time is noncritical for most
applications (and thus most wont notice problems).

You at least know more than me about the topic, so you can give advice how to
proceed. There are surely logs to enable or debug output to produce, which can
shed light on this issue. At least until we know if it is a system
configuration or an NTP issue.

For a test I disabled the usage of local clock in NTP and still have the same
results.

I started the xntpd by hand using "xntpd -d -D9" (with local clock disabled)
and got following (for me this looks as if NTP never gets the NTP packets from
the other side, although they arrive). Probably the networking code has some
side effects? Maybe getting EINTR is not handled correctly (or at all).

Debug1: 9 -> 9 = 9
ntpd 4.2.0a@xxxxxxxx Thu Jun 29 18:00:55 UTC 2006 (1)
Debug1: 9 -> 9 = 9
addto_syslog: ntpd 4.2.0a@xxxxxxxx Thu Jun 29 18:00:55 UTC 2006 (1)
adding new filegen
adding new filegen
adding new filegen
adding new filegen
adding new filegen
adding new filegen
addto_syslog: set_process_priority: Leave priority alone: priority_done is <2>
addto_syslog: precision = 1.000 usec
create_sockets(123)
address_okay: listen Virtual: 1, IF name: lo, Up Flag: 1
address_okay: listen Virtual: 1, IF name: eth0, Up Flag: 1
bind() fd 5, family 2, port 123, addr 0.0.0.0, flags=8
flags for fd 5: 04002
addto_syslog: Listening on interface wildcard, 0.0.0.0#123
bind() fd 6, family 10, port 123, addr ::, flags=0
flags for fd 6: 04002
addto_syslog: Listening on interface wildcard, ::#123
bind() fd 7, family 2, port 123, addr 127.0.0.1, flags=0
flags for fd 7: 04002
addto_syslog: Listening on interface lo, 127.0.0.1#123
bind() fd 8, family 2, port 123, addr 192.168.1.102, flags=8
flags for fd 8: 04002
addto_syslog: Listening on interface eth0, 192.168.1.102#123
create_sockets: ninterfaces=4
interface 0: fd=5, bfd=-1, name=wildcard, flags=0x8, scope=0
sin=0.0.0.0 bcast=0.0.0.0, mask=255.255.255.255
interface 1: fd=6, bfd=-1, name=wildcard, flags=0x0, scope=0
sin=:: mask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
interface 2: fd=7, bfd=-1, name=lo, flags=0x5, scope=0
sin=127.0.0.1 mask=255.0.0.0
interface 3: fd=8, bfd=-1, name=eth0, flags=0x9, scope=0
sin=192.168.1.102 bcast=192.168.1.255, mask=255.255.255.0
init_io: maxactivefd 8
local_clock: time 0 clock 0.000000 offset 0.000000 freq 0.000 state 0
Debug2: 9 -> 9 = 9
getaddrinfo ptbtime1.ptb.de
getnetnum given ptbtime1.ptb.de, got 192.53.103.108
key_expire: at 0
peer_clear: at 0 assoc ID 34932 refid INIT
newpeer: 192.168.1.102->192.53.103.108 mode 3 vers 4 poll 6 10 flags 0x1 0x1
ttl 0 key 00000000
getaddrinfo ptbtime2.ptb.de
getnetnum given ptbtime2.ptb.de, got 192.53.103.104
key_expire: at 0
peer_clear: at 0 assoc ID 34933 refid INIT
newpeer: 192.168.1.102->192.53.103.104 mode 3 vers 4 poll 6 10 flags 0x1 0x1
ttl 0 key 00000000
authtrust: keyid 0000ffff life 1
report_event: system event 'event_restart' (0x01) status 'sync_alarm,
sync_unspec, 1 event, event_unspec' (0xc010)
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
MCAST *****sendpkt(fd=8 dst=192.53.103.108, src=192.168.1.102, ttl=0,
len=48)
transmit: at 1 192.168.1.102->192.53.103.108 mode 3
poll_update: at 1 192.53.103.108 flags 0001 poll 6 burst 0 last 1 next 67
auth_agekeys: at 1 keys 1 expired 0
timer: refresh ts 0
getrecvbufs called, no action here
input_handler: if=3 fd=8 length 48 from c035676c 192.53.103.108
addto_syslog: input_handler: Processed a gob of fd's in 0.103000 msec

getrecvbufs returning 1 buffers
receive: at 1 192.168.1.102<-192.53.103.108 restrict 002
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
MCAST *****sendpkt(fd=8 dst=192.53.103.104, src=192.168.1.102, ttl=0,
len=48)
transmit: at 2 192.168.1.102->192.53.103.104 mode 3
poll_update: at 2 192.53.103.104 flags 0001 poll 6 burst 0 last 2 next 67
getrecvbufs called, no action here
input_handler: if=3 fd=8 length 48 from c0356768 192.53.103.104
addto_syslog: input_handler: Processed a gob of fd's in 0.078000 msec

getrecvbufs returning 1 buffers
receive: at 2 192.168.1.102<-192.53.103.104 restrict 002
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: ntpd exiting on signal 2


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References