Anthony Lopez

“I’d rather see a sermon than hear one any day;”

Couldn’t update Time on virtual linux machine

Posted by lopeza on January 14, 2014

I realized one of my Xen boxes was out of time sync and no standard commands would change it. Not even ntpd.

Until you add this to /etc/sysctl.conf

# Allow the VM to update it's own clock, and do not use the DOM host clock. xen.independent_wallclock=1

Then change the date with

date -s "14 JAN 2014 12:14:00"

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: