07-27-2009
AIX 5.3 ML10 new install, rsh only partially working
Two boxes we just reloaded to use as a two node HACMP cluster to insure our software is compatible.
Install disks we received at our library on 5/2009 AIX 5.3-ML10
For sake of argument names ibmaix1 and ibmaix2
On both:
ibmaix1# oslevel -r
5300-10
.rhosts files with 600 permissions
ibmaix1 root
ibmaix2 root
hosts.equiv file created
ibmaix1 root
ibmaix2 root
also ran: chuser rcmds=allow root
rlogin works with no password, get command prompt immediately
rsh system_name
will give you command prompt if you DO NOT specify a command
If I specify rsh with a command I get:
ibmaix2# rsh ibmaix1 ps
ibmaix1.ourdomain.com: A remote host refused an attempted connect operation.
I have set this up before and not had problems.
I am looking at the pam.conf but have not modified it yet.
Any suggestions will be appreciated.
---------- Post updated at 07:41 PM ---------- Previous update was at 04:41 PM ----------
Answering my own question.
The final problem was that the "shell" entry was commented out in /etc/inted.conf
went smit inetd and restarted the service after removing the comment. Things started working after that.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all;
I have to Unix servers SUM1 and SUM2 running Reliant Unix 5.45
on both servers i have a system user called "netop".
i want netop on SUM1 to execute rsh from SUM1 to SUM2.
What i did, i put in the .rhosts file in the home directory of netop on SUM2 the following entry:
netop ... (2 Replies)
Discussion started by: bcheaib
2 Replies
2. Shell Programming and Scripting
Hi,
From one of the unix servers i want execute an rsh command to 5 different servers.
i want to go to these servers execute a command and come back.
i have a main program which calls a function, where in i use the rsh command.
The server name is passed as a parameter to teh function.
it is... (3 Replies)
Discussion started by: praphul
3 Replies
3. AIX
Hi all
I have updated my .rhosts file as per the norm, however for some reason on hostA I cannot rsh to hostB.
The entries on /.rhosts on hostA are as follows :-
hostB +
hostB on the other can do rsh without a problem.
Any ideas ? :confused: (1 Reply)
Discussion started by: jhansrod
1 Replies
4. Shell Programming and Scripting
Hi,
root@air01a>SS7Manager -status
This command gives correct output. But when I write this in script and run it on SUNMC (which can connect to air01 and by default login as root). It gives the error "SS7manager not found" or "can not open". Here is the scripts.
#!/bin/sh
rsh air01a... (4 Replies)
Discussion started by: lastkey
4 Replies
5. Linux
Hi All,
Please help me how to install and configure rsh in Linux boxes and let me know where i get this software.
Thanks in advance...
Regards,
Sridhar. (3 Replies)
Discussion started by: sridhusha
3 Replies
6. Solaris
rsh is not working
command:rsh targethost -l username command
Error:Connection refused
I checked on the server rshd was not working.
Tried to start by /usr/sbin/in.rshd start
# ./in.rshd start
rshd: getpeername: Socket operation on non-socket
Please help (1 Reply)
Discussion started by: aneita
1 Replies
7. Shell Programming and Scripting
I have been having an issue with the new motorola rf scan guns opening up too many sessions at once. It seems they will open a new connection for no reason, leaving the old one in the background and the user has no idea it is happening. To combat this, I have added the following code to the logon... (1 Reply)
Discussion started by: raidzero
1 Replies
8. AIX
Hi,
I am getting the below error while using rsh from other logins in AIX 5.3
rcmd2: socket: The file access permissions do not allow the specified action.
whereas the same is working fine with root login.
I have already defined the host entries in etc/hosts as well as in .rhosts... (0 Replies)
Discussion started by: viplov
0 Replies
9. Solaris
i am using solaris 8.
i can access my server through telnet.
but not able to access rsh or rlogin.
i can rsh from this server to another machine but not from other machine to this machine.
How to start rsh service.
i have restarted inetd.
pkill -HUP inetd.
thanks (1 Reply)
Discussion started by: sunnybee
1 Replies
10. Shell Programming and Scripting
There's probably a better way to do what I'm doing and if so, let me know an alternative.
I have a script that runs rsh for every entry in a txt file to go get the file size off the remote server. I then compare the remote size with a local size.
My script worked fine until recently when I... (2 Replies)
Discussion started by: olds97_lss
2 Replies
LEARN ABOUT CENTOS
crm_node
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_node command [options]
DESCRIPTION
crm_node - Tool for displaying low-level node information
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-Q, --quiet
Essential output only
Stack:
-A, --openais
Only try connecting to an OpenAIS-based cluster
-H, --heartbeat
Only try connecting to a Heartbeat-based cluster
Commands:
-n, --name
Display the name used by the cluster for this node
-N, --name-for-id=value
Display the name used by the cluster for the node with the specified id
-e, --epoch
Display the epoch during which this node joined the cluster
-q, --quorum
Display a 1 if our partition has quorum, 0 if not
-l, --list
Display all known members (past and present) of this cluster (Not available for heartbeat clusters)
-p, --partition
Display the members of this partition
-i, --cluster-id
Display this node's cluster id
-R, --remove=value
(Advanced) Remove the (stopped) node with the specified name from Pacemaker's configuration and caches
In the case of Heartbeat, CMAN and Corosync 2.0, requires that the node has already been removed from the underlying cluster
Additional Options:
-f, --force
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.10-29.el7 June 2014 PACEMAKER(8)