WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DomU does not show correct time
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ClxzIShMPmZ3JzFXAHhliKgBQPxIWWUxM/XpWVD+z2Q=; b=uWCG3XXfjuzIPhTbvlxtM8vTKpyJ7oeWJDE7TN4p79cnkTiLaSbHyVp2UUzF4UlThc UoDY7D85jAQbB/F1P+J8fG3kMMGH130g1p3LZRFw6/DGYHARIIeL6s9c3w/lG0KpaFWx epqxFAew3yFi6t7fV0Ks13IEuhBWvdQUl/qHg=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0901310138o6a9a55c6h254b39c72e7e4ee6@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <55e362b20901292317n338c34c0naa6fdf595ebcd86b@xxxxxxxxxxxxxx> <4982D31F.10603@xxxxx> <55e362b20901310000t1dfdf86egdd6c8652a7182cca@xxxxxxxxxxxxxx> <7207d96f0901310138o6a9a55c6h254b39c72e7e4ee6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>