Sponsored Content
Operating Systems AIX RSH intermittent error rshd: 0826-813 Permission is denied. Post 302429483 by JodyTek on Monday 14th of June 2010 02:44:12 PM
Old 06-14-2010
Tools RSH intermittent error rshd: 0826-813 Permission is denied.

I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?

Code:
sbhcprdb01<root>: rsh sbhcprdb02 date
Mon Jun 14 14:15:01 EDT 2010
sbhcprdb01<root>: rsh sbhcprdb02 date
rshd: 0826-813 Permission is denied.
sbhcprdb01<root>: rsh sbhcprdb02 date
Mon Jun 14 14:15:05 EDT 2010
sbhcprdb01<root>: rsh sbhcprdb02 date
rshd: 0826-813 Permission is denied.
sbhcprdb01<root>: rsh sbhcprdb02 date
Mon Jun 14 14:15:10 EDT 2010
sbhcprdb01<root>: rsh sbhcprdb02 date
rshd: 0826-813 Permission is denied.
sbhcprdb01<root>: rsh sbhcprdb02 date
Mon Jun 14 14:15:14 EDT 2010

sbhcprdb01<root>: rlogin sbhcprdb02
root's Password:
Connection closed.
sbhcprdb01<root>: rlogin sbhcprdb02
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 6.1!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last unsuccessful login: Mon Jun 14 11:03:18 EDT 2010 on /dev/pts/0 from bchcprdb01.bch.barbhosp.com
Last login: Mon Jun 14 13:19:18 EDT 2010 on /dev/pts/0 from sbhcprdb01.bch.barbhosp.com

sbhcprdb02<root>: exit

sbhcprdb01<root>: host sbhcprdb02
sbhcprdb02.bch.barbhosp.com is 10.2.6.5
sbhcprdb01<root>: host 10.2.6.5
sbhcprdb02.bch.barbhosp.com is 10.2.6.5

sbhcprdb01<root>: cat .rhosts
sbhcprdb02.bch.barbhosp.com  root
sbhcprdb02  root


sbhcprdb01<root>: cat /etc/hosts |grep sbhcprdb02
10.2.6.5        sbhcprdb02      sbhcpr02-02     BCH-PRD2        SBH-PRD2
192.168.89.2    sbhcprdb02-gige         sbhcpr02-02-gige
sbhcprdb01<root>:



sbhcprdb02<root>: rsh sbhcprdb01 date
Mon Jun 14 14:37:07 EDT 2010
sbhcprdb02<root>: rsh sbhcprdb01 date
Mon Jun 14 14:37:09 EDT 2010
sbhcprdb02<root>: rsh sbhcprdb01 date
Mon Jun 14 14:37:10 EDT 2010
sbhcprdb02<root>: rsh sbhcprdb01 date
Mon Jun 14 14:37:11 EDT 2010

sbhcprdb02<root>: host sbhcprdb01
sbhcprdb01.bch.barbhosp.com is 10.2.6.4
sbhcprdb02<root>: host 10.2.6.4
bchcprdb01.bch.barbhosp.com is 10.2.6.4,  Aliases:   sbhcprdb01.bch.barbhosp.com

sbhcprdb02<root>: cat /etc/hosts |grep sbhcprdb01
10.2.6.4        sbhcprdb01      sbhcpr01-02     BHC-PRD1        SBH-PRD1
192.168.89.1    sbhcprdb01-gige         sbhcpr01-02-gige

sbhcprdb02<root>: cat .rhosts
sbhcprdb01.bch.barbhosp.com root
sbhcprdb01 root
sbhcprdb02<root>:


Last edited by pludi; 06-14-2010 at 06:27 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

rsh and permission denied

Dear All I am using rsh command to work with a remote tape drive. I am getting the message 'permission denied'. What should I do to get rid of this message. Best Regards Reza (1 Reply)
Discussion started by: Reza Nazarian
1 Replies

2. UNIX for Dummies Questions & Answers

rm Permission Denied error

I am very new to Unix. We have a script that will remove files from a directory. The account removing the files has the same permissions as the directory the files are located. We have logged in as the account and deleted the files from that directory but when we run the script with the account... (7 Replies)
Discussion started by: Cech2002
7 Replies

3. UNIX for Advanced & Expert Users

getcwd: permission denied error

When I do a 'cd /appl' and issue 'ls -al' command, I get the following error for .. directory. ./..: Permission denied But still I get a listing of other directories under /appl. Also, if I give 'man' for any command under this /appl folder, I get the following error: ... (3 Replies)
Discussion started by: Deepa
3 Replies

