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

[IDD #UZP-358176]: [ldm-problem] "couldn't reset LDM registry"



Franke,

This non-standard installation could be the cause of your problem. We'll need 
to eliminate it as a possibility.

Would you please stop your LDM, remove the entire installation, and re-install 
it from scratch using the instructions at 
<http://www.unidata.ucar.edu/software/ldm/ldm-current/basics/source-install-steps.html>.
 Basically, this would comprise the following steps -- executed by the LDM user:

    cd
    ldmadmin stop
    rm -rf bin include lib logs runtime share src  # NB: not "etc"
    wget ftp://ftp.unidata.ucar.edu/pub/ldm/ldm-6.13.1.tar.gz
    gunzip -c ldm-6.13.1.tar.gz | pax -r '-s:/:/src/:'
    rm ldm-6.13.1.tar.gz # optional
    cd ldm-6.13.1/src
    export PATH=... # if necessary
    ./configure >configure.log 2>&1
    Password: ...
    make install >make.log 2>&1
    make clean # optional

Adjust the above as necessary for your environment (e.g., different shell) but 
*don't* change the directory names.

> ldm@gxxx:~$ ls -l *
> lrwxrwxrwx 1 ldm ldm  11 May 18 09:54 bin -> runtime/bin
> lrwxrwxrwx 1 ldm ldm  13 May 20 09:49 data -> var/data/data
> lrwxrwxrwx 1 ldm ldm  15 May 18 09:54 include -> runtime/include
> -rw-rw-r-- 1 ldm ldm   7 Jun  7 11:24 ldmd.pid
> lrwxrwxrwx 1 ldm ldm  11 May 18 09:54 lib -> runtime/lib
> lrwxrwxrwx 1 ldm ldm   8 May 20 09:49 logs -> var/logs
> lrwxrwxrwx 1 ldm ldm   3 May 18 11:20 runtime -> src
> lrwxrwxrwx 1 ldm ldm  13 May 18 09:54 share -> runtime/share
> 
> etc:
> total 36
> -rw-r--r-- 1 ldm ldm 8897 May 20 09:48 ldmd.conf
> -rw-r--r-- 1 ldm ldm 1622 May 18 09:54 netcheck.conf
> -rw-r--r-- 1 ldm ldm 7350 May 20 09:42 pqact.conf
> -rw-rw-r-- 1 ldm ldm  183 May 24 11:40 pqact.conf.state
> -rwxrwxr-x 1 ldm ldm 1780 May 18 09:54 registry.xml
> -rw-r--r-- 1 ldm ldm  916 May 20 09:32 scour.conf
> 
> perl5:
> total 0
> 
> src:
> total 8
> drwxrwxr-x 2 ldm ldm 4096 May 18 09:54 bin
> drwxrwxr-x 3 ldm ldm 4096 May 18 09:54 include
> drwxrwxr-x 2 ldm ldm   93 May 18 09:54 lib
> drwxrwxr-x 4 ldm ldm   26 May 18 09:53 share
> drwxrwxr-x 4 ldm ldm   61 May 20 11:03 source_code
> 
> var:
> total 0
> lrwxrwxrwx 1 ldm ldm  5 Jun  7 06:06 data -> /data
> drwxrwxr-x 2 ldm ldm 72 Jun  7 11:58 logs
> drwxrwxr-x 2 ldm ldm 19 May 18 12:23 queues
> 
> ldm@xxx:~$ find ./* -name config.h
> ./src/source_code/ldm-6.13.0/config.h
> 
> Here you are.
> The reason why it is not on ./src/ldm-6.13.0 is because I believed when I 
> installed it, I used ./src/source_code/ldm-6.13.0

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UZP-358176
Department: Support LDM
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.