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 -----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. Regards, Win _______________________________________________ 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
