ntp debugging output

Joel Hammer joel
Mon May 17 12:00:47 PDT 2004


I am still trying to figure out what's wrong with ntp on one of my
machines.

I couldn't get any debugging output with the debian supplied binary,
since it was not built for debugging.

So, I downloaded the sources and built ntp. Here
is a sample of what I get output to the screen, not
/var/log/messages, when I run ntpd -D3

addto_syslog: frequency initialized -109.107 PPM from /var/lib/ntp/ntp.drift
local_clock: at 0 state 1
getnetnum given jhammer6, got 192.168.1.6
peer_clear: at 0 assoc ID 60500 refid INIT
newpeer: 192.168.1.11->192.168.1.6 mode 3 vers 4 poll 6 10 flags 0x1 0x1 ttl 0 key 00000000
----more stuff----
addto_syslog: select(): nfound=-1, error: Interrupted system call
addto_syslog: select(): nfound=-1, error: Interrupted system call
------more stuff----

Nothing ever gets written to the /var/log/messages, except
one line that says:
 ntpd: logging to file p

The file p gets created in /var/log, but nothing gets
saved to p in /var/log, however.

Any insight appreciated,

Joel




More information about the Linux-users mailing list