Run 
# rtc -c -z UTC
# ntpdate pool.ntp.org

This should set your current settings to UTC in /etc/rtc_config and update the 
time to normal (rtc by itself re-evaluates the HW clock value as being in UTC 
timezone now and this is wrong usually). Better stop your services that are 
sensitive to time first though, and/or reboot.

On a server without UTC HW clock we have:
# /etc/rtc_config:
zone_info=Europe/Moscow
zone_lag=-14400

(note the minus)

# /etc/TIMEZONE :
TZ=Europe/Moscow
CMASK=022


On a server with UTC set up we have:

# /etc/rtc_config:
zone_info=UTC
zone_lag=0

# /etc/TIMEZONE :
TZ=Europe/Moscow
CMASK=022

We had a number of different issues on Solaris 10 x86 due to local rtc clock 
timezone, so the general workaround is to set it to UTC, ASAP after or during 
the initial installation.

Issues were: Sol10u2 processes zombied after summer/winter time switch; 
various: boot_archive invalidated after time switch and reboot (/etc/rtc_config 
differs).
 
 
This message posted from opensolaris.org

Reply via email to