[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] DomU does not show correct time


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Madhuri Venkatesh <madhureev@xxxxxxxxx>
  • Date: Sat, 31 Jan 2009 15:59:53 +0530
  • Cc:
  • Delivery-date: Sat, 31 Jan 2009 02:30:42 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Nk/BfBRRdDccvw4HNMXJk5Zke2wVWH+2UAS0FlA6rjV6fMcybBI4N3iR1wttkKcYJI AcDnOzUjXLZ3peMVdD3PB/GX8abq4tF3JxFZFZjwuX3E86sPIdqDNIKKdh/53HT2xPf1 8JQiKbpI46RIZa/9sneWaW2v82p54jzUPiMOg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


Hey,
I changed the /etc/sysconfig/clock to match with the dom0 and set

ln -sf /usr/share/zoneinfo/mycontinent/zone /etc/localtime

Both it together did the trick.
Thanks a lot.





On Sat, Jan 31, 2009 at 3:08 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Sat, Jan 31, 2009 at 3:00 PM, Madhuri Venkatesh <madhureev@xxxxxxxxx> wrote:
> hi,
> ntpd is already running,
> i restarted it  and tried as well,
> the domU still shows the wrong time...Is there something else i can do?

By default dom0 and domU will show the same time. There are some
things can make it seems different, like
- whether system clock should use UTC
- what time zone is used

If it's RHEL/Centos, try using system-config-time on both dom0 and
domU and make sure system clock and timezone settings are the same. If
it's windows you probably need to specify "localtime=1" on domU config
file, or set dom0 to use local time on system clock.



--
Fourth Year Undergraduate Student,Computer Science and Engineering,RVCE,Bangalore.
Ph:9886336272
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.