Comments
-
Only one version of perl is living on the system, confirmed via `find / -type f -name perl -executable`.
-
Thanks for the suggestions! In this case, I'm certain that `nc` is being found and is executing correctly, because the script would enter the error condition and display "Wrong port or memcached stopped or some problems with executing "nc" or "netcat" command." if the `nc` binary was not present at all in the path, as the…
-
What mystifies me is that zero values for the "used for caching ratios" calculations appears to work fine from the command line. I've created a test script to validate this: $port=$ARGV[0]; if ($port eq '') { print "Message: Can't find \"port\" argument.\n"; exit 1; } $arg1="echo \"stats\" \| nc 127.0.0.1"; $cmd1=${arg1}.'…
-
Thanks for responding (all who have swarmed on this topic! I'm extremely impressed with this community!), those are good suggestions. I have verified the account permissioning: logged in as the `solarwin` user via SSH, dumped the script into /tmp, and ran `perl /tmp/test.pl 11211`. The script runs successfully this way.…
-
Yep! Here's the script that it's using: $port=$ARGV[0]; if ($port eq '') { print "Message: Can't find \"port\" argument.\n"; exit 1; } $arg1="echo \"stats\" \| nc 127.0.0.1"; $cmd1=${arg1}.' '.${port}; $arg2="echo \"stats\" \| netcat 127.0.0.1"; $cmd2=${arg2}.' '.${port}; $cmd=${cmd1}.' || '.${cmd2}; @out=`$cmd`;…
-
This was the problem. Specifically, we had permitted TCP 6800 traffic to the JMX server on our firewall, but failed to take into account the fact that JMX behaves like old "active mode FTP" and opens a second random port that also needs to be permitted. Once we opened up our restrictive firewall a little bit, the Glassfish…