* ntpdate issues?
@ 2005-03-17 20:25 Tim Newsham
2005-03-17 23:52 ` Nuno Silva
0 siblings, 1 reply; 4+ messages in thread
From: Tim Newsham @ 2005-03-17 20:25 UTC (permalink / raw)
To: xen-devel
Hi, I'm trying to run ntpdate from domain zero and getting
weird results. This used to work (prior to using xen). Is
this related to xen at all or an entirely unrelated issue?
Queries seem to work:
# ntpdate -q time-b.nist.gov
Looking for host time-b.nist.gov and service ntp
host found : time-b.nist.gov
server 129.6.15.29, stratum 1, offset 41.820087, delay 0.17027
17 Mar 10:22:02 ntpdate[1030]: step time server 129.6.15.29 offset
41.820087 sec
Debug too:
# ntpdate -d time-b.nist.gov
17 Mar 10:22:34 ntpdate[1031]: ntpdate 4.2.0@1.1161-r Thu Mar 11
11:46:40 EST 2004 (1)
Looking for host time-b.nist.gov and service ntp
host found : time-b.nist.gov
transmit(129.6.15.29)
receive(129.6.15.29)
transmit(129.6.15.29)
receive(129.6.15.29)
transmit(129.6.15.29)
receive(129.6.15.29)
transmit(129.6.15.29)
receive(129.6.15.29)
transmit(129.6.15.29)
server 129.6.15.29, port 123
stratum 1, precision -30, leap 00, trust 000
refid [ACTS], delay 0.17113, dispersion 0.00073
transmitted 4, in filter 4
reference time: c5e465b4.5add2114 Thu, Mar 17 2005 10:23:16.354
originate timestamp: c5e465b5.379862e7 Thu, Mar 17 2005 10:23:17.217
transmit timestamp: c5e4658b.527589ef Thu, Mar 17 2005 10:22:35.322
filter delay: 0.17262 0.17355 0.17400 0.17113
0.00000 0.00000 0.00000 0.00000
filter offset: 41.82315 41.82166 41.82105 41.82229
0.000000 0.000000 0.000000 0.000000
delay 0.17113, dispersion 0.00073
offset 41.822291
17 Mar 10:22:35 ntpdate[1031]: step time server 129.6.15.29 offset
41.822291 sec
But actually setting the date fails:
# ntpdate time-b.nist.gov
Looking for host time-b.nist.gov and service ntp
host found : time-b.nist.gov
17 Mar 10:23:39 ntpdate[1032]: no server suitable for synchronization
found
Setting the date manually does work though:
# date 03171024.50
Thu Mar 17 10:24:50 HST 2005
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: ntpdate issues?
@ 2005-03-17 21:26 Ian Pratt
0 siblings, 0 replies; 4+ messages in thread
From: Ian Pratt @ 2005-03-17 21:26 UTC (permalink / raw)
To: Tim Newsham, xen-devel; +Cc: ian.pratt
> But actually setting the date fails:
> # ntpdate time-b.nist.gov
> Looking for host time-b.nist.gov and service ntp
> host found : time-b.nist.gov
> 17 Mar 10:23:39 ntpdate[1032]: no server suitable for
> synchronization
> found
Weird. ntpdate works fine for me.
What distro is this?
Please can you try strace'ing it and see if there's any set time calls
that are failing.
Ian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ntpdate issues?
2005-03-17 20:25 ntpdate issues? Tim Newsham
@ 2005-03-17 23:52 ` Nuno Silva
2005-03-18 0:46 ` Tim Newsham
0 siblings, 1 reply; 4+ messages in thread
From: Nuno Silva @ 2005-03-17 23:52 UTC (permalink / raw)
To: Tim Newsham; +Cc: xen-devel
Tim Newsham wrote:
> Hi, I'm trying to run ntpdate from domain zero and getting
> weird results. This used to work (prior to using xen). Is
> this related to xen at all or an entirely unrelated issue?
Don't know, but... Does ntpdate -u work?
Regards,
Nuno Silva
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ntpdate issues?
2005-03-17 23:52 ` Nuno Silva
@ 2005-03-18 0:46 ` Tim Newsham
0 siblings, 0 replies; 4+ messages in thread
From: Tim Newsham @ 2005-03-18 0:46 UTC (permalink / raw)
To: Nuno Silva; +Cc: xen-devel
> Don't know, but... Does ntpdate -u work?
That was the solution. -q and -d used a nonprivileged port
where the normal update used a privileged port.
> Nuno Silva
Tim N.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-18 0:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-17 20:25 ntpdate issues? Tim Newsham
2005-03-17 23:52 ` Nuno Silva
2005-03-18 0:46 ` Tim Newsham
-- strict thread matches above, loose matches on Subject: below --
2005-03-17 21:26 Ian Pratt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.