- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- r-commands between tru64 unix and hp-ux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 03:58 AM
06-23-2006 03:58 AM
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 rsh ( hp-ux equivalent is remsh)doesn't always work, or at least on some of the systems the output of an rsh command does not display. An rcp from any of these same tru64 systems to hp-ux always works. So far I only see the difficulty with the output of the rsh commands.
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 04:14 AM
06-23-2006 04:14 AM
Re: r-commands between tru64 unix and hp-ux
Next thing to do is repeated rsh commands on the Tru64 commands until a failure is detected (ie, no expected output). Immediately "echo ${?}" to display the status of the last command. Normally that is a waste of time because ${?} can tell you nothing about the success of the remote command but it can telkl you something about the local machine's ability to initiate the remote command. Essentially, you are trying to see if ${?} is ever non-zero.
You could also enable inetd logging on the HP-UX end so that you can see when the connections are made.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 04:19 AM
06-23-2006 04:19 AM
Re: r-commands between tru64 unix and hp-ux
How about patch level on these HP-UX servers ? Are they same across ? You can have a patch assessment on your servers.
http://www1.itrc.hp.com/service/patch/wrap.do?dest=/patch/jsp/WrapCPN.jsp&pageKey=patch.html.propatch
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 04:26 AM
06-23-2006 04:26 AM
Re: r-commands between tru64 unix and hp-ux
$? is 0 when problem occurs.
Patch levels of hp-ux systems are the same, but fairly old, ( have on to-do list to patch up), but "should" be irrelevant, because the problem occurs from different tru64 systems to the same hp-ux systems, e.g. it works from some tru64, not from other tru64, to the same hp-ux.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 04:29 AM
06-23-2006 04:29 AM
Re: r-commands between tru64 unix and hp-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 04:40 AM
06-23-2006 04:40 AM
Re: r-commands between tru64 unix and hp-ux
I think the commands are working, but the output is getting lost, - going into bit bucket on tru64 side. But why, and how to fix?
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 05:15 AM
06-23-2006 05:15 AM
SolutionI assume that you have done a man rsh on the Tru64 end to see. I would also try using the -n rsh option on commands that expect no input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 05:49 AM
06-23-2006 05:49 AM