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

[LDM #TEH-693414]: ldm config settings



Neal,

> I'm setting up a new LDM server and I believe most everything is working. I
> have been able to start the ldm server and verify the data is coming in.
> There are a few things I would like to adjust to make it similar to our
> previous ldm server:

You should ensure that the registry ($HOME/etc/registry.xml) parameters have 
the desired values. See 
<http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/LDM-registry.html>.

> 1. The data seems to be coming into /home/ldm/var/data/data/gempak. The
> desired destination for the data is /data/ldm/gempak. When I adjust the
> registry to point to /data/ldm it still creates the data/gempak folders
> within that so the full data path becomes /data/ldm/data/gempak. Is there a
> way to adjust that so it goes into /data/ldm/gempak?

Check the value of the registry parameter "/pqact/datadir-path".

> 2. I don't believe the logging is working correctly. The registry has it
> pointing to /home/ldm/var/logs/ldmd.log but nothing is written to that
> file. I would also like for that log file to be located in /data/ldm/logs/
> if possible.

Please send me the output of the following commands:

    fgrep LOG_LDM $HOME/src/config.h
    fgrep local /etc/*syslog.conf
    ls -l $HOME/bin/hupsyslog
    ls -l $HOME/bin/ldmd

"$HOME/var" is the new, correct place for all variable files -- including the 
log files.

To make the log files appear as if they're in the $HOME/logs directory, link 
the directories with the command "(cd && ln -s var/logs logs)".

> The old ldm server is running ldm 6.7.0 and does not appear to have the
> regutil function so I'm not exactly sure where to look to find the
> settings. Any help would be appreciated.

In LDM 6.7, the runtime configuration parameters were set in the file 
$HOME/ldmadmin-pl.conf. Because this didn't allow for programmatic access to 
the parameters, the LDM registry was created.

> Neal Pruess
> University of Northern Iowa
> College of Humanities, Arts, and Sciences
> IT Support Coordinator
> Office: WRT206
> Phone: 319.273.5809
> Mail: WRT 206 0506

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: TEH-693414
Department: Support LDM
Priority: Normal
Status: Closed