[CentOS] Time Change: Centos-immune?
mcclnx at yahoo.com.tw
Wed Mar 7 18:12:48 UTC 2007
Use following command to check. you can login as any
/usr/sbin/zdump -v /etc/localtime | grep 2007
--- Stephen Harris <lists at spuddy.org> »¡¡G
> On Wed, Mar 07, 2007 at 09:59:02AM -0800, Florin
> Andrei wrote:
> > Karl R. Balsmeier wrote:
> > >
> > >Any action required?
> > Perhaps a naive question, but anyway:
> > Let's assume I'm running CentOS4 or RHEL4 and I
> updated it to
> > tzdata-2007c. Before that, it was using an old
> tzdata package that did
> > not have the US DST '07 patches.
> > Do I have to restart any service? ntpd?
> Any process started before you update /etc/localtime
> (and ensure that
> got updated correctly; it may not have been) may
> need to be restarted
> if it uses zoneinfo information. Two obvious ones
> are syslog and cron.
> The safest solution is to reboot.
> One way to check that localtime is correct (using
> /bin/sh or similar)
> . /etc/sysconfig/clock
> cmp /usr/share/zoneinfo/$ZONE /etc/localtime
> If it reports differences the
> cp /usr/share/zoneinfo/$ZONE /etc/localtime
> and then reboot.
> See also
> Once updated, a restart of all the applications
> relying on /etc/localtime
> is required. The easiest solution would be to
> reboot the machine in
> order to ensure that all the applications are
> properly updated.
> CentOS mailing list
> CentOS at centos.org
±zªº¥Í¬¡§Y®É³q ¡Ð ·¾³q¡B®T¼Ö¡B¥Í¬¡¡B¤u§@¤@¦¸·d©w¡I
More information about the CentOS