LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 08: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, 02:46 PM   #2
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

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, 04: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, 06: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, 01: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, 01: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, 05: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, 01: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


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 02:17 AM
rsh localhost - connection refused mstembri Linux - General 11 10-22-2007 10:30 AM
rsh : connection refused problem on RH9 haoscar Linux - Software 3 07-20-2004 12:12 AM
rsh localhost : connection refused StressedLemming Linux - Networking 1 11-09-2003 01:20 PM
Slow rsh connection philforrest Linux - General 1 11-07-2003 09:36 PM


All times are GMT -5. The time now is 07:26 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration