Amahi and/or Fedora time settings

User avatar
NeverSimple
Posts: 114
Joined: Sat Aug 21, 2010 4:26 pm
Location: The Netherlands

Amahi and/or Fedora time settings

Postby NeverSimple » Tue Sep 14, 2010 1:47 pm

Okay, this is probably simple, but time settings, time zones and clocks keep confusing me....

Right now it's 14 September 2010, 22:24 . That's what my watch tells me. (timezone is Europe/Amsterdam)

on the Amahi server:

Code: Select all

[root@localhost etc]# date Tue Sep 14 20:24:20 CEST 2010 [root@localhost etc]# hwclock --show Tue 14 Sep 2010 08:24:33 PM CEST -0.579437 seconds
output from less /etc/sysconfig/clock: ZONE="Europe/Amsterdam"

So the time is off by 2 hours. The time zone (CEST) seems correct. This is UTC+2.

after I issue the command:

Code: Select all

ntpdate 1.fedora.pool.ntp.org
'date' gives me: Tue Sep 14 22:24:20 CEST 2010, the correct local time, but
'hwclock --show' still gives the 'wrong' time (-2 hours)

ntp is obviously installed but ntpd is not running and ntpdate is most likely not used in a cron job or something, because the time was off for at least 3 weeks. (since install).

- Has this something to do with Amahi or is it strictly Fedora?
- Is there a reason that Amahi doesn't use ntp to adjust the time?
- Wat is the correct way to adjust the time? Is it correct that the hardware clock is showing time in what seems to be UTC, or is that the problem?



Richard

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Amahi and/or Fedora time settings

Postby moredruid » Tue Sep 14, 2010 10:56 pm

this is a fedora "issue".

you can start the ntp server; it will try to sync.
to enable ntp after each reboot you can run: chkconfig ntpd on
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 28 guests