NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Laws, Peter C. wrote:
Ideally, sites should have NTP running from boot so that time is always accurate. If admins refuse accurate time <G> then the script should be modified to check to see if ntpd is running before invoking ntpdate (which will fail if ntpd is running anyway). But yeah, don't ever assume cron has the right path.
And while we're at it, at least one of the time servers included in the 6.8.0 distro failed to resolve:
[ldm@bigbird ~]$ ldmadmin start Couldn't get time from time-server at terrapin.csc.ncsu.edu using the ntpdate(1) utility, "/usr/sbin/ntpdate". If the utility is valid and this happens often, then remove terrapin.csc.ncsu.edu from variable "@time_servers" in the configuration-file, /usr/local/ldm/etc/ldmadmin-pl.conf. terrapin didn't resolve with a manual 'host' query, either.And, since I'm running ntpd, ntpdate can't get the socket... and ldm isn't the root user (but I can always fix permissions).
I like the idea, however, of forcing a whine at startup to make folks think about setting up ntpd.
Now to go back and tweak my script. gerry
-----Original Message----- From: ldm-users-bounces@xxxxxxxxxxxxxxxx [mailto:ldm-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Gerry Creager Sent: Sunday, August 02, 2009 17:52 To: Gilbert Sebenste Cc: ldm-users@xxxxxxxxxxxxxxxx Subject: Re: [ldm-users] Minor bug in LDM 6.8.0: can't find ntpdate Gilbert Sebenste wrote:On Sat, 1 Aug 2009, Gilbert Sebenste wrote:I'm getting this message emailed to me from my rootaccount on everymachine I have LDM 6.8.0 on. Running the ldmadmin newlog command manually yields no problems. Couldn't invoke the ntpdate(1) utility, "ntpdate": No such file or directory. Set the value of the variable "$ntpdate" in the configuration-file, /home/ldm/etc/ldmadmin-pl.conf, to thepathnameof the ntpdate(1) utility. You should either fix the problem (recommended) or disable time-checking by setting the variable "$check_time" to 0 in the configuration-file, /home/ldm/etc/ldmadmin-pl.conf, (not recommended).Turns out that the answer is that RHEL and CentOS don'thave paths for/usr/sbin in their default .login or .bashrc files. Putting them in there, or putting an absolute path into the ladmadmin-pl.conf entry easily fixes the issue. Otherwise, LDM 6.8.0 is working great.Hmmm. Steve, I'd recommend adding the absolute path in the default ldadmin-pl.conf. I'll explain Tuesday. gerry -- Gerry Creager -- gerry.creager@xxxxxxxx Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983 Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843 _______________________________________________ ldm-users mailing list ldm-users@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/_______________________________________________ ldm-users mailing list ldm-users@xxxxxxxxxxxxxxxxFor list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
-- Gerry Creager -- gerry.creager@xxxxxxxx Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983 Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843
ldm-users
archives: