Enable rsh service on RedHat Enterprise version 5
Hi
I would like to enable rsh service on redhat enterprise version 5. My system is a DELL quadricore 64 bit system and I would like to run mpich compiled parallel applications. However I have rsh installed but when I run rsh -n <hostname> ls under root I get the error message connect to 192.168.1.5 port 544 : connection refused krb4 rsh connect to 192.168.1.5 port 544 : connection refused trying normal rsh (/usr/bin/rsh) permission denied I have added the hostname and user name in the hosts.equiv file under/etc I have also edited the rsh file under /etc/xinetd.d folder and have changed the value of rsh disable to no I have created a .rhosts file under my user home folder and have specified the hostname & username can you please help thanks |
First verify that xinetd is listening on port 544.
lsof -i :544 This will show you any activity on port 544. You probably need to open up port 544 in the firewall which iptables. Try running "service iptables stop" then doing your test. If it works then it confirms it was iptables blocking it. Once you've confirmed that you need to "service iptables start" to restart iptables. You can then open up the port with the following procedure: 1) cd /etc/sysconfig 2) cp -p iptables iptables.CCYYMMDD 3) iptables-save >iptables-save.CCYYMMDD 4) iptables -D RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited ### Deletes the icmp rule from end of rules. 5) -A RH-Firewall-1-INPUT -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 544 -j ACCEPT ### Opens port 544 6) iptables -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited ### Readds the icmp rule as last rule. 7) iptables-save >iptables ### Saves to file read on iptables start - insures new rule is loaded during reboot and bounces. Steps 2 and 3 save existing configuration and can be used to back out if there are any issues. |
Hi
I have been able to enable rsh services. Now I am facing another problem I want to run mpich parallel application. My system is a quadcore and I am trying to run mpirun on 4 processors. However when I run I get the error message p0_24205: p4_error: Could not gethostbyname for host NASSAU; may be invalid name : 61 Here NASSAU is the hostname I have specified the hostname in users home folder in .bashrc & .bash_profile file I have also specified the hostname and no.of processors in mpich/share folder in file machines.LINUX file Is it possible to get a solution Thanks |
All times are GMT -5. The time now is 04:48 AM. |