Redhat Server Time Changed Again!

Posted by Planet Malaysia on August 14, 2006

advertisement

This morning I was noticed that my RHEL3 server system time change again :( Most of the servers /etc/localtime was overwrited again!

Previously my servers system time overwrite because of glibc

[root@planetmy]# rpm -qf /etc/localtime
glibc-2.3.2-95.44

After that incident, I already configured up2date for exclude /etc/localtime

[root@planetmy]#up2date --configure
Please look for
6. fileSkipList /etc/localtime


I have check the server system log and founded they are few update recently such as ‘httpd-2.0.46-61.ent’, ‘httpd-devel-2.0.46-61.ent’, ‘mod_ssl-2.0.46-61.ent’ & ‘tzdata-2006g-1.EL3′ but I believe this won’t overwrite my /etc/localtime.

So what make my server time /etc/localtime overwrite? I have no idea so far

For a quick solution, I did:


mv /etc/localtime /etc/localtime.orig
cp -p /usr/share/zoneinfo/Asia/Kuala_Lumpur
/etc/localtime

#Note:
Previously I have a symbolic link
(ln -s /usr/share/zoneinfo/Asia/Kuala_Lumpur
/etc/localtime) instead of copy
/usr/share/zoneinfo/Asia/Kuala_Lumpur as
/etc/localtime.

Why? I have one server without any problem because of this. I can’t remember when I did this hehehehe…….

Please remember restart your crond, I have a bad experienment which my crond not running after changed the system time.

Possibly Related Posts:


Comments

Leave a Reply




Planet Malaysia

  • Follow us on Twitter


  • web www.planetmy.com