[CentOS] Getting "poll: protocol failure in circuit setup" from rsh - solved
sorin.srbu at orgfarm.uu.se
Thu Mar 12 13:46:42 UTC 2009
>From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
>Of Sorin Srbu
>Sent: Friday, February 20, 2009 11:36 AM
>To: 'CentOS mailing list'
>Subject: [CentOS] Getting "poll: protocol failure in circuit setup" from
> I inherited a cpu-stats script from the previous *nixadmin at our
> department. This script relies on a rsh-command to get the vmstats from
> remote machines and then using a perl script to push it to a web server.
>Now I've just added a new machine running CentOS 5.2 x64 to the script and
>get the error message in the subject line; "poll: protocol failure in
Replying on my own post for archival reasons:
The error was in /etc/hosts.allow. I forgot to add a line "in.rshd: FQDN" in
hosts.allow on the machine I imaged and then used to install to a bunch of
other machines. Easy to miss though, there are a dozen or so other lines in
there allowing other daemons and stuff.
Fixing that, now "rsh remote-machine vmstat" works as expected.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5106 bytes
Desc: not available
More information about the CentOS