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?