[CentOS] Getting "poll: protocol failure in circuit setup" from rsh

Fri Feb 20 10:36:01 UTC 2009
Sorin Srbu <sorin.srbu at orgfarm.uu.se>

Hi all,

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".

What I've done so far is to check whether the command "rsh mach218 uptime"
from m2 works with and w/o iptables running on mach218, checking that m2 is
allowed to rlogin in m218 hosts.allow, hosts is properly setup, xinetd rsh
and rlogin services are on and started AFAICT. In neither case does rsh work
when run against m218, I still get the protocol failure-message.

I have another machine, m14, that also runs CentOS 5.2 but the x86-flavour,
and here rsh works. As far as I can tell, the machines are identically setup
with respect to iptables, hosts and hosts.allow. Also the /etc/xinetd.conf
are identical on both m14 and m218.

Feels like I'm missing something obvious... Can you guys help? Thx.
-- 
BW,
	Sorin
-----------------------------------------------------------
# Sorin Srbu			[Sysadmin, Systems Engineer]
# Dept of Medicinal Chemistry,	Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem,	Mobile: +46 (0)701-718023
# Box 574, Uppsala University,	Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden	Visit: BMC, Husargatan 3, D5:512b
#			Web: http://www.orgfarm.uu.se
-----------------------------------------------------------
# ()  ASCII ribbon campaign - Against html E-mail 
# /\
#
# MotD follows:
# If it wasn't backed-up, then it wasn't important. -The sysadmin's motto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5106 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090220/23ef3c39/attachment-0004.bin>