rsh commands not getting executed from Solaris 10 System to AIX System

I had the same problem from AIX to AIX when our DNS-Server crashed

I could rlogin from a to b but not execute commands (with hosts entry)

when DNS was up again rsh worked instant, I'cant tell you what the problem was, but obviously it was about name resolution, reverse lookup, full qualified or not full qualified DN problem, search in that direction

IPv6 is not configured on my Solaris 10 system. Please find the output's of uname -a, ifconfig -a, more /etc/release commands.

Solaris10# more /etc/release
Solaris 10 1/06 s10s_u1wos_19a SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 December 2005

Solaris10# uname -a
SunOS ppip1n 5.10 Generic_118822-27 sun4us sparc FJSV,GPUZC-L

Solaris10# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
fjgi1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 10.100.102.151 netmask ffffff00 broadcast 10.100.102.255
groupname mnic1
fjgi1:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.100.102.153 netmask ffffff00 broadcast 10.100.102.255
fjgi1:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.100.102.160 netmask ffffff00 broadcast 10.100.102.255
fjgi2: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
inet 10.100.104.151 netmask ffffff00 broadcast 10.100.104.255
groupname mnic2
fjgi2:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.100.104.153 netmask ffffff00 broadcast 10.100.104.255
fjgi2:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 10.100.104.160 netmask ffffff00 broadcast 10.100.104.255
fjgi3: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4
inet 10.100.107.151 netmask ffffff00 broadcast 10.100.107.255
groupname mnic3
fjgi3:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 10.100.107.153 netmask ffffff00 broadcast 10.100.107.255
fjgi3:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 10.100.107.160 netmask ffffff00 broadcast 10.100.107.255
fjgi5: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 5
inet 10.100.102.152 netmask ffffff00 broadcast 10.100.102.255
groupname mnic1
fjgi6: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 6
inet 10.100.104.152 netmask ffffff00 broadcast 10.100.104.255
groupname mnic2
fjgi7: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 7
inet 10.100.107.152 netmask ffffff00 broadcast 10.100.107.255
groupname mnic3
fjgi8: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 8
inet 10.100.105.151 netmask ffffff00 broadcast 10.100.105.255
groupname mnic4
fjgi8:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
inet 10.100.105.153 netmask ffffff00 broadcast 10.100.105.255
fjgi8:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
inet 10.100.105.160 netmask ffffff00 broadcast 10.100.105.255
fjgi9: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 9
inet 10.100.105.152 netmask ffffff00 broadcast 10.100.105.255
groupname mnic4
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 10
inet 192.168.0.100 netmask ffffff00 broadcast 192.168.0.255

Solaris10# rsh AIX date
rshd: 0826-826 The host name for your address is not known.

Solaris10# rsh AIX
*******************************************************************************

  •                                                                         \*
    
  •                                                                         \*
    
  • Welcome to AIX Version 4.3! *
  •                                                                         \*
    
  •                                                                         \*
    
  • Please see the README file in /usr/lpp/bos for information pertinent to *
  • this release of the AIX Operating System. *
  •                                                                         \*
    
  •                                                                         \*
    

*******************************************************************************
Last unsuccessful login: Mon Jan 15 16:44:52 IST 2007 on /dev/pts/0 from 10.100.102.153
Last login: Mon Jan 22 11:42:39 IST 2007 on /dev/pts/0 from 10.100.102.153

##############################################################################
#
# HOSTNAME: AIX
# USER: ppi
# SYBASE-SERVER: PPI_SERVER
# DBVERSION: V1R00
#
##############################################################################

AIX# uname -a
AIX ppip1 3 4 000154034C00

Can someone suggest still what is wrong at which side .....Solaris OR AIX....???

Regards,
jumadhiya.

That's why I asked you for the input of ifconfig (among other info).
Again, I still think it's a name resloution issue. Just notice how many IP's your Solaris has. To me, It's obvious that you've added to AIX's /etc/host one IP that is not what the AIX sees when the Solaris connects.
Post the o/p of "netstat -r" to see If we can see what's the IP that should be in the /etc/hosts. Try to guesss what's the default interface the Solaris machine is using and you will get it working.

From your example it shows that your AIX box can not resolve the hostname for your Sun interface with IP: 10.100.102.153

Once the AIX box can resolve that IP, it should work.

Yes, Tornado, most probably that's the IP we're talking about... :slight_smile:

Thanks to everyone who helped me out since last 5 days to sort out this issue.

I have added the IP "10.100.102.153" in /etc/hosts file of AIX host for Solaris 10 system which was earlier "10.100.102.160".

Once again thanks to everyone.

Regards,
jumadhiya.