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년 전298회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인