hi, im using xen 3.1.0-13 and im mounting prebuilt images from jailtime.org, When i run "date" on the DomU ,the time does not match with the time on the Dom0, and i cant even set it to the correct time using "date -s" on the DomU. Please help. -- Madhuri Venkatesh Fourth Year Undergraduate Student,Computer Science and Engineering,RVCE,Bangalore. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> hi, > im using xen 3.1.0-13 and im mounting prebuilt images fromjailtime.org,> When i run "date" on the DomU ,the time does not match with the timeon> the Dom0, and i cant even set it to the correct time using "date -s"on> the DomU. > Please help.Chances are you haven''t specified a timezone in DomU, or else you are using HVM and need to use the localtime option in your config file. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ferreira, N. L. (Nuno)
2009-Jan-30 10:14 UTC
Re: [Xen-users] DomU does not show correct time
Hi Madhuri You should install a network time protocol (ntd): yum install ntp Reboot the machine or start the service: /etc/init.d/ntpd start If your curious about how it works, read somre more info. Cheers, nuno Madhuri Venkatesh wrote:> hi, > im using xen 3.1.0-13 and im mounting prebuilt images from > jailtime.org <http://jailtime.org>, > When i run "date" on the DomU ,the time does not match with the time > on the Dom0, and i cant even set it to the correct time using "date > -s" on the DomU. > Please help. > -- > Madhuri Venkatesh > Fourth Year Undergraduate Student,Computer Science and > Engineering,RVCE,Bangalore. > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- =============================================Nuno Ricardo Santos Loureiro da Silva Ferreira NMR Spectroscopy Research Group Bijvoet Center for Biomolecular Research Utrecht University Bloembergen gebouw Padualaan 8, 3584 CH Utrecht The Netherlands P: +31.(0)30.253 9932 F: +31.(0)30.253 2652 E: n.l.ferreira@uu.nl W: http://nmr.chem.uu.nl ============================================= _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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? On Fri, Jan 30, 2009 at 3:44 PM, Ferreira, N. L. (Nuno) <n.l.ferreira@uu.nl>wrote:> Hi Madhuri > > You should install a network time protocol (ntd): > yum install ntp > > Reboot the machine or start the service: > /etc/init.d/ntpd start > > If your curious about how it works, read somre more info. > Cheers, > nuno > > > Madhuri Venkatesh wrote: > >> hi, >> im using xen 3.1.0-13 and im mounting prebuilt images from jailtime.org < >> http://jailtime.org>, >> When i run "date" on the DomU ,the time does not match with the time on >> the Dom0, and i cant even set it to the correct time using "date -s" on the >> DomU. >> Please help. >> -- >> Madhuri Venkatesh >> Fourth Year Undergraduate Student,Computer Science and >> Engineering,RVCE,Bangalore. >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > > -- > =============================================> Nuno Ricardo Santos Loureiro da Silva Ferreira > > NMR Spectroscopy Research Group > Bijvoet Center for Biomolecular Research > Utrecht University > Bloembergen gebouw > Padualaan 8, 3584 CH Utrecht > The Netherlands > > P: +31.(0)30.253 9932 > F: +31.(0)30.253 2652 > E: n.l.ferreira@uu.nl > W: http://nmr.chem.uu.nl > =============================================> >-- Fourth Year Undergraduate Student,Computer Science and Engineering,RVCE,Bangalore. Ph:9886336272 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@fajar.net> wrote:> On Sat, Jan 31, 2009 at 3:00 PM, Madhuri Venkatesh <madhureev@gmail.com> > 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@lists.xensource.com http://lists.xensource.com/xen-users