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

20000921: pqact.conf action(s) for pnga2area decoder



>From: ldm manager for MCIDAS <address@hidden>
>Organization: University of Delaware
>Keywords: 200009211936.e8LJa3b23981 ldm-mcidas LDM pnga2area pqact.conf

Kenji,

>I am having trouble with pnga2area. I just cannot get AREA file and it
>does not leave any log messages. I am attaching pqact.conf file that I
>use.

Two comments on your pqact.conf entries:

1) change the LWTOA3 entry from:

#MCIDAS ^(LWTOA3 .*)
        #PIPE
        #-close /export/home/ldm/ldm-mcidas/bin/lwtoa3 
        #-v -d /export/home/ldm/data/mcidasd

to:

#MCIDAS ^(LWTOA3 .*)
#       PIPE
#       -close /export/home/ldm/ldm-mcidas/bin/lwtoa3 
#       -v -d /export/home/ldm/data/mcidasd

The change is to make the '#' character the first character on the line.
In your example, it is the second, the tab being first.

2) change your pnga2area entry from:

#
MCIDAS  ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....)
        PIPE
        -close /export/home/ldm/ldm-mcidas/bin/pnga2area -vx
        -a /export/home/ldm/etc/SATANNOT
        -b /export/home/ldm/etc/SATBAND
        -d /export/home/ldm/data/mcidasd -r \1,\2

to:

#
MCIDAS  ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....)
        PIPE    -close
        /export/home/ldm/ldm-mcidas/bin/pnga2area -vx
        -a /export/home/ldm/etc/SATANNOT
        -b /export/home/ldm/etc/SATBAND
        -d /export/home/ldm/data/mcidasd -r \1,\2

The change puts a tab character before the pnga2area invocation.  Your
entry has a space between '-close' and
'/export/home/ldm/ldm-mcidas/bin/pnga2area'.  The white space should be
a tab not a space.  So, the second line is:

<tab>PIPE<tab>-close

>What I did was copied SATANNOT and SATBAND to $ldmhome/etc from your
>ldm-mcidas distribution (v. 7.6.4), and restarted ldm.

OK.  After making a change to pqact.conf, all you need to do is send a
HUP signal to the pqact process.  This tells it to reread pqact.conf.

The log messages should then also be written into your ldmd.log file.

>ldmadmin pqactcheck
>says the conf file is OK.

The unfortunate thing with 'ldmadmin pqactcheck' is that it can't find
some of the more exotic problems in pqact.conf.  In particular, not that
this is your problem, it can't find lines that begin with a leading space.
This kind of an entry is hard to see and causes a lot of problems.

>I also checked with ldmadmin watch and notifyme
>localhost and I think I am receiving pnga2area file.  I do not know what I
>am missing. If you would like to log on our machine, please let me know.

I think that your only problem was a lack of a tab character between '-close'
and '/export/home/ldm/ldm-mcidas/bin/pnga2area'.  Make this change
(and comment out the lwtoa3 entry as per my note above) and then send
a HUP to pqact:

kill -HUP pid_of_pqact

>Thank you for your assistance. 

Please let me know if the above doesn't solve your problem.

>Kenji Matsuura
>address@hidden

Tom Yoksas