calaos / calaos_base

Calaos server
https://calaos.fr
GNU General Public License v3.0
160 stars 37 forks source link

Problem when switching to winter time #87

Closed Eric6464 closed 9 years ago

Eric6464 commented 9 years ago

Problem when switching to winter time (-1h). The clock remote 2h. The time is always 1 hour behind even after entering the command: ln -sf / usr / share / zoneinfo / Europe / Paris / etc / localtime

raoulh commented 9 years ago

Did you try to force a clock update with these commands?

systemctl stop ntpd
ntpd -gq
systemctl start ntpd
Eric6464 commented 9 years ago

Yes i tried it, but nothing has changed.

naguirre commented 9 years ago

Could you please give the output of : timedatectl

raoulh commented 9 years ago

Did you restart completely the machine after the changing the timezone?

Eric6464 commented 9 years ago

Before the winter time, i entered this command : ln -sf / usr / share / zoneinfo / Europe / Paris / etc / localtime -> date and time were right.

When switching automatically in the winter time : date and time were wrong. I entered this commande : ln -sf / usr / share / zoneinfo / Europe / Paris / etc / localtime -> Date and time stay wrong. I restart the machine -> date and time are ok.

This is the timedatectl after i had recovered the right date and time : timedatectl

So, the solution is to re-enter the command and restart the machine... but that does not run automatically.