Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Getting "poll: protocol failure in circuit setup" from rsh - solved (http://www.linux-archive.org/centos/261941-getting-poll-protocol-failure-circuit-setup-rsh-solved.html)

"Sorin Srbu" 03-12-2009 12:46 PM

Getting "poll: protocol failure in circuit setup" from rsh - solved
 
>-----Original Message-----
>From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On
Behalf
>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
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

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


All times are GMT. The time now is 03:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.