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

Hello,

Excellent job on providing lots of information with your post, please see my comments inline...

On Tue, 26 Jul 2011, nieyd wrote:

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)

If you want to save into /data/tigge_data, then you need to have the "/" in your FILE action, otherwise it will be placed in $datadir-path (defined in your registry.xml) and probably in ~ldm/var/

The :.* at the end of your pattern looks suspicious, but I am not a regex master :)

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.

Did you disable selinux?  What entry exists in /etc/syslog.conf ?

daryl

--
/**
 * Daryl Herzmann
 * Assistant Scientist -- Iowa Environmental Mesonet
 * http://mesonet.agron.iastate.edu
 */