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

[LDM #AFR-510437]: Why LDM pqact's child process failed?



Jian-Rong,

> I am trying to convert upper air data to netCDF file format with
> perlDecoders-5.0.0.
> 
> As ldm user, I can execute  command:
> 
> %> decoders/ua2nc  decoders/etc/raob.cdl
> 
> data/public/decoded/netcdf/upperair 200712
> data/public/RAOB/200712_11198-000000
> 
> successful on command line (It would generate an output netCDF file in
> directory of
> 
> data/public/decoded/netcdf/upperair).
> 
> But it would always fail if I configure it let this command is executed by
> pqact's child process, see following message from the log file.
> 
> ...
> 
> Dec 03 17:00:21 pqact[23953] INFO: f080f1a7d4e075d52ac12f3e35ed14e2      323
> 20071203165958.381     EXP 000  200\
> 
> 712_11198-000000
> 
> Dec 03 17:00:21 pqact[23953] INFO:                exec: decoders/ua2nc
> decoders/etc/raob.cdl   data/public/deco\
> 
> ded/netcdf/upperair     200712  data/public/RAOB/200712_11198-000000
> 
> Dec 03 17:00:21 DEBUG:     exec decoders/ua2nc[23971]
> 
> Dec 03 17:00:21 pqact[23953] WARN: Processed oldest product in queue:
> 0.009647 s
> 
> Dec 03 17:00:21 DEBUG: End of Queue
> 
> Dec 03 17:00:36 pqact[23953] NOTE: child 23971 exited with status 255
> 
> Dec 03 17:00:36 DEBUG: End of Queue
> 
> ...
> 
> I don't know why?
> 
> Can you help me to solve this problem?
> 
> Please see the decoder, configuration, input and log files that I used in the
> attachment.
> 
> Thank you very much!
> 
> JR Zhou

If you change the entry in the "pqact" configuration file to use the PIPE
action instead of the EXEC action then it should work.  The entry can
also be simplified a little to the following:

EXP     ^([1-2][0-9][0-9][0-9])([0-1][0-9])
        PIPE    decoders/ua2nc
                decoders/etc/raob.cdl
                data/public/decoded/netcdf/upperair
                \1\2 

Good luck.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: AFR-510437
Department: Support LDM
Priority: Normal
Status: Closed