Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsh problem

Status
Not open for further replies.

inma

Technical User
Apr 5, 2001
49
0
0
ES
Hi,

when we tried to rsh to the remote server it is not returning back to the $ prompt.

From "server1" I try to do to "server2":
$rsh server2 ls

It hangs there without return back to the prompt.

 
A bunch of things to check here.

First, DNS/hosts lookup:
Can you telnet from server1 to server2? If so, what does it resolve server1's hostname as? (who am i) This is the hostname that you should have in your .rhosts or hosts.equiv on server2.

Also, how are you resolving IP addresses? (/etc/nsswitch.conf /etc/resolv.conf) Is DNS hanging on either node?

Second, are rservices (rsh) even enabled?
Are rservices defined in /etc/inetd.conf on server2? Is inetd running? Has it been restarted or "HUP"ed since the /etc/inetd.conf file was updated?

Let me know if this helped you. There are more things to check, but this is a start. I'm sure others will add a couple of things to test also.
 
Thanks spamly for your answer.
I have checked all you say. I can do telnet and rlogin to server2.
Before last monday rsh worked well.
I don't know what is happening.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top