Re: [CentOS] ntpdate odd behavior

2015-05-07 Thread Jerry Geis
>Jerry, try "ntpdate -u time.apple.com" and have a look at the -u option
>in the ntpdate man page. When you use -d, it implicitly sets -u, which
>your non-"-d" invocation didn't. That's probably the reason for the
>difference.

>Cheers
>Tony


Tony - your correct. That did work.   the odd thing also is doing
"ntpdate pool.ntp.org" works every time, and so does time.windows.com
- but time.apple.com did not.

Thanks for the "-u" suggestion.

Jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ntpdate odd behavior

2015-05-07 Thread Tony Mountifield
In article ,
Jerry Geis  wrote:
> I noticed this morning that my ntp time was not correct on machines.
> 
> So I manually ran "ntpdate time.apple.com" on my clients, I got
> 7 May 08:46:43 ntpdate[10550]: no server suitable for synchronization found
> 
> then I ran "ntpdate -d time.apple.com" and it worked .
> filter offset: -163.446 -163.446 -163.446 -163.447
>  0.00 0.00 0.00 0.00
> delay 0.20570, dispersion 0.00049
> offset -163.447341
>  7 May 08:46:25 ntpdate[10519]: step time server 17.253.2.243 offset
> -163.447144 sec
> 
> then I ran "ntpdate time.apple.com" again and got the above error again.
> 
> Any idea what that is about? Why is ntpdate giving the error?
> 
> This is on centos 6.6 x86_64 and same result on 3 machines.

Jerry, try "ntpdate -u time.apple.com" and have a look at the -u option
in the ntpdate man page. When you use -d, it implicitly sets -u, which
your non-"-d" invocation didn't. That's probably the reason for the
difference.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ntpdate odd behavior

2015-05-07 Thread Jerry Geis
I noticed this morning that my ntp time was not correct on machines.

So I manually ran "ntpdate time.apple.com" on my clients, I got
7 May 08:46:43 ntpdate[10550]: no server suitable for synchronization found

then I ran "ntpdate -d time.apple.com" and it worked .
filter offset: -163.446 -163.446 -163.446 -163.447
 0.00 0.00 0.00 0.00
delay 0.20570, dispersion 0.00049
offset -163.447341
 7 May 08:46:25 ntpdate[10519]: step time server 17.253.2.243 offset
-163.447144 sec

then I ran "ntpdate time.apple.com" again and got the above error again.

Any idea what that is about? Why is ntpdate giving the error?

This is on centos 6.6 x86_64 and same result on 3 machines.

Thanks,

jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos