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

[LDM #ZPO-566708]: Cannot get logging to work on LDM 6.11.6



Gilbert,

> Also, on an unrelated note, I am seeing these errors in my logs,
> not sure how to fix them...
> 
> Oct  2 10:01:01 weather3 pqact[6992] ERROR: child 11484 exited with status
> 1 (PIPE decoders/dcmetr -v 2 -a 500 -m 72 -s sfmetar_sa.tbl -d
> data/gempak/logs/dcmetr.log -e GEMTBL=/home/gempak/GEMPAK7/gempak/tables
> data/gempak/surface/YYYYMMDD_sao.gem)
> Oct  2 10:01:01 weather3 pqact[6992] ERROR: [filel.c:305] Deleting failed
> PIPE entry: pid=11484, cmd="decoders/dcmetr -v 2 -a 500 -m 72 -s
> sfmetar_sa.tbl -d data/gempak/logs/dcmetr.log -e
> GEMTBL=/home/gempak/GEMPAK7/gempak/tables
> data/gempak/surface/YYYYMMDD_sao.gem"
> Oct  2 10:01:01 weather3 pqact[11485] ERROR: No such file or directory
> Oct  2 10:01:01 weather3 pqact[11485] ERROR: [filel.c:1423] Couldn't
> execute decoder "decoders/dcmsfc"
> Oct  2 10:01:01 weather3 pqact[11485] NOTE: Exiting
> Oct  2 10:01:01 weather3 pqact[11490] ERROR: No such file or directory
> Oct  2 10:01:01 weather3 pqact[11490] ERROR: [filel.c:1423] Couldn't
> execute decoder "decoders/dcmsfc"
> Oct  2 10:01:01 weather3 pqact[11490] NOTE: Exiting
> Oct  2 10:01:01 weather3 pqact[6992] ERROR: child 11485 exited with status
> 1 (PIPE decoders/dcmsfc -b 9 -a 10000 -d data/gempak/logs/dcmsfc.log -e
> GEMTBL=/home/gempak/GEMPAK7/gempak/tables/data/gempak/ship/YYYYMMDDHH_sb.gem)
> Oct  2 10:01:01 weather3 pqact[6992] ERROR: [filel.c:305] Deleting failed
> PIPE entry: pid=11485, cmd="decoders/dcmsfc -b 9 -a 10000 -d
> data/gempak/logs/dcmsfc.log -e
> GEMTBL=/home/gempak/GEMPAK7/gempak/tables/data/gempak/ship/YYYYMMDDHH_sb.gem"
> Oct  2 10:01:01 weather3 pqact[6992] ERROR: child 11490 exited with status
> 1 (PIPE decoders/dcmsfc -d data/gempak/logs/dcmsfc_6hr.log -a 6 -e
> GEMTBL=/home/gempak/GEMPAK7/gempak/tables
> data/gempak/ship6hr/YYYYMMDDHH_ship.gem)
> Oct  2 10:01:01 weather3 pqact[6992] ERROR: [filel.c:305] Deleting failed
> PIPE entry: pid=11490, cmd="decoders/dcmsfc -d
> data/gempak/logs/dcmsfc_6hr.log -a 6 -e
> GEMTBL=/home/gempak/GEMPAK7/gempak/tables
> data/gempak/ship6hr/YYYYMMDDHH_ship.gem"

The pqact(1) configuration-file that comes with GEMPAK assumes that the current 
working directory of the pqact(1) process is the home directory of the LDM 
user. This is true if and only if the LDM registry parameter 
"/pqact/datadir-path" has the home directory as its value. If it doesn't, then 
decoder invocation of the form "decoders/..." won't work. You can fix this by 
either removing the "decoders/" prefix from all invocations of the GEMPAK 
decoders and ensuring that the "decoders" subdirectory is in the LDM user's 
PATH environment variable or by setting the current working directory of all 
pqact(1) processes to the home directory of the LDM user with the command

    regutil -s /home/ldm /pqact/datadir-path

You would then need to execute the command "ldmadmin pqactHUP" to have every 
pqact(1) processes re-read its configuration-file.

Be advised that setting this LDM registry parameter will affect *all* pqact(1) 
processes.

> Gilbert
> 
> *******************************************************************************
> Gilbert Sebenste                                                    ********
> (My opinions only!)                                                  ******
> Staff Meteorologist, Northern Illinois University                      ****
> E-mail: address@hidden                                  ***
> web: http://weather.admin.niu.edu                                      **
> Twitter: http://www.twitter.com/NIU_Weather                            **
> Facebook: http://www.facebook.com/niu.weather                           *
> *******************************************************************************

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: ZPO-566708
Department: Support LDM
Priority: Normal
Status: Closed