I guess what I really should have said was to set the BIOS time to the current time in UTC... or not, and just set UTC=false in /etc/sysconfig/clock.
Kevin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Win Htin Sent: Wednesday, December 02, 2009 9:58 AM To: [email protected] Subject: [rhelv5-list] RE: Date shows time is 5hrs behind EST The BIOS setup doesn't provide any option to set the clock to UTC hence I ran the command : date -s "2 DEC 2009 HH:MM:SS" and then rebooted the server. Seems it is fixed since it came back up with the correct time. Thanks for the various suggestions. Cheers, Win > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Win Htin > Sent: Tuesday, December 01, 2009 3:39 PM > To: [email protected] > Subject: [rhelv5-list] Date shows time is 5hrs behind EST > > Hi folks, > > I have a new RHEL 5.4 server which is 5 hrs behind Eastern Standard > Time. following is what I have done and nothing seems to fix the > problem. > > 1. Set time and date from BIOS setup and rebooted the server. > 2. cat /etc/sysconfig/clock > ZONE="America/Toronto" > UTC=true > ARC=false > 3. The ntp.conf file and ntpservers files were copied from another > server which is exactly the same hardware-wise. That other server has > the correct time/date. > 4. a) cd /usr/share/zoneinfo/Canada > b) cp -p Pacific /etc/localtime; > c) date; > Tue Dec 1 07:29:11 PST 2009 <== the time changed BUT 5 hrs > behind actual clock > e) cp -p Eastern /etc/localtime; > f) date; > Tue Dec 1 10:30:15 EST 2009 <== the time changed > BUT 5 hrs behind actual current time from another server > which is showing > Tue Dec 1 15:31:23 EST 2009 > > Any idea what is causing the clock to be 5 hrs behind? TIA for your help. > --------------------------- > > Message: 3 > Date: Tue, 1 Dec 2009 13:42:28 -0800 > From: "Collins, Kevin [BEELINE]" <[email protected]> > Subject: RE: [rhelv5-list] Date shows time is 5hrs behind EST > To: "Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list" > <[email protected]> > Message-ID: > > <86e21a982a7c5249956350a6746108c20136c...@chvpkntxc5m.chvpk.chevrontexaco.net> > > Content-Type: text/plain; charset="us-ascii" > > Or setting the BIOS clock to UTC... :) > > Kevin > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Glaser, David > Sent: Tuesday, December 01, 2009 12:42 PM > To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list > Subject: RE: [rhelv5-list] Date shows time is 5hrs behind EST > > I believe you want to set UTC=false in /etc/sysconfig/clock. Setting UTC > to true means that you are using UTC based clock which is five hours > ahead of EST. > > Dave _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
