server date time change on every boot
HI
I have centos 5.8 everytime when I reboot the system Its time get change to MST or other zone. then I manually do it by cp /usr/share/zoneinfo/Asia/Calcutta /etc/localtime and its showing the IST time. what sud i required to do solve this issue. !!! |
Quote:
I don't think cp works but I believe this will: terminal > Code:
mv /etc/localtime /etc/localtime.bak Code:
date IF this is a virtualized host, there may be other bits we'd have to "flip" (further instructions). If you have rebooted and it doesn't keep, then is this a virtual host? http://www.centos.org/modules/newbb/...topic_id=12589 http://www.linuxtopia.org/online_boo...time-zone.html |
HI
Its not a virtual system. when I have different zone rather than IST afte reboot then I just do the following cp /usr/share/zoneinfo/Asia/Calcutta /etc/localtime and it changed with the current IST time. |
Quote:
Code:
ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime |
Quote:
|
also check if Network Time Server is being used
on the unsupported CentOS 5.8 it is by default -- PS. 5.8 is unsupported , time up upgrade to CentOS 5.9 set NTS to the time zone you need |
Quote:
|
if you are using the 6x repo ( /6x/$basearch/os/ )a normal update( or upgrade ) will do
but if you are using the default 6.3 ( $releasever/$basearch/os/) in the yum repo line then Code:
su - |
Quote:
there might be some issue if you are running RHEL with that type of update, but not with CentOS as it is not a 100% fork of RHEL |
it must be dead cmos battery.... try replacing it ....that would be the first thing i would do
|
All times are GMT -5. The time now is 08:23 AM. |