This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
On Wed, 24 Nov 1999, Unidata Support wrote: > >To: address@hidden > >From: Clint Rowe <address@hidden> > >Subject: ldmfail problem fixed > >Organization: . > >Keywords: 199911242050.NAA00340 > > Robb, > > Since I'm not a perl programmer, it took a little while for me to figure > out what was going on. First, the new ldmfail in version 5.0.8 doesn't Clint, For not being a perl programmer, you did a great job debugging. > allow REQUEST lines to span multiple lines (this was allowed in v. 5.0.5 > and earlier), I will put back in the functionality to have request lines span over multiple lines. so it was not finding either the $primary or the $failover > strings in a REQUEST line, so both $primary_flg and $failover_flg were > still set to 0. Then, in the test to see if the search had failed, you had > > # if we did not have a match, then we have big problems# if we did not have a > match, then we have big problems > if(! ( $primary_flg || $failover ) ) { > output("No primary or failover found in $etcdir/ldmd.conf") ; > exit 1 ; > > It should read > > if(! ( $primary_flg || $failover_flg ) ) { > ^^^^ > Looks like a bad typo type of bug. Thanks, Robb... output("No primary or failover found in $etcdir/ldmd.conf") ; > exit 1 ; > > Anyway, it seems to be working now. > > Clint > > ==================================================================== > Clinton M. Rowe > Associate Professor > Meteorology/Climatology Program phone:(402)472-1946 > Department of Geosciences fax:(402)472-4917 > University of Nebraska-Lincoln address@hidden > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================