We have use T5220 server as BMS Server ,when we use BMS N2000 to config NE time,the BMS will automatic add 5 hour to NE time ,that's mean still use China TIMEZONE, When we use XMANGER login to Server and use "date" command to check the server time ,It is show right time (Show TIMEZONE is EEST),but when we use telnet login to server ,use "date" command to check the server time, but it is still show China time (Show TIMEZONE is CST), That is mean in server core is still running CST TIMEZONE ,just the shell is show local time (Turkey time ,TIMEZON is EEST), That is mean the TIMEZONE configuration file is not active,
when we use BMS N2000 to config NE time,the BMS will automatic add 5 hour to NE time.
Reason: if the link between /etc/TIMEZONE and /etc/default/init file is lost ,So when change the /etc/TIMEZONE file the /etc/default/init can not be change ,so system TIMEZONE not change ,may be when copy one TIMEZONE file from another server and direct overwrite this server TIMEZON file ,the link will be lost.
Recover solution :
1. cd /etc
2. mv TIMEZONE TIMEZONE.bak
3. cd /etc/default
4. use VI to edit the init file and modify TZ=PRC to TZ=Turkey,
5. cd /etc
6. make the link between /etc/TIMEZONE and /etc/default/init file use command:#ln �s ./default/init TIMEZONE
7. check the link is ok or not use command:#ls �l TIMEZONE
If link is OK should show like this:lrwxrwxrwx 1 root root 14 Aug 6 14:36 TIMEZONE -> ./default/init
8 .reboot system:#sync;sync;sync;sync;
# shuntdown �y �g0 �i6
General the /etc/TIMEZONE file just a link file of the /etc/default/init file ,the init file is real configuration of system ,so we check the /etc/TIMEZONE file ,the TZ is TZ=Turkey ,but in /etc/default/init file , the TZ is TZ=PRC,