On Thu, May 29, 2008 at 9:33 PM, Tomash Brechko <[EMAIL PROTECTED]> wrote:
> On Thu, May 29, 2008 at 06:17:15 -0700, wes wrote: > > > B. a client with running a simple perl script (centos 4/ perl 5.8.5 / > > > cached::memcached 1.2.4 installed) > > > > my $attack_times = $memd->get($memd_key); > > > > > > print Dumper $attack_times; > > > > 2) running perl script on B, get no result (not showing any error) > > How the value was set? Since you use Data::Dumper, my guess it's not > a plain scalar. Then I would suspect serialization problem: Perl > 5.8.5 might be incompatible with the Perl version you serialized your > data with. When de-serialization fails, no error is reported, which > is correct. > hmm. the value was set into memcached by another script, it's a hash href. i have added some debug printing in perl script, like ------------------------------- my $attack_times = $memd->get($memd_key) || print "got nothing\n"; ------------------------------- run the script, then B shows "got nothing". C shows the value of the key and for A and B, they are not in the same subnetwork (it's separated & far away). hmmm, is that related?? (actually, the distance of A-B is the same as the distance of A-C ) and i have upgreaded perl to 5.10.0 on B, but script still not working another difference between B and C, it's B has iptable installed and running so confused!~~ > > -- > Tomash Brechko >
