LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2007, 01:39 PM   #1
N2fastbikes
LQ Newbie
 
Registered: Mar 2007
Location: USA
Distribution: Kali, Fedora, Ubuntu, Kubuntu, RHEL, CentOS
Posts: 13

Rep: Reputation: 0
How to Install DST Update on RH9


I'm new to Linux. I need to install the 2007 DST update, but I'm confused by the different approaches on the posts and Google sessions I have seen. So far I have typed

zdump -v CST6CDT | grep 2007

to verify that the machine is not updated. It is not.

I'm in the central time zone. How do I install the update? Thanks!
 
Old 03-05-2007, 02:29 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Since RedHat 9 is obsolete, I'm not sure if there will be a reliable way to do this. What instructions did you find?

Your profile says you also have FC6 and RHEL4---why not simply put RH9 out of its misery?
 
Old 03-05-2007, 04:06 PM   #3
N2fastbikes
LQ Newbie
 
Registered: Mar 2007
Location: USA
Distribution: Kali, Fedora, Ubuntu, Kubuntu, RHEL, CentOS
Posts: 13

Original Poster
Rep: Reputation: 0
I typed up2date tzdata to do the RHEL4 and FC6 machines. This doesn't work for this RH9 install.

The DST update instructions for RH9 are varied but basically go something like this:

1. Download the tzdata2007x.tar.gz file.

2. Extract the file.

3. Use zic to create an appropriate new zoneinfo file(s) directly.

4. Type zdump -v CST6CDT | grep 2007 to see if the DST patch has been applied.

Even after typing zic man, I don't know how to correctly use zic because I am still learning the very basics in the Linux file system.

Quote:
Originally Posted by pixellany
Since RedHat 9 is obsolete, I'm not sure if there will be a reliable way to do this. What instructions did you find?

Your profile says you also have FC6 and RHEL4---why not simply put RH9 out of its misery?
 
Old 03-05-2007, 04:12 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
There's this excellent thread that may help you. It is primarily for Slackware but you can get some good hints from it.

Last edited by tuxrules; 03-05-2007 at 04:13 PM.
 
Old 03-05-2007, 05:36 PM   #5
N2fastbikes
LQ Newbie
 
Registered: Mar 2007
Location: USA
Distribution: Kali, Fedora, Ubuntu, Kubuntu, RHEL, CentOS
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks so much for the reply. It was helpful and I did get the box updated. Here's what I did:

1. Downloaded the tzdata2007c.tar.gz file from /pub/ at elsie.nci.nih.gov.

2. Extracted the tar.gz file:

gunzip tzdata2007c.tar.gz

tar -xvf tzdata2007c.tar

3. Used zic to create the new zoneinfo file:

zic northamerica

3. Typed zdump -v CST6CDT | grep 2007 to confirm that the DST patch had been applied. Results:

CST6CDT Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600
CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
CST6CDT Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
CST6CDT Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 CST isdst=0 gmtoff=-21600

Now if I can figure out how to move everything off that RH9 box to a new FC6 box...

Quote:
Originally Posted by tuxrules
There's this excellent thread that may help you. It is primarily for Slackware but you can get some good hints from it.
 
Old 03-08-2007, 11:57 AM   #6
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Rep: Reputation: 16
Quote:
Originally Posted by N2fastbikes
Thanks so much for the reply. It was helpful and I did get the box updated. Here's what I did:

1. Downloaded the tzdata2007c.tar.gz file from /pub/ at elsie.nci.nih.gov.

2. Extracted the tar.gz file:

gunzip tzdata2007c.tar.gz

tar -xvf tzdata2007c.tar

3. Used zic to create the new zoneinfo file:

zic northamerica

3. Typed zdump -v CST6CDT | grep 2007 to confirm that the DST patch had been applied. Results:

CST6CDT Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST isdst=0 gmtoff=-21600
CST6CDT Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT isdst=1 gmtoff=-18000
CST6CDT Sun Nov 4 06:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 CDT isdst=1 gmtoff=-18000
CST6CDT Sun Nov 4 07:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 CST isdst=0 gmtoff=-21600

Now if I can figure out how to move everything off that RH9 box to a new FC6 box...

Excellent, this post helped me get my RH9 box that has no internet connection updated. My problem was finding the darn file to put on my windows FTP server that the RH9 box could reach!

Edit, worked for Suse too.

Last edited by ACDII; 03-08-2007 at 02:21 PM.
 
Old 03-08-2007, 01:13 PM   #7
ljrosenberg
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Ok, this post has been more helpful than most, but I can't even get zdump to work on my RH ES 3 server. It gives me a bash error. I have never used Linux before and I'm banging my head on the keyboard. That works just about as well as anything else I've tried. LOL I need to get my server updated to use the new time change dates but I'm completely lost. This server is on a closed system - no Internet - so I'm running up and down two flights of stairs trying to figure this out. Please help!
 
Old 03-08-2007, 02:36 PM   #8
ljrosenberg
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by ljrosenberg
Ok, this post has been more helpful than most, but I can't even get zdump to work on my RH ES 3 server. It gives me a bash error. I have never used Linux before and I'm banging my head on the keyboard. That works just about as well as anything else I've tried. LOL I need to get my server updated to use the new time change dates but I'm completely lost. This server is on a closed system - no Internet - so I'm running up and down two flights of stairs trying to figure this out. Please help!
I answered my own question. There is a much easier way to do this. I used an RPM file from http://sunsite.mff.cuni.cz/MIRRORS/f...p/en/os/SRPMS/

Save it to a temp folder (I created a tmp folder in /etc)
At the command prompt, type rpm -iv and the file name
Type redhat-config-time
Check and make sure it's the correct time zone
Click ok
In the /etc folder, check the date on the localtime file. it should show the date you ran the rpm file.

I still can't get zdump to run on my system - it's simply not there. Oh well. Let's hope this works. I'll find out on Monday!
 
Old 03-08-2007, 11:44 PM   #9
N2fastbikes
LQ Newbie
 
Registered: Mar 2007
Location: USA
Distribution: Kali, Fedora, Ubuntu, Kubuntu, RHEL, CentOS
Posts: 13

Original Poster
Rep: Reputation: 0
I think you're on the right track. I didn't have rpm available on the RH9 box because the rpm database was corrupt. Good luck!

Quote:
Originally Posted by ljrosenberg
I answered my own question. There is a much easier way to do this. I used an RPM file from http://sunsite.mff.cuni.cz/MIRRORS/f...p/en/os/SRPMS/

Save it to a temp folder (I created a tmp folder in /etc)
At the command prompt, type rpm -iv and the file name
Type redhat-config-time
Check and make sure it's the correct time zone
Click ok
In the /etc folder, check the date on the localtime file. it should show the date you ran the rpm file.

I still can't get zdump to run on my system - it's simply not there. Oh well. Let's hope this works. I'll find out on Monday!
 
  


Reply



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
Am I DST Ready after TZDATA update mconstan Linux - Software 2 03-03-2007 07:32 AM
could i update rh9 to fc 3? kszl2005 Red Hat 2 07-10-2005 10:47 PM
RHEL3 update-rpms good for rh9? or howto keep rh9 up2date? birras Red Hat 4 11-14-2004 01:11 PM
Update RH9 ElectroLinux Linux - Newbie 3 03-25-2004 01:53 AM
how do i update mkinitrd on rh9? tektone Linux - Software 2 02-18-2004 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration