{"id":548,"date":"2011-05-30T11:57:35","date_gmt":"2011-05-30T11:57:35","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2011\/05\/30\/centos-timezone-not-updating\/"},"modified":"2021-07-24T18:31:35","modified_gmt":"2021-07-24T18:31:35","slug":"centos-timezone-not-updating","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX\/Linux\/centos-timezone-not-updating.html","title":{"rendered":"CentOS timezone not updating"},"content":{"rendered":"
When configuring the timezone within Centos the correct timezone is not propagated and the output of the command date does not represent the timezone previously configured.<\/p>\n
This can be caused by corrupted timezone files. To resolve the issue remove the soft-link, reinstall tzdata and then recreate the soft-link to the necessary timezone.<\/p>\n
[root@server ~]# rm \/etc\/localtime
rm: remove regular file '\/etc\/localtime'? y<\/pre>\n<\/p>\n
[root@server ~]# yum reinstall tzdata -y
[root@server ~]# ln -s \/usr\/share\/zoneinfo\/GB \/etc\/localtime
[root@server ~]# date
Fri May 22 12:05:06 BST 2011<\/pre>\n","protected":false},"excerpt":{"rendered":"ISSUE When configuring the timezone within Centos the correct timezone is not propagated and the output of the command date does not represent the timezone previously configured. SOLUTION This can be caused by corrupted timezone files. To resolve the issue remove the soft-link, reinstall tzdata and then recreate the soft-link to the necessary timezone. [root@server … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"yoast_head":"\n
CentOS timezone not updating - Fir3net<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n