Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Reset NTP Daemon to sync with time server

Posted on 2011-02-16
Medium Priority
Last Modified: 2012-06-27
I need to reset ntp daemon to sync with time server. The server is running as a VM and is Debian based Linux server.
Question by:rtroia
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1

Accepted Solution

AriMc earned 500 total points
ID: 34908049
Edit your /etc/ntp.conf and file the lines starting with "server. Edit the hostnames to contain your preferred ntp-servers:

server 0.debian.pool.ntp.org iburst dynamic
server 1.debian.pool.ntp.org iburst dynamic
server 2.debian.pool.ntp.org iburst dynamic
server 3.debian.pool.ntp.org iburst dynamic

Then restart ntp-service

/etc/init.d/ntp restart

Check the results after a few minutes:

ntpq -p

LVL 124
ID: 34908074
why do you not have VMware Tools installed and Sync-ing time with the host?

Author Comment

ID: 34908303
Hanccocka,  good question, I did not install the software and the person who did is gone and left very little documentation.  I would not know how to install the VMware Tools on linux if my life depended on it.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 34908425
What do I look for to see if the process was successful?
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 248 total points
ID: 34908434
LVL 124
ID: 34908440
It's beneficial to have VMware Tools installed not just for Time Sync.

Author Comment

ID: 34908446
How do I edit the  /etc/ntp.conf file and how to I install VMWare tools on the Linux server?
LVL 124
ID: 34908461

Assisted Solution

cdjc earned 252 total points
ID: 34908922
It's important to note that if your Debian VM was configured to synch time with NTP, as opposed to using VMware Tools, then there is a possibility that any other VMs are also set to sync to that same time source, and there could be a valid reason for doing so (Corporate standards, etc.)

You want to make sure that you confirm what the standard time sync practice is on all of your virtual and physical machines before you go ahead with configuring VMware Tools to sync the time with the host.

Assisted Solution

AriMc earned 500 total points
ID: 34909299
When your ntp is running and reaching the ntp-servers, you'll see a listing like this with ntpq -p.
The reach, delay, offset and jitter values are mostly non-zeros when it works fine.

remote           refid      st t when poll reach   delay   offset  jitter
-ntp1.hut.fi     2 u  306  512  377    9.010   -0.037   0.080
+ntp2.kolumbus.f     2 u  303  512  377    8.861    0.599   0.176
+tursas.miuku.ne    2 u  280  512  377    8.774    0.436   0.127
-xdsl-83-150-82-     2 u  446  512  377   16.629    9.370  11.706
*ntp2.tdc.fi     .PPS.            1 u  448  512  377   11.140    0.487   0.106
-maukkaat.tontut     2 u  298  512  377   12.966   -0.206   0.372

Open in new window


Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Fine Tune your automatic Updates for Ubuntu / Debian
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question