From 232e80eb4d929bd31362dc59089d066e9d953cfe Mon Sep 17 00:00:00 2001 From: sydhds Date: Fri, 19 Jan 2024 09:48:08 +0100 Subject: [PATCH 1/2] Add FAQ entry about system clock synchronisation --- docs/node/faq.mdx | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/docs/node/faq.mdx b/docs/node/faq.mdx index 3802c3af1..aa010358d 100644 --- a/docs/node/faq.mdx +++ b/docs/node/faq.mdx @@ -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 cloks differ too much" + +The clock of your server is not synchronised. + +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 +` From 45a0bc44e4b53f23a72a21e4602526cff2112598 Mon Sep 17 00:00:00 2001 From: sydhds Date: Tue, 7 May 2024 09:55:46 +0200 Subject: [PATCH 2/2] Fix typo --- docs/node/faq.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/node/faq.mdx b/docs/node/faq.mdx index aa010358d..8edc3d06a 100644 --- a/docs/node/faq.mdx +++ b/docs/node/faq.mdx @@ -188,9 +188,9 @@ 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 cloks differ too much" +### Bootstrapping and error message "client & server clocks differ too much" -The clock of your server is not synchronised. +The clock of your server is not synchronized. On linux system using systemd, this can be checked using: