- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- r-commands dying
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
07-04-2000 12:21 PM
07-04-2000 12:21 PM
r-commands dying
r-command like remsh, rexec and such will die on the target node when trying to open a port back to the initiator node.
ie
remsh node2 ls
rexec node2 bdf
will crap out with the following messages
rcmd: primary connection shut down
rexec: primary connection shut down
The weird thing is I can do an rlogin or a remsh, it's only when I pass them a command to run that this happens. Without the commands the shell opens with no problems.
9/10 times it will core-dump.
Moreover, the same activity happens if I try to open the r-command to the same node, i.e. on node1 I do
remsh node1 ls
I see the same response. So it appears that the port is opening correctly just for a remote shell or for an rlogin, but just for opening added commands through the remote shell or remote login that it runs into problems.
I'm fairly sure I'm fully patched...
Anyone seen this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2000 10:37 AM
07-05-2000 10:37 AM
Re: r-commands dying
try doing it like this
remsh node1 "/usr/bin/ls"
and rexec node1 "/usr/bin/bdf"
use the whereis command to find the full path of the command
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2000 11:14 AM
07-05-2000 11:14 AM
Re: r-commands dying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2000 11:21 AM
07-05-2000 11:21 AM
Re: r-commands dying
That specific message ?primary connection shut down? can occur if you are using inetd.sec (see /var/adm/inetd.sec file).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2000 11:47 AM
07-05-2000 11:47 AM
Re: r-commands dying
shell stream tcp nowait root /usr/lbin/remshd remshd
No surprises there.
.rhosts exists and is happy; I can do a basic remsh without command with no problems.
/var/adm/inetd.sec does not exist...
Wahhhhh.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2000 04:59 PM
07-05-2000 04:59 PM
Re: r-commands dying
In only one L machine that I have, here you go the /var/adm/inetd.sec. See man inetd.sec as well. (you can just cut off the last line in the file; that is for IT/O.
I don't know if counts or not, but in /etc/inetd.conf beside the line that you mentioned you have, I do have one more:
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
So, add this line in /etc/inetd.conf and have the /var/adm/inetd.sec. Any luck? Still the same error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2000 10:46 AM
07-06-2000 10:46 AM
Re: r-commands dying
eshell, elogin, kshell, klogin are also both listed, but they're not the ones I'm using...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2000 12:28 PM
07-06-2000 12:28 PM
Re: r-commands dying
Obviously, I don't have a clear cut answer for you, but maybe some new places to look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2000 12:35 PM
07-06-2000 12:35 PM
Re: r-commands dying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2000 01:01 PM
07-06-2000 01:01 PM
Re: r-commands dying
/etc/PATH /etc/profile are straight, standard defaults. No surprises there. I've thought about $HOME/.profiles, but it happens with every user I've tried, not just root.
Moreover, it happens with any different shell, I've tried sh, csh, ksh...
There are no nfs mounts or exports, no quotas.
This *is*, however, an MC/ServiceGuard environment. We have two L2000s set up as follows:
lan0 - heartbeat (192.168..)
lan1 - external address (38.144..)
lan2 - standby for failure, unconfigured.
The heartbeat is just a crossover between the two, lan1 is on a 255.255.255.0 network, patched into a switch.
/etc/hosts shows
lan0 hb1
lan1 node1 node1alias.fully.qualified
127.0.0.1 loopback
Aside from that we have no ndd modifications in place, like ip_forwarding or the like and with only 2 active NICs I don't think the OS would be turning that on.
But I *do* believe it would be networking that is causing our problems. Just a hunch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 01:13 AM
08-27-2004 01:13 AM
Re: r-commands dying
remshd[6972]: usage: remshd [-ln]
So I checked inetd.conf and this had a -m on the end of remshd, once removed and things restarted its OK.