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!

demandé il y a 2 ans300 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions