Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [9th Oct, 2019]
- A suggestion to temporarily fix the issue with the "Red Screen of Death" on Daedalus UI on 64 bit Ubuntu machines running "systemd" and the NTP sync issues associated with it? As stated on the following page https://iohk.zendesk.com/hc/en-us/articles/360010230873
- Relates to Daedalus 0.14.0 / Cardano SL 3.0.3.7144 and Ubuntu Studio 19.04 in my instance. May help and may not help others in the know. I myself am a novice Linux user so if the information is incorrect then please let me know via TG channel (https://t.me/CardanoCommunityTechSupport) - user @Rusty_gh0st
- Knowledge of the use of a Linux terminal and some of the tools that are commonly used would be of benefit when using this instruction. I'm sure the folks at IOHK know their way around a Linux machine all too well.
- #####################################################
- Quick & Dirty version (for confident Linux CLI users)
- #####################################################
- Step 1:
- Modify the "timesyncd.conf" file under /etc/systemd/ with the uncommenting lines under [Time] heading...
- Note: Super User permissions required and maybe so make a copy of it for your peace of mind (optional)
- [Time]
- NTP=0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org
- FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 0.fr.pool.ntp.org ntp.ubuntu.com
- Step 2:
- After you have edited / saved "timesyncd.conf" file and your back in the terminal run command "...$ timedatectl set-ntp true"
- Step 3:
- run command "...$ timedatectl status" to see if within the output shown that "NTP service: active"
- ################################################################################
- More Informative Version for not so confident Linux users (Ubuntu 19.04 based)
- ################################################################################
- 1. From a Ubuntu machine open up a CLI / Terminal of your choice and run command ...$ timedatectl status
- Note: my machine had the default xfce4-terminal (ver 0.8.7.4), so I opened/accessed that by using keyboard sequence "ctrl" + "alt" + "t" on my Ubuntu instance.
- You should see the following printed out and a status note indicating that the "NTP service" is inactive. See the sample output below in the next section.
- user@ubuntu1904:/etc/systemd$ timedatectl status
- Local time: Wed 2019-10-09 17:49:50 IST
- Universal time: Wed 2019-10-09 16:49:50 UTC
- RTC time: Wed 2019-10-09 16:49:50
- Time zone: Europe/London (IST, +0100)
- System clock synchronized: yes
- NTP service: inactive
- RTC in local TZ: no
- 2. To fix you need to edit the following configuration file in /etc/systemd/timesyncd.conf
- Note: you may be inclined to take a copy/backup of this important systemd file [Super user privileges required] so optionally do a...$ sudo cp /etc/systemd/timesyncd.conf /etc/systemd/timesyncd.conf.backup
- 3. Next, we want to edit the file using the standard CLI text editior usually installed "nano" [Super user privileges required] ...$ sudo nano /etc/systemd/timesyncd.conf
- 4. Uncomment or delete the # characters and add/modify the following lines shown in step 5.
- Note: If unfamiliar with the CLI text editor "nano", you'll need to use arrow keys to move the cursor to the position that you'll be doing edits.
- as it's important file to be editing, users
- you'll be un-commenting the following lines by removing # character under [Time] heading:
- [Time]
- #NTP=
- #FallbackNTP=ntp.ubuntu.com
- then you'll need to edit/add the following under [Time] heading:
- [Time]
- NTP=0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org
- FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 0.fr.pool.ntp.org ntp.ubuntu.com
- 5. Once you've typed/modified the text to match above, hit keys "CTRL" + "X" to initiate the save the prompt, type "y" for yes and hit "enter" to exit nano back to terminal prompt.
- 6. This brings you back to the terminal of your choice (xfce4-terminal v0.8.7.4 in my machine)
- 7. Now in the terminal run ...$ timedatectl set-ntp true
- 8. Then enter and run the command once more to check that the NTP service is now active ...$ timedatectl status
- user@ubuntu1904:/etc/systemd$ timedatectl status
- Local time: Wed 2019-10-09 18:24:12 IST
- Universal time: Wed 2019-10-09 17:24:12 UTC
- RTC time: Wed 2019-10-09 17:24:12
- Time zone: Europe/London (IST, +0100)
- System clock synchronized: yes
- NTP service: active
- RTC in local TZ: no
- 9. Restart your version of Daedalus (in my case it was Daedalus 0.14.0 / Cardano SL 3.0.3.7144). You may had it running in the background with the issue or Red Screen of Death while it was active. Should be resolved after opening up the application again.
- --------------------------------------------------------------------
- To undo if required, just undo your edits in the /etc/systemd/timesyncd.conf configuration file, save and run ...$ timedatectl set-ntp true and following that with a status check command ...$ timedatectl status and check if "NTP service" is now inactive.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement