Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a VPS running Debian. The time that it reports from the date command is two minutes fast.

Is there a service that I can install that will keep the time correct?

share|improve this question

migrated from stackoverflow.com Jan 27 '10 at 2:56

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

up vote 3 down vote accepted

The "ntp" service handles date/time synchronization.

share|improve this answer
2  
NTP synch isn't so helpful on a virtual machine. you'd run ntpd on the host OS, then synch the guest via the virtualization tech's builtin methods. –  quack quixote Jan 27 '10 at 4:03
add comment

ntpd works wonders unless the virtual cmos clock is being set by the hypervisor, in which case the time on the host machine needs to be set by the sysadmin, nothing you can do.

share|improve this answer
add comment

Your Answer

 
discard

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.