It is currently Mon Jul 22, 2024 4:18 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Sun Feb 02, 2014 5:24 pm  (#21) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
saulgoode wrote:
The above instructions come from the Fedora 19 documentation.

That documentation is for Fedora 13. I believe since Release 15, Fedora uses systemctl for configuring services like ntpd, although service ntpd restart might still work.

Something like...

systemctl status ntpd.service
systemctl start ntpd.service

NTP config should be accessible from the GUI, but I don't use Gnome3, so I don't know where it might be located in that Desktop Environment.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Sun Feb 02, 2014 5:48 pm  (#22) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
okay, thanks everyone for trying to help. I guess I will just live with it.

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Sun Feb 02, 2014 5:48 pm  (#23) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
GnuTux wrote:
That documentation is for Fedora 13. I believe since Release 15, Fedora uses systemctl for configuring services like ntpd, although service ntpd restart might still work.

Oops. Sorry about that, molly. I would still expect it to work as long as you can start the NTP daemon.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Sun Feb 02, 2014 5:55 pm  (#24) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I restarted and then I opened terminal and went to root, then put in this command.
chkconfig ntpd on
This is what I got below.

[root@localhost ~]# chkconfig ntpd on
error reading information on service ntpd: No such file or directory
[root@localhost ~]#

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Sun Feb 02, 2014 6:03 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I turned server sync off with mine (Windows though), and it seems to be fine now. :lol

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Sun Feb 02, 2014 6:04 pm  (#26) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks but I don't know where to find that in Linux. I will try searching
I typed in server and settings came up then sharing.
under computer name it says local host local domain
beside media sharing, it shows off
beside remote login, it says on
I don't supposed this is what I am looking for is it?

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 9:56 am  (#27) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Molly,

Enter this in terminal and post the results back here...

timedatectl

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:02 am  (#28) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
[molly@localhost ~]$ timedatectl
      Local time: Mon 2014-02-03 11:00:00 EST
  Universal time: Mon 2014-02-03 16:00:00 UTC
        Timezone: America/Toronto (EST, -0500)
     NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: yes
      DST active: no
Last DST change: DST ended at
                  Sun 2013-11-03 01:59:59 EDT
                  Sun 2013-11-03 01:00:00 EST
Next DST change: DST begins (the clock jumps one hour forward) at
                  Sun 2014-03-09 01:59:59 EST
                  Sun 2014-03-09 03:00:00 EDT

Warning: The RTC is configured to maintain time in the local time zone. This
         mode is not fully supported and will create various problems with time
         zone changes and daylight saving adjustments. If at all possible use
         RTC in UTC, by calling 'timedatectl set-local-rtc 0'.
[molly@localhost ~]$

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:21 am  (#29) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
From what I gather, since F19, Fedora no longer uses NTP (even though it references it in your output). It uses chronyd instead, which should be enabled by default.

According to the output you posted, NTP (via chronyd) is not enabled or sync'd so that is your problem. What is the output from the following command?

systemctl status chronyd.service

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:26 am  (#30) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
[molly@localhost ~]$ systemctl status chronyd.service
chronyd.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

[molly@localhost ~]$
[molly@localhost ~]$

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:32 am  (#31) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
As root, from terminal..

yum install chrony

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:40 am  (#32) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
[molly@localhost ~]$ su -
Password:
[root@localhost ~]# yum install chrony
Loaded plugins: langpacks, refresh-packagekit
Dropbox                                                  |  951 B     00:00     
adobe-linux-x86_64                                       |  951 B     00:00     
rpmfusion-free-updates                                   | 3.3 kB     00:00     
rpmfusion-nonfree-updates                                | 3.3 kB     00:00     
updates/19/x86_64/metalink                               |  17 kB     00:00     
updates                                                  | 4.7 kB     00:00     
updates/19/x86_64/primary_db                               |  10 MB   00:06     
updates/19/x86_64/pkgtags      FAILED                                         
http://lug.mtu.edu/fedora/updates/19/x86_64/repodata/pkgtags.sqlite.gz: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
(1/2): updates/19/x86_64/updateinfo                        | 1.0 MB   00:00     
(2/2): updates/19/x86_64/pkgtags                           | 887 kB   00:01     
Resolving Dependencies
--> Running transaction check
---> Package chrony.x86_64 0:1.29-1.fc19 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package         Arch            Version                 Repository        Size
================================================================================
Installing:
chrony          x86_64          1.29-1.fc19             updates          252 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 252 k
Installed size: 550 k
Is this ok [y/d/N]: y
Downloading packages:
chrony-1.29-1.fc19.x86_64.rpm                              | 252 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : chrony-1.29-1.fc19.x86_64                                    1/1
  Verifying  : chrony-1.29-1.fc19.x86_64                                    1/1

Installed:
  chrony.x86_64 0:1.29-1.fc19                                                   

Complete!
[root@localhost ~]#

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:43 am  (#33) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
[molly@localhost ~]$ su -
Password:
[root@localhost ~]# systemctl status chronyd.service
chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
Active: inactive (dead)

[root@localhost ~]#

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:44 am  (#34) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
To start chronyd, issue the following command as root

systemctl start chronyd

To ensure chronyd starts automatically at system start, also issue the following as root

systemctl enable chronyd

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:48 am  (#35) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Is this what it should look like?
[root@localhost ~]# systemctl start chronyd
[root@localhost ~]# systemctl enable chronyd
[root@localhost ~]#

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:52 am  (#36) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Try these two instead...

systemctl start chronyd.service
systemctl enable chronyd.service

Then, post the output back to here from..

systemctl status chronyd.service

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:53 am  (#37) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Tux, I think my clock just fixed itself, I just looked up and it says 10:53 Should I reboot to see if it stays that way first?

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 10:55 am  (#38) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
It didn't fix itself. ;) We are almost done.

Go ahead and issue the last 3 commands I posted and post the output from the last one.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 11:00 am  (#39) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
[root@localhost ~]# systemctl status chronyd.service
chronyd.service - NTP client/server
   Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
   Active: active (running) since Mon 2014-02-03 11:55:20 EST; 55min left
Main PID: 394 (chronyd)
   CGroup: name=systemd:/system/chronyd.service
           └─394 /usr/sbin/chronyd -u chrony

Feb 03 11:55:19 localhost.localdomain chronyd[394]: chronyd version 1.29 star...
Feb 03 11:55:19 localhost.localdomain chronyd[394]: Linux kernel major=3 mino...
Feb 03 11:55:19 localhost.localdomain chronyd[394]: hz=100 shift_hz=7 freq_sc...
Feb 03 11:55:20 localhost.localdomain chronyd[394]: Frequency 20.149 +/- 4.58...
Feb 03 11:55:34 localhost.localdomain chronyd[394]: Selected source 142.201.7...
Feb 03 11:55:34 localhost.localdomain chronyd[394]: System clock wrong by -35...
Feb 03 10:55:34 localhost.localdomain chronyd[394]: System clock was stepped ...
Feb 03 10:57:44 localhost.localdomain chronyd[394]: Selected source 24.72.103.44
Feb 03 10:57:45 localhost.localdomain systemd[1]: Started NTP client/server.
Feb 03 10:58:57 localhost.localdomain systemd[1]: Started NTP client/server.
[root@localhost ~]#

_________________
Image


Top
 Post subject: Re: My Clock Keeps Changing ahead an hour
PostPosted: Mon Feb 03, 2014 11:01 am  (#40) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Ok, now run this and post back the results..

timedatectl

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Alert: Potential security risk ahead

5

No new posts Attachment(s) Gimp still running after an hour of closing it down

9

No new posts Attachment(s) Any script for clock dials?

5

No new posts Attachment(s) Assignment: create an animated brush to make clock face.

9

No new posts GIMP changing DPI

2



* Login  



Powered by phpBB3 © phpBB Group