Re: Getting "poll: protocol failure in circuit setup" from rsh - solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>-----Original Message-----
>From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf
>Of Sorin Srbu
>Sent: Friday, February 20, 2009 11:36 AM
>To: 'CentOS mailing list'
>Subject:  Getting "poll: protocol failure in circuit setup" from
rsh
>
> 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
the
> 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
I
>get the error message in the subject line; "poll: protocol failure in
>circuit setup".

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.
-- 
/Sorin

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux