NSF Unidata

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

Re: [Fwd: 20021112:SuomiNet Install LDM]

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Hi Jack, 

You have installed the ldm as root..this is bad.

Please see:

http://my.unidata.ucar.edu/content/software/ldm/index.html

for instructions on how and who needs to own what files.

I am quite confident that this is also leading to the logging problem.

This is how the ownerships and permissions should be set:

/local/ldm% ls -l
total 3620
drwxr-xr-x   2 ldm      ustaff       512 Jul 22 16:13 logs/
drwxrwxr-x   7 ldm      ustaff       512 Jul 22 16:12 ldm-5.2/
-rw-r--r--   1 ldm      ustaff    618801 Jul 22 16:10 ldm-5.2.tar.Z
lrwxrwxrwx   1 ldm      ustaff         7 Jul 15 13:49 runtime -> ldm-5.2/
drwxr-xr-x   2 ldm      ustaff       512 Aug 14  2001 etc/
drwxrwxr-x   7 ldm      ustaff       512 May 21  2001 ldm-5.1.4/
drwx------   2 ldm      ustaff       512 May 21  2001 mail/
lrwxrwxrwx   1 ldm      ustaff        15 May 18  2001 data ->/lenny/ldm/data/
drwxrwxr-x   7 ldm      ustaff       512 May 18  2001 ldm-5.1.4.save/
-rw-rw-r--   1 ldm      ustaff    595573 May 18  2001 ldm-5.1.4.tar.Z
lrwxrwxrwx   1 ldm      ustaff        11 Oct 26  2000 bin -> runtime/bin/
lrwxrwxrwx   1 ldm      ustaff        15 Oct 26  2000 include ->runtime/include/
lrwxrwxrwx   1 ldm      ustaff        11 Oct 26  2000 lib -> runtime/lib/
lrwxrwxrwx   1 ldm      ustaff        11 Oct 26  2000 man -> runtime/man/
lrwxrwxrwx   1 ldm      ustaff        11 Oct 26  2000 src -> runtime/src/
drwxrwxr-x   7 rkambic  ustaff       512 Aug 25  2000 ldm-5.1.2/
-rw-r--r--   1 ldm      ustaff    582121 Mar 12  2000 testme.rcm
drwxrwxr-x   7 ldm      ustaff       512 Jul 26  1999 ldm-5.0.8/
drwxrwxr-x   2 ldm      ustaff       512 Sep 16  1998 decoders/
drwxr-xr-x   3 ldm      ustaff       512 Aug 27  1998 data_lenny/
drwxr-xr-x   2 ldm      ustaff       512 May 20  1998 utilities/
/local/ldm% 

and in /etc

/local/ldm/etc% ls -l
total 36
-rw-rw-r--   1 ldm      ustaff       775 Jul 15 13:47 scour.conf.dist
-rw-rw-r--   1 ldm      ustaff      2046 Aug 14  2001 ldmd.conf
-rw-rw-r--   1 ldm      ustaff      1622 Jul 26  1999 netcheck.conf.dist
-rw-rw-r--   1 ldm      ustaff      1415 Sep 23  1998 ldmd.conf.robb
-rw-rw-r--   1 ldm      ustaff      2681 Sep 23  1998 pqact.conf.robb
-rw-rw-r--   1 ldm      ustaff      4421 Sep 16  1998 pqact.conf
-rw-rw-r--   1 ldm      ustaff       795 Jul 22  1998 scour.conf
-rw-rw-r--   1 ldm      ustaff      1614 May 19  1998 netcheck.conf
/local/ldm/etc% 
 and in /bin

/local/ldm/bin% ls -l
total 15366
-rwxrwxr-x   1 ldm      ustaff     25573 Jul 22 16:13 ldmadmin*
-rwsr-xr-x   1 root     ustaff     23948 Jul 22 16:12 hupsyslog*
-rwsr-xr-x   1 root     ustaff    729088 Jul 22 16:12 rpc.ldmd*
-rwxrwxr-x   1 ldm      ustaff      3438 Jul 22 16:12 scour*
-rwxrwxr-x   1 ldm      ustaff     23617 Jul 22 16:12 ldmcheck*
-rwxrwxr-x   1 ldm      ustaff      7458 Jul 22 16:12 ldmfail*
-rwxrwxr-x   1 ldm      ustaff    290816 Jul 22 16:12 ldmping*
-rwxrwxr-x   1 ldm      ustaff      6805 Jul 22 16:12 ldmprods*
-rwxrwxr-x   1 ldm      ustaff      9008 Jul 22 16:12 netcheck*
-rwxrwxr-x   1 ldm      ustaff    303104 Jul 22 16:12 notifyme*
-rwxrwxr-x   1 ldm      ustaff      7395 Jul 22 16:12 syscheck*
-rwxrwxr-x   1 ldm      ustaff    303104 Jul 22 16:12 feedme*
-rwxrwxr-x   1 ldm      ustaff    290816 Jul 22 16:12 ldmsend*
-rwxrwxr-x   1 ldm      ustaff      4810 Jul 22 16:12 mailpqstats*
-rwxrwxr-x   1 ldm      ustaff    458752 Jul 22 16:12 pqbinstats*
-rwxrwxr-x   1 ldm      ustaff    499712 Jul 22 16:12 pqsurf*
-rwxrwxr-x   1 ldm      ustaff    516096 Jul 22 16:12 rtstats*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 afos -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 ddplus -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 dds -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 feedtest -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 hds -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 hrs -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 ids -> pqing*
lrwxrwxrwx   1 ldm      ustaff         5 Jul 22 16:12 pps -> pqing*
-rwxrwxr-x   1 ldm      ustaff    512000 Jul 22 16:12 pqact*
-rwxrwxr-x   1 ldm      ustaff    614400 Jul 22 16:12 pqing*
-rwxrwxr-x   1 ldm      ustaff    475136 Jul 22 16:12 pqsend*
-rwxrwxr-x   1 ldm      ustaff    425984 Jul 22 16:12 pqcat*
-rwxrwxr-x   1 ldm      ustaff    413696 Jul 22 16:12 pqexpire*
-rwxrwxr-x   1 ldm      ustaff    446464 Jul 22 16:12 pqinsert*
-rwxrwxr-x   1 ldm      ustaff    409600 Jul 22 16:12 pqmon*
-rwxrwxr-x   1 ldm      ustaff    483328 Jul 22 16:12 pqutil*
-rwxrwxr-x   1 ldm      ustaff    409600 Jul 22 16:12 pqcreate*
-rwxrwxr-x   1 ldm      ustaff       518 Jul 22 16:12 newlog*


Notice only two files should be owned by root, and these are in the bin
dir.

I suggest rebuilding, but that is, of course, your choice.

Thank you,

-Jeff
____________________________                  _____________________
Jeff Weber                                    address@hidden
Unidata Support                               PH:303-497-8676 
COMET Case Study Library                      FX:303-497-8690
University Corp for Atmospheric Research      3300 Mitchell Ln
http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000
________________________________________      ______________________

On Fri, 15 Nov 2002, jackhu wrote:

