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

[LDM #NWK-519456]: question about ldm from CMA.



nieyd,

> I am a ldm user in CMA. and now i have a question about ldm install.
> environment: OS ,redhat 5.2   LDM 6.9.8
> after ldm  installion ,
> 
> 1?the follow is the regutil output:
> [ldm01@tgn1 ~]$ regutil
> /delete-info-files : 0
> /hostname : tgn1.com
> /insertion-check-interval : 300
> /reconciliation-mode : increase queue
> /check-time/enabled : 1
> /check-time/limit : 10
> /check-time/warn-if-disabled : 1
> /check-time/ntpdate/command : /usr/sbin/ntpdate
> /check-time/ntpdate/servers : ntp.ucsd.edu ntp1.cs.wisc.edu ntppub.tamu.edu 
> otc1.psu.edu timeserver.unidata.ucar.edu
> /check-time/ntpdate/timeout : 5
> /metrics/count : 4
> /metrics/file : /space/ldm_pq/logs/metrics.txt
> /metrics/files : /space/ldm_pq/logs/metrics.txt*
> /metrics/netstat-command : /bin/netstat -A inet -t -n
> /metrics/top-command : /usr/bin/top -b -n 1
> /log/count : 7
> /log/file : /usr/local/ldm01/logs/ldmd.log
> /log/rotate : 1
> /pqsurf/config-path : /usr/local/ldm01/etc/pqsurf.conf
> /pqsurf/datadir-path : /space/ldm_pq/data
> /scour/config-path : /usr/local/ldm01/etc/scour.conf
> /surf-queue/path : /space/ldm_pq/queues/pqsurf.pq
> /surf-queue/size : 2M
> /server/config-path : /usr/local/ldm01/etc/ldmd.conf
> /server/ip-addr : 10.2.1.18
> /server/max-clients : 256
> /server/max-latency : 3600
> /server/port : 388
> /server/time-offset : 3600
> /queue/path : /space/ldm_pq/ldm.pq
> /queue/size : 12G
> /queue/slots : default
> /pqact/config-path : /usr/local/ldm01/etc/pqact.conf
> /pqact/datadir-path : /space/ldm_pq/data
> 
> 2?i run the command
> [ldm01@tgn1 ~]$ ldmadmin start
> The product-queue is OK.
> Checking pqact(1) configuration-file(s)...
> /usr/local/ldm01/etc/pqact.conf: syntactically correct
> Checking LDM configuration-file (/usr/local/ldm01/etc/ldmd.conf)...
> Starting the LDM server...
> 
> 3?and then i want to check server port
> [ldm01@tgn1 ~]$ netstat -ant
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address               Foreign Address             
> State
> tcp        0      0 10.2.1.18:46400             0.0.0.0:*                   
> LISTEN
> tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   
> LISTEN
> tcp        0      0 0.0.0.0:980                 0.0.0.0:*                   
> LISTEN
> tcp        0      0 127.0.0.1:631               0.0.0.0:*                   
> LISTEN
> tcp        0      0 127.0.0.1:25                0.0.0.0:*                   
> LISTEN
> tcp        0      0 10.2.1.18:45427             10.2.1.19:22                
> ESTABLISHED
> tcp        0      0 :::22                       :::*                        
> LISTEN
> tcp        0      0 ::ffff:10.2.1.18:22         ::ffff:10.2.1.12:43560      
> ESTABLISHED
> tcp        0      0 ::ffff:10.2.1.18:22         ::ffff:10.2.1.11:44077      
> ESTABLISHED
> tcp        0      0 ::ffff:10.2.1.18:22         ::ffff:10.2.1.11:45526      
> ESTABLISHED
> 
> i was suprised ,why not have the port 388?
> check the process
> 
> [ldm01@tgn1 ~]$ ps -ef | grep ldm
> ldm01    12377     1  0 01:56 ?        00:00:00 ldmd -I 10.2.1.18 -P 388 -M 
> 256 -m 3600 -o 3600 -q /space/ldm_pq/ldm.pq /usr/local/ldm01/etc/ldmd.conf
> ldm01    12379 12377  0 01:56 ?        00:00:00 rtstats -h 
> rtstats.unidata.ucar.edu
> ldm01    12389 12212  0 02:00 pts/2    00:00:00 ps -ef
> ldm01    12390 12212  0 02:00 pts/2    00:00:00 grep ldm
> find that ldmd is running .
> no 388 port is listening in my system.  Is it correct?    can ldm works 
> properly?

I suspect that the LDM server file isn't owned by "root" or doesn't have the 
"setuid" bit enabled. What is the output of the following commands executed by 
user "ldm01":

    cd
    ls -l bin/ldmd

If the file "bin/ldmd" isn't owned by "root" or doesn't have the "setuid" bit 
enabled, then you will have to execute the command "make root-actions" as the 
user "root" in the directory "~ldm01/ldm-6.9.8/src". For more information, see 
the installation instructions at 
<http://www.unidata.ucar.edu/software/ldm/ldm-6.9.8/basics/source-install-steps.html>.

> thank u very much.
> 
> 
> ????????nieyd
> ????????address@hidden
> ??????????2011-07-20

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: NWK-519456
Department: Support LDM
Priority: Normal
Status: Closed