Linux Lite Forums
Can't sync clock - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: Can't sync clock (/showthread.php?tid=2800)



Can't sync clock - paul1149 - 03-27-2016

Hi,


I'm not able to set the system clock to synchronize. I go into the LL Control Center and select Date and Time. On the first tab is "[] Synchronize date and time over network". I check that, the NTP service starts, but I get an error that it couldn't complete:


[Image: 1kN7b8G.png]


I added the government server just to be sure that's not the problem.


I added the NTP rule to the UFW firewall. I even dropped the firewall for testing, but I still get the same error.


The odd thing is that the clock has the correct time, so it must be syncing, but this dialog is erroring out.


Any insight would be appreciated.








Re: Can't sync clock - Wirezfree - 03-27-2016

Hi,

I used this ntp info page. includes how to test it's working

But don't use the 2nd command the "sudo apt-get dist-upgrade", others O.K


Re: Can't sync clock - paul1149 - 03-27-2016

Hi Wirezfree,

Thanks much. It seems that NTP is up and running properly, according to the test on that page. Still getting the same error from the Date and Time interface though. Maybe it's not important.


Re: Can't sync clock - LL-user - 03-28-2016

Hi paul1149,

I had an intense look around, tested several approaches I found on the internet on three different LL 2.8 installations. No luck, the GUI throws out that error message...

However, setting ntp synchronization up on the command line works just fine. Not only is ntpd running, it also does it's job.
Does "running properly" mean it's the same on your end?

Hope that's the case Smile

PS: Learnt something new along the way: fake-hwclock
see here: https://askubuntu.com/questions/254826/how-to-force-a-clock-update-using-ntp/443077#443077



Re: Can't sync clock - paul1149 - 03-28-2016

Thanks very much for that confirmation, LL-user, and for all that legwork. I haven't set the clock manually, yet it's right on according to an official time site, so it has to be working, therefore it must be a GUI error of some kind. I don't think I have a RTC problem, so the fake-HWC solution shouldn't be necessary.

I looked into this because I've been having some certificate problems in my main browser. I'm thinking now that there is a problem with the install, and it should be uninstalled and reinstalled.

Thanks again.