Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-28-2004, 07:39 AM   #1
LQ Newbie
Registered: May 2004
Location: Pakistan
Distribution: Mandrake 10.0
Posts: 10

Rep: Reputation: 0
Connection refused rsh

I am trying to run PVM on a small cluster (5 machines). I cannot add any hosts in PVM. Nor can i use rsh to login to any other host, even the local hostname of the machine i am on!

the message i get is:

connection refused

when using rsh. I have checked the .rhosts file and the hosts.equiv file. Does anyone please have any solutions that i can try? Or any other way to get PVM up and running?

(i am using mandrake 10.0 distro)

thanks big time!!!!

Old 05-28-2004, 01:46 PM   #2
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
IMHO you better try ssh... rsh is completely out of trend...

SSH package is in almost every distros basic installation..
Old 06-04-2004, 03:28 AM   #3
LQ Newbie
Registered: May 2004
Location: Pakistan
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
I am really stuck ...pls help!

I can run SSH without any problem, and logon succesfully to other machines. but i STILL CANT ush rsh to logon! it just says:

hostname: Connection refused

I have read books, FAQs , and everything i can find, but im still stuck. and i really need rsh to be able to use PVM.

If it helps:
->I checked, and i do not have a file called /usr/sbin/in.rshd
-> my hosts.allow and hosts.equiv are ok
-> i dont have inetd, but have xinetd (is that ok?)
Old 06-23-2004, 05:08 PM   #4
LQ Newbie
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
a couple of things to try

cd to /etc/xinetd.d

there should be a rsh file in this directory. Edit the file and ensure the disabled = no
Also edit rlogin file and ensure disabled = no

The files also display the path to the rsh and rlogin daemon executables. Verify that the files are present and executable.

Restart the rlogin and rsh service or reboot the machine.

This problem drove me crazy for a couple of weeks.
Old 06-24-2004, 12:52 AM   #5
LQ Newbie
Registered: May 2004
Location: Pakistan
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
Cool problem solved! rsh-server was missing

My problem is now fixed! It seems my distro did not contain the rsh-server package. I downloaded and installed it, and then made all the tuning/adjustements to the hosts.allow and the .rlogin files. Now everything is running smoothly, and i can rsh without using passwords.

Thanks! Linux rocks!!!
Old 06-24-2004, 12:31 PM   #6
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
I think that you should give public key access a try and use ssh if you done want to use passwords.
Old 03-27-2010, 04:38 AM   #7
LQ Newbie
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
setting up a cluster


i m trying to setup a cluster of three systems....

i'm unable to setup.....i m getting error as connection refused ....

i'm not able to find what's the problem......?

please help me.................

have a nice day............
Old 02-25-2011, 12:44 AM   #8
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Same problem

Hi Manjunath,

did ur problem solved.?
even am facing the same problem... tried all posibilities but no success


cluster, setting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
rsh localhost - connection refused mstembri Linux - General 11 10-22-2007 09:30 AM
rsh : connection refused problem on RH9 haoscar Linux - Software 3 07-19-2004 11:12 PM
rsh localhost : connection refused StressedLemming Linux - Networking 1 11-09-2003 12:20 PM
Slow rsh connection philforrest Linux - General 1 11-07-2003 08:36 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration