Re: [ldm-users] ldmd.conf pathing


Thank You...
On 8/22/2014 8:16 PM, wxprofessor@xxxxxxxxx wrote:

 In the ldmd.conf file does the following entry:

exec "pqact -f NNEXRAD /opt/ldm/etc/GEMPAK/pqact.gempak_nexrad"

refer to the path as it is written in the file? Or, is it assumed that the path starts at the LDM home directory, OR from where the pqact is run? etc....

ldmd.conf will reference relative to the ldm installation, unless you specify an absolute path.

for example, in my installation, which is /home/ldm:

this line:

EXEC "pqact etc/pqact.gempak"

will read from /home/ldm/etc/pqact.gempak because I do not have a "/" in front of the specification such as /etc/pqact.gempak.. so the above is a 'relative' reference, where my user ldm will use "/home/ldm" as a home 'root' base reference
This is exactly what I thought and how I have the structure based. But the system still isn't seeing files set in the sub-directory relative to the home directory. This means my problem lies elsewhere and that is a HUGE help.
you can also specify an absolute path with a "/" in front such as:

EXEC "pqact /home/ldm/etc/pqact.gempak"

the above two samples will work just fine, and refer to the same file. :)
This will be my fallback position as I have already made absolute pathing work in this setup. But I do want the relative pathing working for future items.

I use several separate pqact files at the same time (so it's easier to find what I'm looking for when small adjustments are needed), and keep them all in /home/ldm/etc



Thanks again for the quick response and help.


Patrick L. Francis
Vice President of Research & Development
Media Logic Group

Skype: wxprofessor
AOL IM: wxprofessor
GTalk: wxprofessor@xxxxxxxxx

John Austin Basham
President/Senior Meteorologist
The Storm Spotter Project
Fort Worth, Texas

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