NTP issues never ending

The network i am working on is a mixture of Linux and Windows. I have a primary NTP server running off windows 2003, i have set all windows and linux NTP to sync off of this machine.

Now i am mainly having a problem with my linux boxes being out of sync by hours!
I have followed all guidelines for NTP on both Windows and Linux, and all has been ok but gets iffy after a while.

I am hpoing for suggestions.
Can anyone suggest any NTP monitoring apps for the network?
LVL 2
alexr54Asked:
Who is Participating?
 
wesly_chenConnect With a Mentor Commented:
> out of sync by hours!
ntpd will fail is out of sync too much.

I usually do one more in cron job.
as root
# crontab -e
---------
0 * * ** /usr/bin/ntpdate -u <your ntp server> ; /sbin/hwclock -w
----------

Sync the time every hour. Also sync to your hardware clock.
0
 
alexr54Author Commented:
we have the exact cron job in place, still having issues.

Any reliable monitoring tool for this?
0
 
wesly_chenCommented:
manually run (as root)
ntpdate -u <your ntp server>
and check the result.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
wesly_chenCommented:
or
ntpdate <your ntp server>
(no -u)
0
 
upanwarCommented:
or
ntpdate <your ntp server>
(no -u)


to run above command NTP service should be stopped or you need to include -d option.

ntpdate -d <your ntp server>
0
 
alexr54Author Commented:
sorry guys im going to need to revisit this on Monday, away til then.

Thans for your help on this and hope we can work it out
0
 
upanwarCommented:
One more important info required, your linux and windows boxes are prhysical machines or there are the VMs.

If these are VMs then you need some other workaround, recently I have done the same in my envirinment.
0
 
alexr54Author Commented:
They are all physical machines, currently no VMs. All set to sync with the windows domain controller which works at NTP server and syncs off pool.ntp.org.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.