Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent node, however refuses to adjust the time (which is 30 minutes slower than the actual time).

All the programs on my system, consequently, now recognized the false time and this throws a wrench in my syncing. Is there a way to possibly change the system time without interference from the container's administrator? Or perhaps, failing that, a way to make the programs "see" the time 30 minutes faster than what is reported by the container?

share|improve this question
up vote 4 down vote accepted

You can't do anything with the system time inside an OpenVZ container.

If the host refuses to fix the clock, go take your business elsewhere. They obviously don't want your money badly enough.

share|improve this answer
I see. Well, it was sort of a long shot anyway. Thanks. I just needed confirmation that I actually am doomed. I have LOTS of config and data on the server. Such a pain. – Milad Naseri Nov 7 '12 at 15:15
I would also suggest not using OpenVZ-based VPS at all. There are much better choices out there for most workloads. – Michael Hampton Nov 7 '12 at 15:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.