Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having an issue with NTP on red hat linux box. When I restart ntp, the server is able to sync with the clocks, (*, + & + ) but after some time (few seconds or 1 min), it's losing back the sync.
Can anyone tell me why its so ? and how can I fix it ?
Are you using a ntp pool server or syncing to your own? A few seconds or min is typically not enough time to sync i.e. *,+ or -. Post the output of the command:
ntpq -pn
Hi,
I am having an issue with NTP on red hat linux box. When I restart ntp, the server is able to sync with the clocks, (*, + & + ) but after some time (few seconds or 1 min), it's losing back the sync.
Can anyone tell me why its so ? and how can I fix it ?
The basics as to "why" usually boil down to too much difference between the system clock to start with, and the NTP daemon. Did you sync your system clock FIRST, before trying to start NTP??? Something like "sntp -s pool.ntp.org"??
And if this is a virtual machine, there are often times patches that MUST be loaded, otherwise the system will drift uncontrollably, no matter WHAT you do.
Please read the "Question Guidelines" link in my posting signature. You're not providing details, and having to keep asking for them over and over isn't too pleasant.
You still don't say what version of Red Hat you're using, whether you're paying for it, or what version of ESX either. Again, as michaelk pointed out, you probably need to perform some changes to your system. And AGAIN, you will ALSO probably have to have a patch from Red Hat and/or VMWare for this to function correctly. Have you contacted either Red Hat or VMware support yet??? You're paying for support, since both are commercial products, and they can advise you about the patches you may need.
Hello there,
The vmware link provided fixed it out. Had to disable the VMware Tools periodic time synchronization. Working fine now.
Probably WON'T be in a while...because....
Quote:
And here is the OS config:
Red Hat Enterprise Linux Server release 6.6 (Santiago) 2.6.32-431.29.2.el6.x86_64
ESX 5.1.0
You're using a fairly old version of ESX, and a dated version of RHEL. Again, ARE YOU PAYING for them??? Because there is a patch you have to load to KEEP NTP running, because it will drift very easily. That patch is available to ESX customers, and to RHEL customers. NTP will sync, and may stay ok for up to a day...but chances are it won't keep running much longer than that, unless you've applied the patch to your ESX.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.