LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-16-2008, 01:05 PM   #1
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,958

Rep: Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606
ntp time off by 1 hour


6 months ago, after daylight savings day i noticed my clock was off an hour for about a month. now that daylight savings day was last week my clock is behind one hour.
for example it is about 2:00 boston time but my clock shows:
Code:
[schneidz@hyper ntp]$ date
Sun Mar 16 13:01:43 EST 2008
i tried a bunch of different time servers... the server im using now is: 0.us.pool.ntp.org.

is there some sort of bug with ntp and daylight savings time.
 
Old 03-16-2008, 01:25 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by schneidz View Post
is there some sort of bug with ntp and daylight savings time.
The problem is not in ntp, but in your systemís timezone data files. What OS is this and when was the last time you updated your tzdata?
 
Old 03-16-2008, 01:35 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I have ntp running and my clock matches exactly with www.time.gov
It changed to pacific daylight time automatically last Sunday.

What is puzzling is that the (KDE) clock setup says that it is not able to connect to an NTP server (I have left it with the automiatic time setting box unchecked.)
 
Old 03-16-2008, 01:42 PM   #4
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,958

Original Poster
Rep: Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606
Quote:
Originally Posted by osor View Post
The problem is not in ntp, but in your systemís timezone data files. What OS is this and when was the last time you updated your tzdata?
hi, this is on rh-9. i dont know what tzdata is so i guess i never/ know how to update any time zone info.

thanks,
 
Old 03-16-2008, 01:54 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,862

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
tz is a database that contains time zone information i.e. +/- hours from UTC and the start/end of daylight saving time (officialy its not plural). Starting in 2007, daylight time begins in the United States on the second Sunday in March and ends on the first Sunday in November. Most current distributions would of had an update but since RH9 is obsolete you will need to change your database manually.

As already stated this isn't a ntp problem since its your system that actually adjusts the time from UTC.

http://www.twinsun.com/tz/tz-link.htm
http://articles.techrepublic.com.com...7-6163042.html

Unless you have some legacy application have you thought about updating to a more recent distribution?

Last edited by michaelk; 03-16-2008 at 01:57 PM.
 
Old 03-16-2008, 02:54 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by schneidz View Post
hi, this is on rh-9. i dont know what tzdata is so i guess i never/ know how to update any time zone info.

thanks,
do you have a file: "/etc/timezone"?

Can you run the command "tzselect" in a terminal?
 
Old 03-16-2008, 08:10 PM   #7
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,958

Original Poster
Rep: Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606
thanks for the suggestions, fyi:
Code:
[schneidz@hyper schneidz]$ ll /etc/timezone
ls: /etc/timezone: No such file or directory
tzselect doesnt give me any option to change the dates for daylight savings.

i will eventually buy a new computer and put fedora on it.
 
Old 03-16-2008, 09:03 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,862

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
Correct, tzselect only shows the current information for the selected timezone. It does not change anything. To modify the database you must follow the link I posted above.
 
Old 03-16-2008, 10:30 PM   #9
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,958

Original Poster
Rep: Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606Reputation: 606
Quote:
Originally Posted by michaelk View Post
Correct, tzselect only shows the current information for the selected timezone. It does not change anything. To modify the database you must follow the link I posted above.
thanks, i followed the instructions from this link and all is good:

http://articles.techrepublic.com.com...7-6163042.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP time sync with windows 2000 AD time csghosh Linux - Enterprise 7 02-24-2012 03:46 PM
NTP cron job runs every 5 min instead of hour OlRoy Linux - Networking 17 02-28-2008 10:51 AM
NTP Server giving central time instead of eastern time wjleon Linux - Networking 3 11-01-2007 04:04 PM
debian: Get time from ntp (network time protocol) servers checkmate3001 LinuxQuestions.org Member Success Stories 0 09-30-2007 06:36 PM
Time updated by ntp is 1 hour behind jon1591 Linux - Newbie 2 06-21-2004 02:34 PM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration