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


 
Thread Tools Search this Thread
Operating Systems Solaris rsh commands not getting executed from Solaris 10 System to AIX System
# 22  
Old 01-22-2007
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.
# 23  
Old 01-22-2007
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.
# 24  
Old 01-22-2007
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.
Tornado
# 25  
Old 01-22-2007
Quote:
Originally Posted by jumadhiya
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
Yes, Tornado, most probably that's the IP we're talking about... Smilie
# 26  
Old 01-22-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Accessing files on AIX system from Linux system

I have a following requirement in production system 1 : LINUX User: abcd system 2: AIX (it is hosting a production DB) Requirement user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies

2. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

3. Shell Programming and Scripting

how to fetch the commands at solaris system

:wall:i'm system administrator. now i have a trouble. i want to fetch the command which the login users performed by shell.but i don't know how to process this problem.if anyone tell me how to do this work I would be very grateful.thank you! (4 Replies)
Discussion started by: anline5104
4 Replies

4. Solaris

Solaris audit to syslog - where is arguments to the commands executed?

Hi, we have server, that is auditing actions executed, and then sends them to the syslog server. But there is arguments to issued to the commands in the audit trail, but there is no such arguments in the syslog output on the syslog server! Example - I executed: # ls -la audit... (1 Reply)
Discussion started by: masloff
1 Replies

5. AIX

Need AIX system commands

Hey Guyz, I am preparing an inventory kindof thing about the aix servers.. I need help to find out the below details for many AIX servers.. Machine model and version Disk Size RAM size no. of CPUs and thier information list of softwares installed I searched in web.. but not much info I... (4 Replies)
Discussion started by: thariqueakbar
4 Replies

6. Shell Programming and Scripting

How to find pid of PS which executed by perl system function

hello All, I need to invoke by perl script some program/command and monitor it for 5 minutes . In case it still running for more then 5 min I need to send a signal which will stop it. I implemeted this as shown below by using eval & alarm and I'd like to know if there is a better way to... (1 Reply)
Discussion started by: Alalush
1 Replies

7. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

8. UNIX for Dummies Questions & Answers

Interpreting java output stream as system commands in Solaris

Hi there again, Running Solaris 10 with built-in Java. Seems to compile and run fine. Problem is: Say I want to see contents of current directory. In a shell, I'd just write "ls" and it outputs the content. When I write a Java file, I have the following line: System.out.println("ls"); ... (1 Reply)
Discussion started by: EugeneG
1 Replies

9. Programming

How to get system() function executed cmd return value ?

Hi, How I can get system function executed command return value ? I want to know mv command success or not ? #include <stdio.h> main() { int ret; ret = system( "mv x.dat y.dat" ); printf( "system ret:\n", ret ); } (3 Replies)
Discussion started by: haiudhaya
3 Replies

10. Shell Programming and Scripting

Rsh: test $? on remote system.

Hi, a little help. I need to test the return code of a list file command on a remote system (Unix) using the rsh command. More exactly, to test is a directory exists, I try the following command: rsh $remoteHost "ls -la " $DirRemote Now, if the $DirRemote is not correct and I test... (3 Replies)
Discussion started by: gio123bg
3 Replies
Login or Register to Ask a Question