Re: Pipe Help

Jeff - I didn't like the script they sent, either, so this is what I use:

## cut here ##
#! /bin/bash
if [ $# -ne 2 ]; then
  exit
fi
if [ ! -d "${1}" ]; then
  mkdir -p ${1}
fi
cat | gzip -d > ${1}/.${2}
mv ${1}/.${2} ${1}/${2}
## cut here ##

You use the same pqact.conf entries they gave you . . . just try the above as the script, instead of what they sent.

Stonie

On Aug 21, 2007, at 3:30 PM, Jeffrey Lake - Admin wrote:

I just started to receive the mesonet and coop feeds from MADIS.
Problem is the sh script they sent me is erroring
below is a snapshot of my log.

Aug 21 20:03:29 cl-t085-410cl pqact[25013] INFO: 5261953 20070821200228.172 FSL2 000 FSL.CompressedNetCDF.MADIS.mesonet2.20070821_1900.gz Aug 21 20:03:29 cl-t085-410cl pqact[25013] INFO: pipe: -close /usr/local/ldm/etc/store_MADIS.sh data/text/LDAD/ mesonet/netCDF20070821_1900.gz Aug 21 20:03:29 cl-t085-410cl pqact[25013] ERROR: pbuf_flush (6) write: Broken pipe Aug 21 20:03:29 cl-t085-410cl pqact[25013] ERROR: pipe_put: -close/ usr/local/ldm/etc/store_MADIS.shdata/text/LDAD/mesonet/ netCDF20070821_1900.gz write error Aug 21 20:03:29 cl-t085-410cl pqact[25013] ERROR: pipe_prodput: trying again: 5261953 20070821200228.172 FSL2 000 FSL.CompressedNetCDF.MADIS.mesonet2.20070821_1900.gz Aug 21 20:03:29 cl-t085-410cl pqact[25013] ERROR: pbuf_flush (6) write: Broken pipe Aug 21 20:03:29 cl-t085-410cl pqact[25013] ERROR: pipe_put: -close/ usr/local/ldm/etc/store_MADIS.shdata/text/LDAD/mesonet/ netCDF20070821_1900.gz write error Aug 21 20:03:29 cl-t085-410cl pqact[25013] NOTE: child 5532 exited with status 1


I attempted to use what they supplies me for the pqact.conf entry, and got errors on that as well ..

anybody got the FSL working correctly ??

-Jeff Lake
MichiganWxSystem.com
admin@xxxxxxxxxxxxxxxxxxxx



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