LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-27-2015, 04:15 PM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,945

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
some issues with CentOSv7 and NTP with timedatectl set-ntp yes


not working.

Code:
]# yum install ntpdate.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dattobackup.com
 * epel: mirror.symnds.com
 * extras: centos.mirrors.tds.net
 * updates: mirror.solarvps.com
Resolving Dependencies
--> Running transaction check
---> Package ntpdate.x86_64 0:4.2.6p5-19.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package            Arch              Version                           Repository          Size
=================================================================================================
Installing:
 ntpdate            x86_64            4.2.6p5-19.el7.centos             updates             82 k

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

Total download size: 82 k
Installed size: 121 k
Is this ok [y/d/N]: y
Downloading packages:
ntpdate-4.2.6p5-19.el7.centos.x86_64.rpm                                  |  82 kB  00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ntpdate-4.2.6p5-19.el7.centos.x86_64                                          1/1
  Verifying  : ntpdate-4.2.6p5-19.el7.centos.x86_64                                          1/1

Installed:
  ntpdate.x86_64 0:4.2.6p5-19.el7.centos

Complete!
[root@server~]# timedatectl set-ntp yes
[root@server~]# timedatectl
      Local time: Fri 2015-03-27 16:12:00 EDT
  Universal time: Fri 2015-03-27 20:12:00 UTC
        RTC time: Fri 2015-03-27 20:11:09
        Timezone: America/New_York (EDT, -0400)
     NTP enabled: n/a
NTP synchronized: no
 RTC in local TZ: no
      DST active: yes
 Last DST change: DST began at
                  Sun 2015-03-08 01:59:59 EST
                  Sun 2015-03-08 03:00:00 EDT
 Next DST change: DST ends (the clock jumps one hour backwards) at
                  Sun 2015-11-01 01:59:59 EDT
                  Sun 2015-11-01 01:00:00 EST
first time around i didnt have ntp installed so it should fail to activate, but after install ntp why is it still not enabled even after running the proper command to activate ntp mode?
 
Old 03-28-2015, 05:20 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
EEEEK!!!!

SystemD... the Godless hellscape I've been warned about....

It's probably damnation to even talk to you, but I just can't stand the thought of your little NTP client constantly grinding away at your processor, trying to find a time server that doesn't have a name... because you never configured it in /etc/ntp... or at least that's the way it appears.

Come to the light, child...


Last edited by dijetlo; 03-28-2015 at 05:24 AM.
 
1 members found this post helpful.
Old 03-30-2015, 08:22 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,945

Original Poster
Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
thank you for the link.
 
Old 03-30-2015, 09:45 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
No problem, thanks for having a sense of humor about it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get NTP client logs on NTP server LinuxLover Linux - Server 6 03-26-2015 06:44 AM
ntp client is not syncing with ntp server time sagar666 Linux - Server 3 12-19-2014 05:47 AM
NTP client is not syncing to ntp server LittleMaster Linux - Newbie 6 04-05-2013 03:37 PM
[SOLVED] NTP configuration in client to synchronize with NTP server. antnish Linux - General 12 04-01-2013 02:49 PM
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration