« Return to Thread: Time is off by an hour in my XEN vm

Time is off by an hour in my XEN vm

by Frank Groeneveld :: Rate this Message:

Reply to Author | View in Thread

Hello,

I'm hiring a XEN virtual machine running Ubuntu at a hosting company.  
My XEN virtual machine is hosted on a server which has some other VM's  
running on it. They all use ubuntu or debian. After a crash sometime  
last week, the systemclock of my VM is off by an hour (it says 19:49,  
although it's 18:49 here now). The other VM's don't have this problem,  
and according to the admin of the server, the server clock is running  
correctly and my XEN config is correct also (it's not set to locatime  
or anything).

I checked everything. Timezone is correct (in /etc/timezone), the  
localtime symlink is correct (/etc/localtime). UTC=yes in /etc/
defaults/rcS, although changing it to no doesn't make a difference.

The admin of the server fixed it temporally by running:
echo 1 > /proc/sys/xen/independent_wallclock
And setting the date/time manually. Every hour the time is now set  
through ntpdate.

Does anybody know what's wrong with the vm? How can I fix this?

Frank Groeneveld

_______________________________________________
Xen-users mailing list
Xen-users@...
http://lists.xensource.com/xen-users

 « Return to Thread: Time is off by an hour in my XEN vm