OpenVZ Forum


Home » General » Support » Clock Drift
Clock Drift [message #36113] Fri, 22 May 2009 04:43 Go to next message
brianhenson is currently offline  brianhenson
Messages: 4
Registered: May 2009
Junior Member
I am running ubuntu intrepid and my VPS's time drifts about 10 sec an hour while the HN's time stays consistent. Has anyone experienced this and or have a solution for this issue? When I try to run ntpdate on the vps I get this error

step-systime: Operation not permitted

Any help in this issue would be appreciated.


Brian Henson
Re: Clock Drift [message #36114 is a reply to message #36113] Fri, 22 May 2009 04:57 Go to previous messageGo to next message
Black-Jack is currently offline  Black-Jack
Messages: 3
Registered: May 2009
Junior Member
Hi,

You can find Your answer in http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

In 64 page "Changing System Time from VPS"

First paragraph

"Normally it is impossible to change the system time from a Virtual Private Server. Otherwise, different Virtual Private Servers could interfere with each other and could even break applications depending on the system time accuracy."

Use nptdate on your HN.

--
Tadas K.
Re: Clock Drift [message #36115 is a reply to message #36114] Fri, 22 May 2009 05:00 Go to previous messageGo to next message
brianhenson is currently offline  brianhenson
Messages: 4
Registered: May 2009
Junior Member
Thats where the problem is. The date on the HN is perfectly in sync. The vps's are out of sync unless they are on a fresh reboot
Re: Clock Drift [message #36116 is a reply to message #36115] Fri, 22 May 2009 05:20 Go to previous messageGo to next message
Black-Jack is currently offline  Black-Jack
Messages: 3
Registered: May 2009
Junior Member
Same problem? -->

http://forum.openvz.org/index.php?t=tree&th=1123&mid =6301&&rev=&reveal=
Re: Clock Drift [message #36117 is a reply to message #36116] Fri, 22 May 2009 05:43 Go to previous messageGo to next message
brianhenson is currently offline  brianhenson
Messages: 4
Registered: May 2009
Junior Member
I dont think it is related as I already boot with acpi turned off. But I could be wrong. The kernel I am running is 2.6.18-14-fza-686 from the repository.
icon8.gif  Re: Clock Drift [message #36191 is a reply to message #36117] Thu, 28 May 2009 00:08 Go to previous messageGo to next message
brianhenson is currently offline  brianhenson
Messages: 4
Registered: May 2009
Junior Member
any one have an idea on this issue? I am running etch from the cache. Right now I have almost a 2 day difference between host (set by NTP) and node time. reboot fixes it for a bit but thats not a fix. The hardware time drifts very little from NTP time.
Re: Clock Drift [message #36195 is a reply to message #36191] Thu, 28 May 2009 08:45 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


Right now I have almost a 2 day difference between host (set by NTP) and node time.


What is the difference between the host and the node?

How do you exactly observe the difference? Are you using "date" command? Could you please use strace utility with "date" command?
Previous Topic: Hardware node reboot does not retain iptables
Next Topic: VMWare on same host as OpenVZ
Goto Forum:
  


Current Time: Sat Aug 17 23:16:26 GMT 2024

Total time taken to generate the page: 0.02701 seconds