Hello ,
We have an issue on one our production DB .
db2_all command doesnt work and gives "connection refused " error.
Everything looks fine . db2nodes.cfg , .rhosts , /etc/hosts file all
are fine .
Even application is able to access and query the DB .
But we want to fix this db2_all issue as we suspect it could cause
some issues in future .
db2_all & rah gives the same error .
rah date also gives the same error.
Any clues where the issue is ?
Tags:
Permalink Reply by Yves-Antoine Emmanuelli on December 27, 2011 at 8:29am Hello,
Would it be that the rshd daemon is not started ?
Also, you should consider using ssh instead of rsh, from a security point of view.
Regards.
--
Yves-Antoine.
Permalink Reply by Kamalnath Vadapalli on December 27, 2011 at 12:08pm Thanks Yves-Antoine .
The rshd daemon is disabled on the server .
To be more specific /etc/inetd.conf was modified by someone and commented the below rshd line .
#shell stream tcp6 nowait root /usr/sbin/rshd rshd
After uncommenting the above line in /etc/inetd.conf , the issue is fixed .
Thanks a lot for the help .
Kamalnath.V
Explore in-memory and columnar technologies through this active approach to exploring emerging technologies.
![]() |
FREE Book: Getting started with DB2 |
© 2013 Created by channeldb2.