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
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
> 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 > foundWeird. 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_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/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 SilvaTim 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel