NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[ldm-users] can the LDM include statement have a glob in it?

Seems, from this ERROR response, that the LDM include won't do a "*.conf"

Just wondering. If it can't, maybe put in plans for a future release?

[ldm@ldm1 ~]$ ldmadmin restart
Stopping the LDM server...
The product-queue is OK.
Checking pqact(1) configuration-file(s)...
Checking LDM configuration-file (/home/ldm/etc/ldmd.conf)...
start(): Problem with LDM configuration-file: Dec 02 23:20:33 ldmd[16722]
NOTE: Starting Up (version: 6.11.7; built: May 16 2014 22:34:51)
 Dec 02 23:20:33 ldmd[16722] ERROR: No such file or directory
 Dec 02 23:20:33 ldmd[16722] ERROR: Couldn't open input-file
 "/home/ldm/conf.d/*.conf" Dec 02 23:20:33 ldmd[16722] ERROR: Error
 reading LDM configuration-file "/home/ldm/etc/ldmd.conf" Dec 02 23:20:33
 ldmd[16722] NOTE: Exiting
[ldm@ldm1 ~]$ cd etc
[ldm@ldm1 etc]$ ls -lth | head -4
total 108K
-rw-rw-r-- 1 ldm ldm   74 Dec  2 17:20 ldmd.conf
-rw-r--r-- 1 ldm ldm  30K Nov 19 11:26 ldmd.conf.rollback-for-20141202
-rwxrwxr-x 1 ldm ldm 1.7K Nov  4 09:11 registry.xml
[ldm@ldm1 etc]$ cat ldmd.conf
### collect conf files from ~ldm/conf.d/
include /home/ldm/conf.d/*.conf

[ldm@ldm1 etc]$ ls -ld /home/ldm/conf.d
drwxrwxr-x 2 ldm ldm 4096 Nov 21 14:54 /home/ldm/conf.d
[ldm@ldm1 etc]$ ls -lth /home/ldm/conf.d/*conf | head -3
-rw-rw-r-- 1 ldm ldm 2.6K Nov 21 14:52
/home/ldm/conf.d/unidata.support.allow.conf
-rw-rw-r-- 1 ldm ldm  468 Nov 21 14:42
/home/ldm/conf.d/justin.balbierer.allow.conf
-rw-rw-r-- 1 ldm ldm  317 Nov 21 14:37
/home/ldm/conf.d/mike.foland.allow.conf
[ldm@ldm1 etc]$

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