Re: [ldm-users] ldmd.conf pathing

Patrick,

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

cheers,

--patrick

Thanks again for the quick response and help.

John

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

http://www.medialogicgroup.com
http://www.hamweather.com
http://www.alertsbroadcaster.com
http://www.weathernationtv.com
http://www.modelweather.com

FB: http://www.facebook.com/wxprofessor
Skype: wxprofessor
AOL IM: wxprofessor
GTalk: wxprofessor@xxxxxxxxx
---------------------------------------------------
--




--
#######
Regards,
John Austin Basham
President/Senior Meteorologist
The Storm Spotter Project
Fort Worth, Texas
817.846.3695
N5TWO
#######



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