On 07/26/2011 04:30 AM, nieyd wrote:
> 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
> and in my pqact.conf
> FILE -overwrite-close
> 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
> [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
> 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
Eric M. Hudish
174 Faith Circle
Boalsburg, PA 16827
"Duh! To make room for Tuna!"