[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #IHH-151819]: LDM - pqact.conf file saving



Hi Mike,

re:
> With the enclosed configuration (FILE [tab] /xxx/xxx) I would expect files
> to be saved in the specified directory.  However, files are saved in the
> ~/ directory (/usr/local/ldm).
> 
> Before I wade in with additional shell scripts, how do I save files from
> the pqact.conf description into directories of my choosing?
> 
> In other words, what am I missing here?

The FSL2 FILE actions in your pqact.conf file are _almost_ correct.  Take the
first action:

FSL2    ^FSL\.CompressedNetCDF\.MADIS\.metar\.(.*)              FILE    
/usr/local/ldm/MADIS_data/point/metar/netcdf \1

What you are missing is the final '/' (slash) between the directory
and file name.  Your actions should look like:

FSL2    ^FSL\.CompressedNetCDF\.MADIS\.metar\.(.*)              FILE    
/usr/local/ldm/MADIS_data/point/metar/netcdf/\1

Please note that you can modify your pqact.conf entries and then make
them active without stopping and restarting your LDM:

<as 'ldm'>
cd ~ldm/etc
-- edit pqact.conf with the editor of your choice and add replace the space
   between the directory and file name
-- after exiting the editor, use:

ldmadmin pqactcheck

   action to check to make sure that you havn't introduced a simple typo-type
   error.

-- next, after correcting all errors (if there are any) make the newly modified
   actions active using:

ldmadmin pqactHUP

That should get you going!

Cheers,

Tom
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: IHH-151819
Department: Support LDM
Priority: Normal
Status: Closed