4. Shell Programming and Scripting

rsh permission denied

Hi Gurus, Trying to search in the forum but cant seem to find anything related. I'm trying to run this script DWH_Housekeep.sh from the another server This is my command: rsh -l hulft 140.32.12.161 /usr/TRS/script/DWH_Housekeep.sh permission denied I get permission denied. ... (7 Replies)
Discussion started by: lweegp
7 Replies

5. OS X (Apple)

Permission Denied Error with X11

Hello, I am using Tiger 10.4.11 I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd. Whenever I open X11, I get an error: xterm: could not exec /dev/null: Permission denied I have chmodded /dev/null to 777, as well as the /tmp directory. I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies

6. Shell Programming and Scripting

Permission denied while executing rsh

Hi All, I have two servers, say server1 and server2. I have put the entries of both servers in /.rhosts file of both servers. So, when I tried to run following from server1- rsh server2 "ls" Permission denied was printed on console. Can anyone help me out? Regards, akash mahakode (4 Replies)
Discussion started by: akash_mahakode
4 Replies

7. AIX

rshd: 0826-813 Permission is denied.

Guy's I have two servers .. server1 and server2 I have configured the rshd and started the rshd demean in both servers by the below command . startsrc -t shell lssrc -t shell Service Command Description Status shell /usr/sbin/rshd rshd ... (4 Replies)
Discussion started by: Mr.AIX
4 Replies

8. UNIX for Dummies Questions & Answers

Webserver permission denied error

Hello, I was trying a perl-cgi tutorial and saving the data from online form to a file named (guests.txt). I am using the localhost port 80 for practice. My page file "guestbook.html" is working as I saw the online form. After filled out the blanks and submit, I was expecting to see the result... (3 Replies)
Discussion started by: yifangt
3 Replies

9. Linux

rsh permission denied

hi I have configured rsh-server and running rsh command on my fedora 14 machine while executing it shows permission denied, below is the output of the same. # rsh localhost date Permission denied. # but same works in other system # rsh localhost date Fri Nov 23 05:31:12 PST... (5 Replies)
Discussion started by: muzaffar.k
5 Replies

10. Shell Programming and Scripting

Pipe, permission denied error

Hello, I am trying to stream lines written into file. When first source is down, I expect the code to swap to second line and run it. Script below works as usual and it prints out each line of the input file (s.txt): #!/bin/bash while read -r line; do echo "$line" done <"$1" exit 0Output... (12 Replies)
Discussion started by: baris35
12 Replies
RSH(1)							    BSD General Commands Manual 						    RSH(1)

NAME
rsh -- remote shell SYNOPSIS
rsh [-Kdnx] [-k realm] [-l username] host [command] DESCRIPTION
Rsh executes command on host. Rsh copies its standard input to the remote command, the standard output of the remote command to its standard output, and the standard error of the remote command to its standard error. Interrupt, quit and terminate signals are propagated to the remote command; rsh normally termi- nates when the remote command does. The options are as follows: -K The -K option turns off all Kerberos authentication. -d The -d option turns on socket debugging (using setsockopt(2)) on the TCP sockets used for communication with the remote host. -l By default, the remote username is the same as the local username. The -l option allows the remote name to be specified. Kerberos authentication is used, and authorization is determined as in rlogin(1). -n The -n option redirects input from the special device /dev/null (see the BUGS section of this manual page). If no command is specified, you will be logged in on the remote host using rlogin(1). Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote machine. For example, the command rsh otherhost cat remotefile >> localfile appends the remote file remotefile to the local file localfile, while rsh otherhost cat remotefile ">>" other_remotefile appends remotefile to other_remotefile. FILES
/etc/hosts SEE ALSO
rlogin(1), kerberos(3), krb_sendauth(3), krb_realmofhost(3) HISTORY
The rsh command appeared in 4.2BSD. BUGS
If you are using csh(1) and put a rsh in the background without redirecting its input away from the terminal, it will block even if no reads are posted by the remote command. If no input is desired you should redirect the input of rsh to /dev/null using the -n option. You cannot run an interactive command (like rogue(6) or vi(1)) using rsh; use rlogin(1) instead. Stop signals stop the local rsh process only; this is arguably wrong, but currently hard to fix for reasons too complicated to explain here. Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)
All times are GMT -4. The time now is 05:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy