I have a CentOS 4.6 box that was previously a physical device, and has been made into a VM, that has a cronjob to restart the server everyday at 23:00. Which is fine.
However, since the shift to virtual (on a Hyper-V host) neither the system time or the hwclock will stay:
A) In sync with one another B) Display the correct time
I have been scratching my head for a while with this one. Setting the time manually results in insane time drift very quickly (I'm talking hours in mere moments); using NTPD also has no effect. It appears to sync but still displays an incorrect time.
I have tried it both with and without the setting on the VM through Hyper-V to "Synchronise Time". To no avail.
Problem being once the system believes it is 23:00. Which happens multiple times a day. It restarts. And the users that rely on this server are ultimately affected.
Any and help appreciated.