Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FAQ entry about system clock synchronisation #278

Merged
merged 2 commits into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions docs/node/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,51 @@ To do this, edit (or create if absent) the file `massa-node/config/config.toml`
```

then restart your node.

### Bootstrapping and error message "client & server clocks differ too much"

The clock of your server is not synchronized.

On linux system using systemd, this can be checked using:

`timedatectl`

Check the line starting with 'System clock synchronized':

`
Local time: Wed 2018-06-13 12:38:51 UTC
Universal time: Wed 2018-06-13 12:38:51 UTC
RTC time: Wed 2018-06-13 12:38:51
Time zone: ETC/UTC (UTC, +0000)
System clock synchronized: no
systemd-timesyncd.service active: yes
RTC in local TZ: no
`

To fix this, edit the following file:

`
sudo nano /etc/systemd/timesyncd.conf
`

Edit the NTP Server detail (from https://www.ntppool.org/zone/@):

`
[Time]
NTP=0.ch.pool.ntp.org 1.ch.pool.ntp.org
FallbackNTP=0.north-america.pool.ntp.org 1.north-america.pool.ntp.org
`

Then:

`
sudo systemctl daemon-reload
sudo timedatectl set-ntp off
sudo timedatectl set-ntp on
`

and you can check it with:

`
timedatectl status
`
Loading