Re: [ldm-users] a question of ldm server test!

On 07/26/2011 04:30 AM, nieyd wrote:
> ldm-users@xxxxxxxxxxxxxxxx,
> 
> 
>  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\.?$ 
>       

This might be an issue between REQUEST and ACCEPT...would love to know
the results if you can test the two methods.

                        
>  [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.

Logs can be funky, might be writing someplace else. Try running a
notifyme or ldmadmin watch to see if you receive the product.

> 
> 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
> 
> 

Easiest, dirtiest way is run pqcat -p with a regex and search for your
item. Not very fun with binaries, but at least will tell you if you
received it.




-- 
Eric M. Hudish
174 Faith Circle
Boalsburg, PA 16827
Cell: +1.724.977.3314
Goog: +1.814.689.9148

"Duh! To make room for Tuna!"
<http://www.google.com/profiles/eric.hudish>
Search <http://keyserver.pgp.com>



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