google "current time gtm" 3 minutes different from ntpdate -q time1.google.com

304 views
Skip to first unread message

Walker Rowe

unread,
Feb 14, 2018, 3:38:38 AM2/14/18
to public-ntp-discuss
I don't know if a firewall is causing me to fallback to the system time but for every time server I check the different betweem google "current time gtm"  and the time at time1.google,com is off my 3 mintes.  same with time-a-g.nist.gov.  using ubuntu 14.04

ntpdate -q time1.google.com
server 216.239.35.0, stratum 1, offset -172.653829, delay 0.14058
server 2001:4860:4806::, stratum 0, offset 0.000000, delay 0.00000
14 Feb 08:40:21 ntpdate[16631]: step time server 216.239.35.0 offset -172.653829 sec

Jamie Wilkinson

unread,
Feb 14, 2018, 5:34:32 AM2/14/18
to Walker Rowe, public-ntp-discuss
Are you using ntpd to steer the local clock as well as running ntpdate?  The -q flag only queries the remote server and doesn't set the local system time.  ntpdate without the -q flag would attempt to do so.

Can you also show the output of "ntpq -c pe", if you are running ntpd?

If you are seeing a 3 minute offset to both Google and NIST, I suspect that your clock is not being steered at all, and your system clock is drifting; I'd expect to see that ntpd is not running, or it can't connect to any configured peers.

--
You received this message because you are subscribed to the Google Groups "public-ntp-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to public-ntp-discuss+unsub...@googlegroups.com.
To post to this group, send email to public-ntp-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/public-ntp-discuss/a00ae07e-0ae5-4a69-acec-e9031a2b4341%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Walker Rowe

unread,
Feb 14, 2018, 6:08:10 AM2/14/18
to Jamie Wilkinson, public-ntp-discuss
This is a VM and I opened ticket with cloud provider to have them look at the hypervisor level.  I think the have fixed the time now.  Here is output of that command.  

ntpq -c pe
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
+swatch.rnl.tecn 158.227.98.15    2 u  245  256  377    2.322    1.058   0.344
-ftp.claranet.pt 194.117.9.130    3 u  185  256  377    1.464    1.973   0.210
-a212-113-190-2. 10.176.63.114    3 u   57  256  377    2.300    2.600   0.130
*ntp04.oal.ul.pt 194.117.9.138    2 u  166  256  377    1.811    2.012   0.228
+pugot.canonical 131.188.3.220    2 u   48  256  377   40.247    1.348   0.122


On Wed, Feb 14, 2018 at 6:33 PM, Jamie Wilkinson <j...@google.com> wrote:
Are you using ntpd to steer the local clock as well as running ntpdate?  The -q flag only queries the remote server and doesn't set the local system time.  ntpdate without the -q flag would attempt to do so.

Can you also show the output of "ntpq -c pe", if you are running ntpd?

If you are seeing a 3 minute offset to both Google and NIST, I suspect that your clock is not being steered at all, and your system clock is drifting; I'd expect to see that ntpd is not running, or it can't connect to any configured peers.
On 14 February 2018 at 19:38, Walker Rowe <wer...@walkerrowe.com> wrote:
I don't know if a firewall is causing me to fallback to the system time but for every time server I check the different betweem google "current time gtm"  and the time at time1.google,com is off my 3 mintes.  same with time-a-g.nist.gov.  using ubuntu 14.04

ntpdate -q time1.google.com
server 216.239.35.0, stratum 1, offset -172.653829, delay 0.14058
server 2001:4860:4806::, stratum 0, offset 0.000000, delay 0.00000
14 Feb 08:40:21 ntpdate[16631]: step time server 216.239.35.0 offset -172.653829 sec

--
You received this message because you are subscribed to the Google Groups "public-ntp-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to public-ntp-discuss+unsubscribe@googlegroups.com.




--
Walker Rowe
Freelance Tech Writer and Programmer


Jamie Wilkinson

unread,
Feb 14, 2018, 6:42:49 PM2/14/18
to Walker Rowe, public-ntp-discuss
Glad to hear it!
Reply all
Reply to author
Forward
0 new messages