Red Hat Linux EC-2 clock randomly resets to UTC 0 after timedatectl used to change Timezone

0

Hi everyone,

I'm having problems with server time zones resetting to UTC 0, I had been requested to manually change a fleet of EC2 Linux servers (Red Hat) to UTC -5.

I ran timedatectl set-timezone America/Jamaica, restarted the timedatectl service and confirmed the clock had actually changed to UTC-5.

This all seemed fine until a few days later some servers began to randomly revert to UTC 0, does anyone know a definitive way to keep the servers timezones from reverting ?

Thanks in advance!

已提問 2 年前檢視次數 300 次
1 個回答
0

I've faced similar issue once in centos Linux earlier, as time-zone was changing to UTC at midnight, I've setup a cron daily to set the timezone back post midnight p.s timedatectl service doesn't require restart , it set instantly in centos/ubuntu, not sure about redhat.

sourav
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南