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
# 1  
Old 01-17-2007
rsh commands not getting executed from Solaris 10 System to AIX System

Hi Friends,

I am trying to execute rsh commands from Solaris 10 system to AIX system.

When I give;
Solaris10# rsh <hostname> ls -l , it gives me an error
rshd : 0826-826 The host name for your address is not known

At the same time,
Solaris10# rsh <hostname> ---- gives me remote shell of the AIX system

In my setup, I am able to use rsh commands from AIX to AIX systems & also it works fine from AIX to Solaris 10 system.

The only problem I am facing is from Solaris 10 system to AIX system.

Can somebody suggest me what is wrong & where....???

Note : The entries for Solaris 10 system is present in /etc/hosts, /etc/host.equiv & $HOME/.rhosts files on AIX system.

Regards,
jumadhiya.
# 2  
Old 01-18-2007
hello,

its either your solaris address not right or username not registered in your AIX.

cheers..
# 3  
Old 01-18-2007
The hostname & the user name are already present in AIX box. As I said I am able to get the remote shell using "rsh <hostname>" from Solaris box to AIX box. The only problem which I am facing is while running the remote shell commands like "rsh <hostname> date" etc from Solaris box to AIX box.

Note : Let me clear that from the same AIX box, I can run remote shell commands for Solaris system & even from all AIX box to AIX box, remote shell commands are working.

Kindly suggest if something needs to be done OR change at Solaris side.....

Regards,
jumadhiya.
# 4  
Old 01-18-2007
So from Solaris you can rsh to AIX and get a remote shell, but if you try to run a command in your rsh string it doesn't work....

Can you run any command in the remote shell you get on the AIX box from the solaris box ?

ie:
solaris # rsh AIX-HOST

Then can you run commands in the shell ?
Tornado
# 5  
Old 01-18-2007
Hi,

Yes after getting the AIX remote shell using "rsh AIX-Host" command, I am able to run all the AIX commands on remote shell of AIX system.

Solaris10>rsh AIX-Host

AIX>date
AIX>ls -l
AIX>df -k

All the commands works fine.

Even I have tried by adding the host entry of AIX system in /etc/inet/ipnodes file on Solaris 10 system. As per the documents, in Solaris 10 system checks for /etc/inet/ipnodes prior to /etc/hosts. But then also I am getting the same error.

Solaris10# rsh AIX-Host df -k ----- it fails with an error;
" rshd:0826-826 -- The host name for your address is not known."

Can someone suggest is there anything needs to be change at Solaris 10 system side i.e kerborse security config files (krb5.conf) etc...???

Regards,
jumadhiya.
# 6  
Old 01-18-2007
focusing on the error you get, It seems something related to name/ip resolution. Does that Sun box have more than one IP?

However, the fact that you can rsh and get a "login", makes it a little weird to me...
# 7  
Old 01-18-2007
Solaris box is running with a single ip only.
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