NTP issues between Windows and Linux servers

Posted on 2011-05-11
Last Modified: 2012-05-11
I have several Windows and Linux servers that are both supposed to be configured to sync with our gateway which acts as a NTP server.  One of my Linux guys tells me the time is off between some of the servers and I can't figure out if this is true, and if it is, which servers are out of sync and why.

I am trying to find a simple NTP query tool which I can use to query the time on my Windows and Linux servers, i.e. those running w32tm or ntpd.   Can anyone suggest one?  I haven't been able to find anything meaningful, and for those few tools I did find, I am not clear on how to interpret the results.

thanks for the help!
Question by:AltaSens
    LVL 61

    Accepted Solution

    on linux you run ntpdate -q server_ip
    on windows you install meinberg NTP and use that NTPDATE.EXE same way.

    ntpdc -c monlist

    displays list of clients with their last synch time.

    probably it will be more apporpriate to search wor w32tm events in event log.
    LVL 57

    Expert Comment

    Why don't you have your Linux guy show you which ones are off?

    I don't know about Windows, but I do know that if Linux gets more than 1000 seconds out of sync it will not reset the time without manual intervention.  

    Now, are any of these comptuer virtual machines?  There are some issues with virtual machines loosing time because they may not get CPU time as often as they need.  Also at one time if you stopped a VM, the time would get out of sync.

    If they are physical boxes and are correctly configured for NTP they should not get out of sync.
    LVL 61

    Expert Comment

    > should not get out of sync

    normal lifetime of CMOS battery type CR2016 installed on desktop motherboards or server motherboeards or wristwatches is 5 years (or 2 years if you read warranty certificate)
    should you discover such run across the street to clock repair shop....
    LVL 61

    Expert Comment

    ntpdate -q windows_domain_dns_name.local

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do email signature updates give you a headache?

    Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

    Recently, I was asked to look into SCCM 2007 by my employer, having a degree of experience of earlier versions of SMS and some previous SCCM knowledge I didn't expect the procedure to involve to much time. I read a number of guides concerning it…
    Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
    This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now