Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[Solved] Problem with time updation

Message
Author
User avatar
vamsi
Forum Regular
Forum Regular
Posts: 433
Joined: Thu Apr 13, 2017 2:50 am

[Solved] Problem with time updation

#1 Post by vamsi » Mon Jul 30, 2018 11:44 am

I have no issues till now with time updating via internet but i now came with an issue that my time don't update via internet i couldn't understand what may be the problem
Note:- My RTC circuit in cpu is not working so i update date and time via internet

I have removed and install ntp but it didn't fixed though :angel: :angel:
Last edited by vamsi on Fri Aug 03, 2018 5:53 am, edited 1 time in total.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1695
Joined: Wed Apr 11, 2018 5:09 pm

Re: Problem with time updation

#2 Post by fehlix » Mon Jul 30, 2018 5:57 pm

vamsi wrote:
Mon Jul 30, 2018 11:44 am
I have no issues till now with time updating via internet but i now came with an issue that my time don't update via internet i couldn't understand what may be the problem
Note:- My RTC circuit in cpu is not working so i update date and time via internet

I have removed and install ntp but it didn't fixed though :angel: :angel:
Sometimes it helps by just replacing the battery. As with the battrey the bios-clock (RTC)
reset to something of start-time of that clock, which can be some years ago.

Further note, even if your internet is working, if the internal bios- clock is totaly wrong, the NTP service
does sometime have difficulties with those wrong clock to correct. Or even worse
you internet acess has dificulties to get established due to timestamp-issues of the transferd package or certificates.
Turning an the PC and go into the bios to manually correct the time does help also very often here.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

turtlebay777
Forum Regular
Forum Regular
Posts: 199
Joined: Sat Apr 14, 2018 2:40 pm

Re: Problem with time updation

#3 Post by turtlebay777 » Mon Jul 30, 2018 6:37 pm

In Win XP and then 7, I used to use this, https://www.gregorybraun.com/WebTime.html

Isn't there anything similar for Linux?
WebTime 2000 is a small utility program that will synchronize your PC's internal clock with one of the several atomic clocks maintained by the United States National Institute of Standards and Technology.

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 433
Joined: Thu Apr 13, 2017 2:50 am

Re: Problem with time updation

#4 Post by vamsi » Tue Jul 31, 2018 1:57 am

[/quote]
Sometimes it helps by just replacing the battery. As with the battrey the bios-clock (RTC)
reset to something of start-time of that clock, which can be some years ago.

Further note, even if your internet is working, if the internal bios- clock is totaly wrong, the NTP service
does sometime have difficulties with those wrong clock to correct. Or even worse
you internet acess has dificulties to get established due to timestamp-issues of the transferd package or certificates.
Turning an the PC and go into the bios to manually correct the time does help also very often here.
[/quote]

THANKS FOR THE REPLY

Image


But it is the error i have faced

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 433
Joined: Thu Apr 13, 2017 2:50 am

Re: Problem with time updation

#5 Post by vamsi » Tue Jul 31, 2018 5:45 am

This is the Output and it shouldn't show zeros but it is showing

Code: Select all

$ ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 0.in.pool.ntp.o .POOL.          16 p    -   64    0    0.000    0.000   0.000
 1.in.pool.ntp.o .POOL.          16 p    -   64    0    0.000    0.000   0.000
 2.in.pool.ntp.o .POOL.          16 p    -   64    0    0.000    0.000   0.000
 3.in.pool.ntp.o .POOL.          16 p    -   64    0    0.000    0.000   0.000
I couldn't understand this "no server suitable for synchronization found" error is there any way to fix it :confused: :confused:

Code: Select all

$ sudo ntpdate -qu 1.ro.pool.ntp.org
server 82.78.227.6, stratum 0, offset 0.000000, delay 0.00000
server 91.216.151.61, stratum 0, offset 0.000000, delay 0.00000
server 83.166.201.100, stratum 0, offset 0.000000, delay 0.00000
server 193.22.95.9, stratum 0, offset 0.000000, delay 0.00000
31 Jul 03:18:59 ntpdate[5257]: no server suitable for synchronization found

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1695
Joined: Wed Apr 11, 2018 5:09 pm

Re: Problem with time updation

#6 Post by fehlix » Tue Jul 31, 2018 7:18 pm

show the output of:

Code: Select all

LANG=C timedatectl status
and again

Code: Select all

ntpq -pn
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 433
Joined: Thu Apr 13, 2017 2:50 am

Re: Problem with time updation

#7 Post by vamsi » Wed Aug 01, 2018 2:10 am

fehlix wrote:
Tue Jul 31, 2018 7:18 pm
show the output of:

Code: Select all

LANG=C timedatectl status
and again

Code: Select all

ntpq -pn
Here are the output of the commands

Code: Select all

$ LANG=C timedatectl status
      Local time: Wed 2018-08-01 11:37:32 IST
  Universal time: Wed 2018-08-01 06:07:32 UTC
        RTC time: Wed 2018-08-01 06:07:33
       Time zone: Asia/Kolkata (IST, +0530)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

Code: Select all

$ ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 123.108.200.124 .INIT.          16 u    -   64    0    0.000    0.000   0.000
 103.245.79.18   .INIT.          16 u    -   64    0    0.000    0.000   0.000
 129.250.35.250  .INIT.          16 u    -   64    0    0.000    0.000   0.000
Is it problem with my network and my network is fine though..
Thanks..

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1695
Joined: Wed Apr 11, 2018 5:09 pm

Re: Problem with time updation

#8 Post by fehlix » Wed Aug 01, 2018 9:07 am

I can't see any issue with your time settings. The ntp seems to sync fine.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
vamsi
Forum Regular
Forum Regular
Posts: 433
Joined: Thu Apr 13, 2017 2:50 am

Re: Problem with time updation

#9 Post by vamsi » Thu Aug 02, 2018 6:53 am

fehlix wrote:
Wed Aug 01, 2018 9:07 am
I can't see any issue with your time settings. The ntp seems to sync fine.
I shutdowned my pc and inserted live MX Linux usb and in that also time is not updating same problem and in Linux Mint also i faced this problem but in Windows it is synchronizing perfectly when i clicked on synchronize option i don't have any idea how to solve this problem though previously it used to work fine..

User avatar
Richard
Posts: 2069
Joined: Fri Dec 12, 2008 10:31 am

Re: Problem with time updation

#10 Post by Richard » Thu Aug 02, 2018 7:10 am

Code: Select all

  RTC time: Wed 2018-08-01 06:07:33
  RTC in local TZ: no
The quick solution is to set your hardware clock to Local Time Zone, like Windows.
MX171: Lenovo T430: Intel DualCore i5-3320M, 8 GB RAM, 4.18.7-antix.1-amd64-smp, 119GB SSD
MX171: AA1-ZG5/EeePC-1005HA: DualCore N270, 1 GB RAM, 4.9.126-antix.1-686-smp-pae, 150GB HDD
Doublecmd84, LibO61, Dropbx, PMoon, CherryT,Vbox. LinuxCounter #208633

Post Reply

Return to “Software / Configuration”