[ntp:questions] different times from same ntp server

Brad Knowles brad at stop.mail-abuse.org
Wed May 25 12:28:02 UTC 2005


At 5:36 PM +0600 2005-05-25, Metal Gear wrote:

>  i m having a very strange problem. the problem is that when i get time from
>  clock2.redhat.com <http://clock2.redhat.com> for my windows machine then it
>  is giving the correct time (according to out country's standard time) but
>  when i try to syncronize my linux (redhat 9) machine from same ntp server (
>  clock2.redhat.com <http://clock2.redhat.com>) then there is a time differnce
>  of +1 hour. My linux machine is always one hour ahead of (standard time).

	That's a timezone problem.  NTP works exclusively in UTC (was 
GMT), and it's up to the user-level processes to represent that time 
in whatever timezone is appropriate.  So, your timezone setting is 
off.  Check your manual.

-- 
Brad Knowles, <brad at stop.mail-abuse.org>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.



More information about the questions mailing list