LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2004, 07:39 AM   #1
onaeem
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!!!!


Oz.
 
Old 05-28-2004, 01:46 PM   #2
LuggerHouse
Member
 
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
onaeem
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
chrisvanloan
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
onaeem
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 LinuxQuestions.org! Linux rocks!!!
 
Old 06-24-2004, 12:31 PM   #6
phatboyz
Member
 
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.

http://www.linuxquestions.org/questi...iewcat&catid=1
 
Old 03-27-2010, 04:38 AM   #7
manjunath537
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
setting up a cluster

helloms.,

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
skrajath
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
 
  


Reply

Tags
cluster, setting



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:14 AM.

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