Solved

rsh problem from redhat9 to solaris 2.6 - protocol failure

Posted on 2003-12-03
10
2,058 Views
Last Modified: 2013-12-05


  When I tried to connect with rsh to solaris 2.6 machine from my redhat 9.0 machine I had a problem.
  For example a simple command :
     [operator@ldw1 tmp]$ rsh scmssrv1 "ls"
     poll: protocol failure in circuit setup

   When I tried exactly the same thing from a redhat 8 machine there is no problem. The unix machine same and rlogin works for both redhats.
   I tried to install and use the same rsh and rsh-server packages on the redhat machines but there was no change.
   There is no firewall. Only a soft linux router with some little firewall configuration and as I said rlogin is working on the machine properly.
   Both redhat machines are on the same swith and same network. The network configuration for both machines ( Two redhats = 1 woks the other not) are exactly same.
   Thanks for your help.
0
Comment
Question by:keles
  • 7
  • 3
10 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9868515
it looks like firewall problem.

open your port 1021-1023 for internal network.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9868523
u can also try just
running rsh scmssrv1, and i think it should work.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9868543
Modify /etc/inetd.conf to allow more processes per minute for rsh.

shell      stream      tcp      nowait      root      /etc/tcpd2      in.rshd
to
shell      stream      tcp      nowait.200      root      /etc/tcpd2      in.rshd



0
 
LVL 24

Expert Comment

by:shivsa
ID: 9868556
also add your hosts to /etc/hosts.equiv file.
0
 

Author Comment

by:keles
ID: 9872856

  rsh scmssrv1 is running but what does it mean. I still cannot execute it with any simple command. I tried the other ways already but only I didn't open the ports 1021- and 1023. How can I understand if they are open or not. And when I activate rsh deamon on redhat it works properly. I have problem only when redhat 9 tries to connect and execute a command on solaris 2.6 with rsh. In the all other case it works. With which command I can make the same thing.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 24

Expert Comment

by:shivsa
ID: 9872917
do u have .rhosts files on both the server.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9872925
and u have want to place + in .rhosts files.
solaris need this file in place on its server to work rsh.
0
 

Author Comment

by:keles
ID: 9873267

  Of course I have the .rhosts file on the server side. As I said before it is working on an other release of redhat. Let me explain again:

   Redhat 8.0 sends "rsh scmssrv1 ls" to Solaris 2.6(scmssrv1) = it's working
   Redhat 9.0 sends "rsh scmssrv1 ls" to Solaris 2.6(scmssrv1) = it's not working ( As I said it gives a strange message "poll: protocol failure in circuit setup"
   Redhat 9.0 sends "rsh scmssrv1" to Solaris 2.6(scmssrv1) = it's working

   Redhat 8.0 and Redhat 9.0 are on the same network and switch. They have the same login users with the same uids and etc. They have same hardware. Only difference is operating system that I know.
    And thanks for your interest.
0
 

Author Comment

by:keles
ID: 9873872

  Finally I found a hardware problem on the ethernet cards. So problem was solved.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 250 total points
ID: 9875355
Good to know you got the issue resolved. You can close the question by following this guidelines:

http://www.experts-exchange.com/help.jsp#hs5
.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now