Date command output:
# date
Sun Dec 4 00:33:27 HST 2016
As seen above HST is not indian. According to India IST (Indian Standard Time) is correct.
I tried update time using ntpdate command but not updated successfully.
# ntpdate pool.ntp.org
5 Dec 00:34:27 ntpdate[23792]: 203.123.48.219 rate limit response from server.
5 Dec 00:34:27 ntpdate[23792]: adjust time server 210.23.18.200 offset -0.000570 sec
Time zone file location
# ls /usr/share/zoneinfo/
Delete time current timezone as this is not correct
# rm /etc/localtime
Make symbolic link, according to Country standard
# ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
# ntpdate pool.ntp.org
4 Dec 23:30:57 ntpdate[4113]: step time server 139.59.21.22 offset -18.019687 sec
# /etc/init.d/ntpd start
# chkconfig ntpd on
# date
Sun Dec 4 23:31:28 IST 2016
# date
Sun Dec 4 00:33:27 HST 2016
As seen above HST is not indian. According to India IST (Indian Standard Time) is correct.
I tried update time using ntpdate command but not updated successfully.
# ntpdate pool.ntp.org
5 Dec 00:34:27 ntpdate[23792]: 203.123.48.219 rate limit response from server.
5 Dec 00:34:27 ntpdate[23792]: adjust time server 210.23.18.200 offset -0.000570 sec
Time zone file location
# ls /usr/share/zoneinfo/
Delete time current timezone as this is not correct
# rm /etc/localtime
Make symbolic link, according to Country standard
# ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
# ntpdate pool.ntp.org
4 Dec 23:30:57 ntpdate[4113]: step time server 139.59.21.22 offset -18.019687 sec
# /etc/init.d/ntpd start
# chkconfig ntpd on
# date
Sun Dec 4 23:31:28 IST 2016
I gathered as much knowledge regarding to the Linux, web sever and database server from your site.Keep on updating with more interesting topic.
ReplyDeleteMoreover to recover the lost file from Linux Click on:
android data recovery review
launch android data recovery
backup and restore android apps and data
android backup app data
recover lost files
diskdigger pro file recovery