Tuesday, February 21, 2017

Reset/Update NTP Server


There was an older machine on the network, with an outdated local NTP configuration, and the time was off by a couple minutes. This post shows how to perform a quick update and force sync. Use at your own risk for time sensitive applications.


1. Update the NTP client configuration.


service ntpd stop
vi /etc/ntp.conf
 Find Line
server 192.168.x.x

Change to new server
Save and quit.
 service ntpd start

2.  Force synchronization
 date ; service ntpd stop ; ntpdate 192.168.1.1 ; service ntpd start ; date

In one fell swoop it will give you the current time, stop the service, force an update, start the service and give you the updated time.

Tue Feb 21 11:40:44 AST 2017
Shutting down ntpd:                   [  OK  ]
21 Feb 11:44:28 ntpdate[10457]: step time server 192.168.x.x offset 223.794778 sec
Starting ntpd:                        [  OK  ]
Tue Feb 21 11:44:28 AST 2017


That's it. All updated.


5 comments:

  1. The rapid configuration update has some influence on the subsequent work. This process is able to enhance the functionality largely.

    ReplyDelete
  2. "Advertising is your main tool to have the business ready to go. Actually, everybody is busy in their company marketing over the World Wide Web. Unfortunately, online company is scammed with scammers. On occasion the provider hires you freelance, or occasionally it is a site designer which orders the copy google At an identical time, if you decide on the most suitable company having excellent reviews and reputation, you will enjoy well composed works.
    http://google.com/ "

    ReplyDelete
  3. Wow! Thank you for such a useful information! I was going to purchase a paper about it at AdvancedWriters but you saved my money! I'm very grateful. Now I can update my server correctly.

    ReplyDelete
  4. I have it all turned out, cool! Thanks, I already did not even know what to do, but here I found your post and you helped me

    ReplyDelete
  5. AWS Training in Bangalore - Live Online & Classroom
    myTectra Amazon Web Services (AWS) certification training helps you to gain real time hands on experience on AWS. myTectra offers AWS training in Bangalore using classroom and AWS Online Training globally. AWS Training at myTectra delivered by the experienced professional who has atleast 4 years of relavent AWS experince and overall 8-15 years of IT experience. myTectra Offers AWS Training since 2013 and retained the positions of Top AWS Training Company in Bangalore and India.


    IOT Training in Bangalore - Live Online & Classroom
    IOT Training course observes iot as the platform for networking of different devices on the internet and their inter related communication. Reading data through the sensors and processing it with applications sitting in the cloud and thereafter passing the processed data to generate different kind of output is the motive of the complete curricula. Students are made to understand the type of input devices and communications among the devices in a wireless media.

    ReplyDelete