[ntp:questions] xntpd hanging
Clive George
clive at xxxx-x.fsnet.co.uk
Mon Sep 10 09:06:39 UTC 2007
"Jason Rabel" <jason at extremeoverclocking.com> wrote in message
news:000001c7f353$fede11b0$5001a8c0 at Inspiron...
> Which version of NTP are you using? Any output from the debug or syslog?
I'm running the one which came with our version of AIX 5.3 - I did try
looking for a version command before asking the question :-) Any ideas how
to find out?
xntpd -l /home/cg5/a.a -dddddddddd
stdout/stderr output from that is some
systime: adjtv = 0.000000 sec, adjts = 0.000000000 sec, sys_clock_offset =
0.000138994 sec
systime: adjtv = 0.000000 sec, adjts = 0.000000000 sec, sys_clock_offset =
0.000144554 sec
entries - about a coupe of dozen, then it hangs.
Here's what's in /home/cg5/a.a:
10 Sep 10:02:26 xntpd[1450078]: logging to file /home/cg5/a.a
10 Sep 10:02:26 xntpd[1450078]: 3.4y
adding new filegen
adding new filegen
adding new filegen
adding new filegen
kernel vars: tickadj = 1000, tick = 10000
10 Sep 10:02:26 xntpd[1450078]: tickadj = 1000, tick = 10000, tvu_maxslew =
9900
0
adj_precision = 1000, tvu_maxslew = 99000, tsf_maxslew = 0.19581058
10 Sep 10:02:26 xntpd[1450078]: precision = 6 usec
create_sockets(123)
bind() fd 3, family 2, port 123, addr 00000000, flags=1
flags for fd 3: 0500002
bind() fd 7, family 2, port 123, addr c0a801e1, flags=1
flags for fd 7: 0500002
bind() fd 8, family 2, port 123, addr 8a684ae1, flags=1
flags for fd 8: 0500002
bind() fd 9, family 2, port 123, addr 0a000003, flags=1
flags for fd 9: 0500002
bind() fd 10, family 2, port 123, addr 7f000001, flags=1
flags for fd 10: 0500002
create_sockets: ninterfaces=5
bind() fd 9, family 2, port 123, addr 0a000003, flags=1
flags for fd 9: 0500002
bind() fd 10, family 2, port 123, addr 7f000001, flags=1
flags for fd 10: 0500002
create_sockets: ninterfaces=5
interface 0: fd=3, bfd=0, name=wildcard, flags=0x1
sin=0.0.0.0 bcast=0.0.0.0, mask=255.255.255.255
interface 1: fd=7, bfd=0, name=en0, flags=0x1
sin=192.168.1.225 bcast=192.168.1.255, mask=255.255.255.0
interface 2: fd=8, bfd=0, name=en1, flags=0x1
sin=138.104.74.225 bcast=138.104.75.255, mask=255.255.252.0
interface 3: fd=9, bfd=0, name=en2, flags=0x1
sin=10.0.0.3 bcast=10.0.0.15, mask=255.255.255.240
interface 4: fd=10, bfd=0, name=lo0, flags=0x5
sin=127.0.0.1 bcast=127.255.255.255, mask=255.0.0.0
init_io: maxactivefd 10
configure: "uk.pool.ntp.org" not valid host number, line ignored
resolving uk.pool.ntp.org
configure: "uk.pool.ntp.org" not valid host number, line ignored
resolving uk.pool.ntp.org
configure: "uk.pool.ntp.org" not valid host number, line ignored
resolving uk.pool.ntp.org
loop_config 1 5.830 0
================================================
>> My ntp.conf is very simple:
>>
>> server uk.pool.ntp.org
>> server uk.pool.ntp.org
>> server uk.pool.ntp.org
>> driftfile /etc/ntp.drift
>> tracefile /etc/ntp.trace
Does that give any further help?
cheers,
clive
More information about the questions
mailing list