Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi!
I try to setup a HPC cluster with CentOS 5.5. But now there is no Internet connection available in the room where the hardware is located so I set up ntpd server using synchronization with local clock (maybe I do something wrong). Here is my ntp.conf file on a master node (the master node has IP 10.0.1.1, a file server has IP 10.0.1.2 and compute nodes are 10.0.1.3..10.0.1.11, comments are omitted):
Any time I try to install software building it from source when I run make I get a waring "Clock skew detected. Your build may be incomplete". Some software build successfully and run normally after install but some build tasks are failed for example when I try to build RPM's via 'make rpms' for BLCR I get an error message about invalid date in changelog. But the system date seems to be right. I suppose I have invalid settings of NTP. Can anybody help me?
Local clocks are, by default, stratum 16, and are untrusted time sources. You're going to need to get your time data from SOMEWHERE. Since there is no authoritative time source defined anywhere, your systems don't have a 'trusted' clock to sync to.
You could get a cheap USB connected GPS receiver, and get time from the GPS satellites. That would make your clock source a stratum 1 server, which is definitely trusted. Otherwise, you're going to have to figure out some way to get a network time source set up.
If I remember correctly, ntpd works only if initial time difference is small
So in additional to ntpd, you also need to run ntpdate on startup to get initial sync.
If I remember correctly, ntpd works only if initial time difference is small
So in additional to ntpd, you also need to run ntpdate on startup to get initial sync.
Indeed true. But, the ntpdate program is deprecated, and has been replaced in many distros with the sntp command.
I did it about 10 years ago and even not on Linux, but on UnixWare - it's a Unix from the famous SCO.
While name of the programs to make initial sync changes, need to make such a sync is still here.
I did it about 10 years ago and even not on Linux, but on UnixWare - it's a Unix from the famous SCO. While name of the programs to make initial sync changes, need to make such a sync is still here.
Anyway, thank you for the update.
No, you are quite correct, and it was a good catch on your part. NTP will not sync up if the clock is too far off.
If you try to run ntpdate on *MOST* current distros, they'll give you the message, saying the command is outdated, and give you the alternate. However, there may be *SOME* distros out there that still use ntpdate. The command is still very valid on older distros...works fine on some of my older RHEL servers, as well as my old SuSE systems too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.