User Tools

Site Tools


vps:incorrect-time

This is an old revision of the document!


VPS Shows the Wrong Time

The VPS system clock is synced with the dom0 (host) clock unless an independent “wall” clock is specified. This is done by performing the following:

# echo 1 > /proc/sys/xen/independent_wallclock

To make this change persist on boot, edit /etc/sysctl.conf and add the following on a new blank line:

xen.independent_wallclock = 1

Then you may set the time as you desire, or sync it with an NTP server, e.g.:

# rdate -s rdate.cpanel.net

vps/incorrect-time.1259860627.txt.gz · Last modified: by garrett.plasky

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki