rsh problem from redhat9 to solaris 2.6 - protocol failure


  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.
   Thanks for your help.
kelesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

liddlerCommented:
try doing
rsh 127.0.0.1 "ls"
to make sure rsh works OK on the machine, if it does, the problem may be firewall or network speed / duplex related.
Do you have a firewall?  Does it log? Can you see any drops?
Can you confirm all NICs / switches / Hubs are set to the same speed & duplex?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kelesAuthor Commented:

  I had the following answer and I think it seem that rsh is running as a client. I didn't configure the Redhat9.0 machine as a rsh server.
  [operator@ldw1 tmp]$ rsh 127.0.0.1 "ls"
  ldw1: Connection refused

   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.
gheistCommented:
redhat asked if you want ipchains when installed, and you selected different answers...
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

kelesAuthor Commented:

  The problem was a hardware problem on ethernets. So it was solved.
gheistCommented:
"connection refused" is firewall or routing problem as liddler pointed out, not ethernet.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.