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!

posta 2 anni fa299 visualizzazioni
1 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande