Re: [ldm-users] Minor bug in LDM 6.8.0: can't find ntpdate

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.

--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws@xxxxxx

-------------------------------------------------------------
How am I doing? Please contact my director, Craig Cochell, at craigc@xxxxxx 
with any feedback. Thank you!
-------------------------------------------------------------



> -----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 root
> account on every
> >> machine 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 the
> pathname
> >> of 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't
> have 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/
>



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: