Time Problem of RHEL 4,4
Hi,
I have been using a RHEL 4,4 as Ftp server. And This ftp server running in the Dmz. I have a problem relating with this server time. I am changing this server time but it is changing again wrong time. Example our time is now 08:44. I am changing with "date -s 08:44". It now 08.44. But it is changing again a short time. What i must do for stay correct time? Thanks. |
Are you rebooting the server? If so it sounds like the BIOS clock is set wrong. In any case, you can use NTP (Network Time Protocol) to sync your system with an Internet time server. The configuration file (ntpd.conf) is fairly straight forward and IIRC it works out of the box on Red Hat if you install the package and start the server.
|
run "hwclock" to see the Bios time. In case if it is wrong then set the correct time on the Linux server and run the following command
hwclock --systohc |
Hi btmiller,
This server is a virtual server in the dmz. And I saw this status; [root@34ISTDMZFTP ~]# date Tue Sep 29 10:04:13 EEST 2009 [root@34ISTDMZFTP ~]# clock Tue 29 Sep 2009 11:04:05 AM EEST -0.902683 seconds clock command export correct time. And I didnt saw ntpd.conf file in the this server. What is your suggestions? How can i do Ntp sync with an internet time server? Thanks. |
And Now I ran hwclock --systohc command and I check again, I saw this results,
[root@34ISTDMZFTP ~]# hwclock Tue 29 Sep 2009 11:23:51 AM EEST -0.849669 seconds [root@34ISTDMZFTP ~]# date Tue Sep 29 11:18:48 EEST 2009 hwclock command export correct time. What i must do now? |
I need help.
|
Quote:
If so, try googling "vmware linux time problem" and checking the forums here for related threads. |
Clock skew in a VM is a known issue.
First things first, you can try disabling the host computer's power savings settings (like Speedstep for Intel CPU's) and see if this doesn't correct the problem. If that doesn't work, and this is a VMware VM, here's an official VMware document on the subject: http://www.vmware.com/pdf/vmware_timekeeping.pdf . Hope this helps. |
All times are GMT -5. The time now is 06:01 PM. |