Operating System - HP-UX
1752767 Members
5271 Online
108789 Solutions
New Discussion юеВ

remsh returns "connection timed out"

 
battleford
New Member

remsh returns "connection timed out"

HPUX11.0 L-class

When I try to run "remsh hostname ls -l"
, it often returns "connection timed out".

Any clue?
battleford
5 REPLIES 5
Andrew_4
Honored Contributor

Re: remsh returns "connection timed out"

Have you correctly setup the .rhosts file for user equivalency, or /etc/hosts.equiv for system equivalency ??

Does it always timeout ?

If it does get through, does it take long ?

Has it ever worked properly ? If so, what networking changes have occured recently which might cause a slow connection ?

Andrew
The Unix Programmer's Manual, 2nd Edition, June, 1972: "The number of Unix installations has grown to 10, with more expected."
James R. Ferguson
Acclaimed Contributor

Re: remsh returns "connection timed out"

Hi:

Does telnet behave the same way? What does an nslookup return? Do you have an account on the remote host matching your local host account? The example you show should work fine. Remember that remsh is NOT designed to work with interactive commands. This would include piping to 'more', etc.

Does any of this shed light on your problem?

...JRF...
Lasse Knudsen
Esteemed Contributor

Re: remsh returns "connection timed out"

Have you go multiple entries for this host in you DNS. try 'nslookup '. It might be that one (or several) of the addresses are not correct (or misconfigured)
In a world without fences - who needs Gates ?
battleford
New Member

Re: remsh returns "connection timed out"

The problem does not seem connected to name resolution because I try it using IP address.
I got the same result.

for example,

<<.rhosts>>
127.0.0.1 user1

remsh 127.0.0.1 date

it returns
rcmd: communication timed out


It usually take about 1 minute to get that
result. However, it does work sometimes.
I would say it happen about 40 % out of 100.

Telnet and nslookup work fine.

In my opinion, this does not any thing to do with network. Somehow rcmd command in SMP environment has some problem where all of
patches are no good to this matter.

Please take a look on comp.sys.hp.hpux.
You will find similar post by Tom. Subject
line is "problem with rcmd on 11.x"

Thanks!!!
battleford
James R. Ferguson
Acclaimed Contributor

Re: remsh returns "connection timed out"

Hi:

Please post the link you are referencing. Also, what are the exact messages (all of them) that you see when the failure occurs. It sounds like a resource issue on the remote server.

...JRF...