Operating System - Tru64 Unix
1831640 Members
1862 Online
110027 Solutions
New Discussion

Re: rsh to hp-ux

 
John Kittel
Trusted Contributor

rsh to hp-ux

I have several old tru64 (4.0d) systems, and several hp-ux 11.11 systems. I'm trying to configure r-commands between them. From hp-ux to tru64 always works. From some tru64 systems to hpux it always works. BUT, from some other tru64 systems to hp-ux doesn't always work, or at least on some of the systems the output of an rsh command does not display.

For example, on some tru64 systems, if I run this command 20 times, I see the output once or twice, the other times there is no error message, just comes back to the shell prompt:

rsh hpuxbox ls

But, on those same tru64 systems, if I run this command, I always get the output:

rsh hpuxbox "sleep 1; ls"

I'm unable to discover what is the difference between the tru64 systems that would account for this. Some kind of timing issue? Anything you think I can do to troubleshoot it or fix it? ( I can't upgrade).

Thanks.
4 REPLIES 4
Han Pilmeyer
Esteemed Contributor

Re: rsh to hp-ux

Works fine for me on the latest versions. I know we had problems which sound similar a couple of years ago on Tru64. This was with V5, but I can't remember whether those problem could be traced back as far as V4.0D.
Al Licause
Trusted Contributor

Re: rsh to hp-ux

Try running tcpdump when running rsh between the systems. Don't restrict to any particular port as it is possible that the port on which you're expecting the traffic may change.

See if all data is being sent but possibly to a different location.

Let us know what you find.

And if you are getting any errors, please post them.

John Kittel
Trusted Contributor

Re: rsh to hp-ux

Thanks Al. I may try tcpdump; perhaps it will yield something useful. But I seriously doubt the possibility the traffic could be sent to different destination. Because, as I mentioned, if I just add a 1 second sleep in front of the remote command, I get the output back every time. Also, as I mentioned, no error status or messages detected so far. Will keep looking.

- John
John Kittel
Trusted Contributor

Re: rsh to hp-ux

Solved. The version of rsh on the systems that didn't work was newer than on the systems that did not have the problem. Copying the older version of rsh to the systems that had the problem eliminated it. All tru64 systems are 4.0d. Perhaps rsh was changed in a patch.