Results 1 to 3 of 3

Thread: XEN incorrect time (one hour to late)

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    The Netherlands
    Beans
    139

    XEN incorrect time (one hour to late)

    I'm hiring a XEN virtual machine 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 17:05, although it's 16:05 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.

    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

  2. #2
    Join Date
    Nov 2005
    Location
    London
    Beans
    40
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: XEN incorrect time (one hour to late)

    Sounds like the clock on the host machine is out or maybe in a different timezone.
    Either way you should configure your machine to use a ntp client & point it to a trusted source.
    The beatings will continue until moral improves.

  3. #3
    Join Date
    Sep 2005
    Location
    The Netherlands
    Beans
    139

    Re: XEN incorrect time (one hour to late)

    As I posted in my original post, the clock of the server is running correctly and the other VM's don't have any problems.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •