The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Interpreting java output stream as system commands in Solaris EugeneG UNIX for Dummies Questions & Answers 1 07-18-2007 06:45 PM
How to get system() function executed cmd return value ? haiudhaya High Level Programming 3 10-18-2006 12:57 PM
Perl calling unix system commands new2ss Shell Programming and Scripting 4 04-05-2006 10:32 PM
Read through a file and Pass system commands systemali Shell Programming and Scripting 7 03-27-2006 04:14 AM
commands to get system specs DarReNz AIX 2 12-13-2005 09:43 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-17-2007
jumadhiya jumadhiya is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 44
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 (permalink)  
Old 01-18-2007
stdout stdout is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 103
hello,

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

cheers..
  #3 (permalink)  
Old 01-18-2007
jumadhiya jumadhiya is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 44
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 (permalink)  
Old 01-18-2007
Tornado's Avatar
Tornado Tornado is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Melbourne
Posts: 249
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 ?
  #5 (permalink)  
Old 01-18-2007
jumadhiya jumadhiya is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 44
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 (permalink)  
Old 01-18-2007
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
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!

Last edited by grial; 01-18-2007 at 05:24 AM.. Reason: tunning
  #7 (permalink)  
Old 01-18-2007
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
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...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0