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

[LDM #EIW-321327]: Updating ldm



Hi Carol,

re:
> Ok cool!
> 
> This is what is currently in .bash_profile
> 
> PATH=/usr/bin:/usr/sbin/:/bin:/sbin:/home/ldm/bin
> 
> What should this be changed to?

This is correct.

Closer examination of the listing of ~ldm shows that your previous
version of the LDM was installed incorrectly.  I say this because
(and Steve noticed this also) ~ldm/bin and other things are actual
directories, now runtime links:

 > -bash-4.1$ ls -alt
> total 10496
 ...
> drwxr-xr-x.  2 ldm  users       4096 Jul 18 16:13 etc/

> lrwxrwxrwx.  1 ldm  sysgroup      10 Jul 18 16:10 runtime -> ldm-6.13.2/
> drwxr-xr-x.  7 ldm  sysgroup    4096 Jul 15 20:15 ldm-6.13.2/
> -rw-r--r--.  1 ldm  sysgroup 6166311 Jul 15 17:48 ldm-6.13.2.tar.gz
> drwxr-xr-x. 22 root root        4096 Jun 17 16:01 ../
> drwxr-xr-x.  2 ldm  users       4096 Jun 16 16:54 util/
> drwx------.  2 ldm  users       4096 Aug  5  2015 .ssh/
> -rw-r--r--.  1 ldm  users         82 Jun 26  2015 .bash_profile
> drwxr-xr-x.  5 ldm  users       4096 Jun 26  2015 var/
> drwxr-xr-x.  3 ldm  users       4096 Jun 26  2015 include/
> drwxr-xr-x.  2 ldm  users       4096 Jun 26  2015 bin/
> drwxr-xr-x.  4 ldm  users       4096 Jun 26  2015 share/
> drwxr-xr-x.  2 ldm  users       4096 Jun 26  2015 lib/
> drwxr-xr-x. 45 ldm  users       4096 Jun 26  2015 src/
> -rw-r--r--.  1 ldm  users    4502783 Jun 26  2015 ldm-6.11.7.tar.gz

In a correct installation, the relevant portion of the listing would
look like:

drwxrwxr-x  5 ldm  ldm     4096 Dec 12  2015 var
lrwxrwxrwx  1 ldm  ldm       11 Dec 12  2015 runtime -> ldm-6.13.2
lrwxrwxrwx  1 ldm  ldm       15 Dec 12  2015 include -> runtime/include
lrwxrwxrwx  1 ldm  ldm       11 Dec 12  2015 lib -> runtime/lib
lrwxrwxrwx  1 ldm  ldm       13 Dec 12  2015 share -> runtime/share
lrwxrwxrwx  1 ldm  ldm       11 Dec 12  2015 bin -> runtime/bin
lrwxrwxrwx  1 ldm  ldm       11 Dec 12  2015 src -> runtime/src

Here is what you need to do to clean things up:

<become 'ldm'>

sudo su - ldm             <- NOTE 'su - ldm'

cd ~ldm
ldmadmin stop
mkdir ldm-6.11.7
mv src bin share lib include ldm-6.11.7

cd ldm-6.13.2/src
make install

cd ~ldm
ls -alt

You will know that the runtime setup is correct when a long
list from the ~ldm directory shows that src, bin, share,
lib and include are links through runtime like the example
I included above.  If needed (and this shouldn't be needed),
and after moving the LDM-6.11.7 bin, share, etc. directories to
~ldm/ldm-6.11.7, you could setup the runtime links by hand:

cd ~ldm
ln -s ldm-6.13.2 runtime
ln -s runtime/* .

After getting the setup correct, make sure to start the LDM
and then rerun 'ldmadmin config' to make sure that things are
now OK.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: EIW-321327
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.



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.