> Jack Hu wrote:
> 
> Please check files for me! See Attachments.
> 
> And the file list of bin directory.
> 
> [root@ldm bin]# ls -l
> total 5228
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 afos -> pqing*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 ddplus ->
> pqing*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 dds -> pqing*
> -rwxrwxr-x    1 1670     2000       199119  7¤ë 25 03:02 feedme*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 feedtest ->
> pqing*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 hds -> pqing*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 hrs -> pqing*
> -rwsr-xr-x    1 root     2000        30190  7¤ë 25 03:02 hupsyslog*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 ids -> pqing*
> -rwxrwxr-x    1 root     root        25569 11¤ë 14 14:21 ldmadmin*
> -rwxrwxr-x    1 1670     2000        25530  7¤ë 25 03:02 ldmadmin.in*
> -rwxrwxr-x    1 root     root        23617 11¤ë 14 14:21 ldmcheck*
> -rwxrwxr-x    1 1670     2000        23617  7¤ë 25 03:02 ldmcheck.in*
> -rwxrwxr-x    1 root     root         7406 11¤ë 14 14:21 ldmfail*
> -rwxrwxr-x    1 1670     2000         7305  7¤ë 25 03:02 ldmfail.in*
> -rwxrwxr-x    1 1670     2000       193050  7¤ë 25 03:02 ldmping*
> -rwxrwxr-x    1 root     root         6809 11¤ë 14 14:21 ldmprods*
> -rwxrwxr-x    1 1670     2000         6787  7¤ë 25 03:02 ldmprods.in*
> -rwxrwxr-x    1 1670     2000       186458  7¤ë 25 03:02 ldmsend*
> -rwxrwxr-x    1 root     root         4804 11¤ë 14 14:21 mailpqstats*
> -rwxrwxr-x    1 1670     2000         4797  7¤ë 25 03:02 mailpqstats.in*
> -rwxrwxr-x    1 root     root         9012 11¤ë 14 14:21 netcheck*
> -rwxrwxr-x    1 1670     2000         8990  7¤ë 25 03:02 netcheck.in*
> -rwxrwxr-x    1 1670     2000          518  7¤ë 25 03:02 newlog*
> -rwxrwxr-x    1 1670     2000       196859  7¤ë 25 03:02 notifyme*
> lrwxrwxrwx    1 1670     2000            5 11¤ë 11 11:40 pps -> pqing*
> -rwxrwxr-x    1 1670     2000       364765  7¤ë 25 03:02 pqact*
> -rwxrwxr-x    1 1670     2000       294683  7¤ë 25 03:02 pqbinstats*
> -rwxrwxr-x    1 1670     2000       285569  7¤ë 25 03:02 pqcat*
> -rwxrwxr-x    1 1670     2000       270042  7¤ë 25 03:02 pqcreate*
> -rwxrwxr-x    1 1670     2000       277310  7¤ë 25 03:02 pqexpire*
> -rwxrwxr-x    1 1670     2000       408839  7¤ë 25 03:02 pqing*
> -rwxrwxr-x    1 1670     2000       289399  7¤ë 25 03:02 pqinsert*
> -rwxrwxr-x    1 1670     2000       274376  7¤ë 25 03:02 pqmon*
> -rwxrwxr-x    1 1670     2000       322523  7¤ë 25 03:03 pqsend*
> -rwxrwxr-x    1 1670     2000       334553  7¤ë 25 03:03 pqsurf*
> -rwxrwxr-x    1 1670     2000       311224  7¤ë 25 03:03 pqutil*
> -rwsr-xr-x    1 root     root       473149  7¤ë 25 03:03 rpc.ldmd*
> -rwxrwxr-x    1 1670     2000       334736  7¤ë 25 03:03 rtstats*
> -rwxrwxr-x    1 1670     2000         3438  7¤ë 25 03:03 scour*
> -rwxrwxr-x    1 1670     2000         2185 11¤ë 12 10:34 scriptconfig*
> -rwxrwxr-x    1 root     root         7399 11¤ë 14 14:21 syscheck*
> -rwxrwxr-x    1 1670     2000         7377  7¤ë 25 03:02 syscheck.in*
> [root@ldm bin]# 
> 
> 
> 
> 
> 
> 
> 
> Jeff Weber ¼g¹D¡G
> 
> 
> This message uses a character set that is not supported by the Internet
> Service.  To view the original message content,  open the attached
> message. If the text doesn't display correctly, save the attachment to
> disk, and then open it using a viewer that can display the original
> character set. <<message.txt>>
> 
>  
> ------------------------------------------------------------------------
>                   Name: message.txt
>    message.txt    Type: Plain Text (text/plain)
>               Encoding: quoted-printable
> 
> 
> 
> 
> 
>