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
# 8  
Old 01-18-2007
Quote:
Originally Posted by jumadhiya
Solaris10# rsh AIX-Host df -k ----- it fails with an error;
" rshd:0826-826 -- The host name for your address is not known."
This error comes from the AIX box.
There, where is the .rhosts file located? What perms does it have?

Check what is your AIX donig to reslove names (/etc/netsvc.conf)).
Perhaps it's just a spelling mistake on AIX's /etc/hosts! Smilie

Last edited by grial; 01-18-2007 at 05:24 AM.. Reason: tunning
# 9  
Old 01-18-2007
I checked the file /etc/netsvc.conf on AIX box, it looks fine.

AIX#more /etc/netsvc.conf
hosts=local,bind

Also .rhosts file is present in the user's home directory with 600 as a permission.

Even the entries for Solaris box are properly added in /etc/hosts file on AIX box.
# 10  
Old 01-18-2007
Quote:
Originally Posted by jumadhiya
Even the entries for Solaris box are properly added in /etc/hosts file on AIX box.
Are both servers on the same network? If not, is there any firewall/router doing NAT between them?
# 11  
Old 01-18-2007
Nothing like firewall at all. Both the system are on the same network & I am able to telnet to each of the system.

Solaris 10 System ----- From here I am trying to run the rsh commands

AIX System ----------- Remote system

.rhosts & /etc/host.equiv is configured properly on AIX system.

I am able to get the remote shell of AIX from Solaris 10 system;

Solaris 10#rsh AIX-Host ----Gives me the remote shell of AIX & also able to run the commands of AIX on remote shell.

Solaris 10#rsh AIX-Host date ---- It fails with an error ;
" rshd:0826-826 The host name for your address is not known "

Its look like strange problem, because I am able to get the remote shell, but not able to run the remote commands from Solaris 10 system.

I think something needs to be done at AIX side....

I have checked /etc/nsswitch.conf on Solaris 10 Box...its fine.

Can somebody suggest me what could be the problem...???
# 12  
Old 01-18-2007
Nothing else comes to my mind...
Could you post the contents of /etc/hosts ~/.rhosts and the o/p of "ifconfig -a" on both servers?
# 13  
Old 01-19-2007
I can't put the output of /etc/hosts, $HOME/.rhosts files.

Anyone has any clue where am I going wrong for this issue...???
# 14  
Old 01-19-2007
Quote:
Originally Posted by jumadhiya
I can't put the output of /etc/hosts, $HOME/.rhosts files.
OK. With the info you provide, to me, is a name resloution question, then.
You cannot pretend to get help without giving us info.
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