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] a question of ldm server test!

ldm-users@xxxxxxxxxxxxxxxx,

dear all.
 i just installed ldm6.9.8 on my machine (os redhat 5.2 64 bit).
 now ldm is running.

[root@tgn1 ~]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             
State      
tcp        0      0 0.0.0.0:388                 0.0.0.0:*                   
LISTEN      
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   
LISTEN      

[ldm01@tgn1 ~]$ ldmping localhost
Jul 26 08:16:34 INFO:      State    Elapsed Port   Remote_Host           
rpc_stat
Jul 26 08:16:34 INFO: Resolving localhost to 127.0.0.1 took 0.000245 seconds
Jul 26 08:16:34 INFO: RESPONDING   0.001084  388   localhost    


 i want do some file transfer test to verify the ldm server works well.
 i want to use ldmsend to transfer a file to localhost,and after receiving the 
file i just save it in 
/data/tigge_data.

and in my pqact.conf
EXP     
^(z_tigge_c_)(....)_(....)(..)(..)(..)(..)(..)_(....)_(....)_(..)_(..)_(....)_(...)_(....)(.*\.grib):.*
 FILE    -overwrite-close  
data/tigge_data/\2/\9/\3\4\5\6/\(10)/\(13)/(12)/\1\2_\3\4\5\6\7\8_\9\(10)_\(11)_(12)_\(13)_\(14)_\(15)\(16)
 

in my ldmd.conf
ACCEPT ANY ".*" ^((localhost|loopback)|(127\.0\.0\.1\.?$))
ACCEPT  EXP "^z_tigge.*" ^10\.2\.1\.?$ 
                                
 [ldm01@tgn1 ~]$ ldmsend -v  -l send.log   -P 388 -x -f EXP   
z_tigge_c_ecmf_20110725000000_glob_prod_pf_pl_0360_050_1000_v.grib 
 [ldm01@tgn1 ~]$ cat send.log 
ldmsend INFO: Resolving localhost to 127.0.0.1 took 0.000284 seconds
Jul 26 08:20:54 DEBUG: version 6
ldmsend INFO: Sending 
z_tigge_c_ecmf_20110725000000_glob_prod_pf_pl_0360_050_1000_v.grib, 277519 bytes
Jul 26 08:20:54 DEBUG: Sending file via HEREIS_6



it looks like that send file ok?but i can not find the file in data/tigge_data/ 
and even the other place i can not find the file?how can i know i receive the 
file correct ?i want to see the log file of ldm server,but 
i am surprised that the ldm log file is 0 bytes even after i do the test.

this is my /log/file : /usr/local/ldm01/logs/ldmd.log
[ldm01@tgn1 ~]$ ls -l logs/ldmd.log 
-rw-r--r-- 1 ldm01 ldm 0 Jul 19 01:09 logs/ldmd.log


anyone here can give me some hints about my test ?  
thanks a lot!

        nieyd
        nieyd@xxxxxxxxxx
          2011-07-26
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: