- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rsh problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:09 PM
04-27-2006 09:09 PM
rsh problem
I am getting this error.
D-T11673A:~ # rsh slpam15
rlogind: Host address mismatch..
Can any one help?
Thanks & regards,
Prasad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:16 PM
04-27-2006 09:16 PM
Re: rsh problem
have tried using the ip address of slpam15.
Also check that the correct ports are open.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:19 PM
04-27-2006 09:19 PM
Re: rsh problem
I have tried with IP Adress but, getting the same error.
If I try the same from another HP-UX machine there is no problem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:24 PM
04-27-2006 09:24 PM
Re: rsh problem
Take a look at PHNE_23003 patch (r-commands cumulative patch).
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_23003&caller=james
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:25 PM
04-27-2006 09:25 PM
Re: rsh problem
If i do nslookup from slpam i get this.
bash-2.02# nslookup D-T11673A
Name Server: deleted
Address: deleted
Trying DNS
Trying NIS
looking up FILES
Name: D-T11673A
Address: some ip address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:25 PM
04-27-2006 09:25 PM
Re: rsh problem
You Linux machine cannot resolve the host-ip address. Please refer to
http://www.daemon-systems.org/man/rshd.8.html
Try giving ip address of the server directly.
If you know the ip address and you do not have a DNS - put the entry for the host and ip address in the /etc/hosts file on your Linux machine.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:27 PM
04-27-2006 09:27 PM
Re: rsh problem
I do have more than one lan card on the hp-ux machine
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:30 PM
04-27-2006 09:30 PM
Re: rsh problem
I am getting a same error when i try with IP Adress.
D-T11673A:~ # rsh IP-Address
rlogind: Host address mismatch..
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:32 PM
04-27-2006 09:32 PM
Re: rsh problem
I have already made enteries in /etc/hosts file of the linux machine.
As well as i have added Linux machine details in the slpam15:/etc/hosts files.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:34 PM
04-27-2006 09:34 PM
Re: rsh problem
From linux box, just do plain telnet (with same user id hat you will use for rsh) and pass. Once logged, do who -um.
Note down what you see (ip_address/hostname) in last column of above command. Put same ip_address/hostname in .rhosts file on hp-ux in home dir. The .rhost file will look as follows.
"ip_address/hostname_you_seein_who-um" "user_name"from_linux"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:39 PM
04-27-2006 09:39 PM
Re: rsh problem
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:43 PM
04-27-2006 09:43 PM
Re: rsh problem
nslookup ip_of_hp-ux_server
nslookup of hostname_of_hpux_server
nslookup on hp-ux server.
nslookup ip_addr_of_linux_server
nslookup hostname_of_linux_server
Is everything correct? Do both servers use same dns/nis or plain /etc/hosts file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 09:57 PM
04-27-2006 09:57 PM
Re: rsh problem
So it needs to be analysed if it is really a problem of host name resolution at all, because you cannot rsh using ip address as well - even though the error message shows its not able to get the host name resolved.
First thing you need to sort out is whether its rlogin problem or you are not able to access the server at all.
Are you able to ping/telnet - reach the destination server in the 1st place ?
Are routing entries proper ?
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 10:00 PM
04-27-2006 10:00 PM
Re: rsh problem
I am able to ssh from linux machine to hp-ux machine
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 10:07 PM
04-27-2006 10:07 PM
Re: rsh problem
bash-2.02# nslookup D-T11673A.vxindia.veritas.com
Name Server: mainelic.vxindia.veritas.com
Address: 10.216.16.101
Trying DNS
Trying NIS
looking up FILES
Name: D-T11673A.vxindia.veritas.com
Address: 10.216.59.252
bash-2.02# nslookup 10.216.59.252
Name Server: mainelic.vxindia.veritas.com
Address: 10.216.16.101
Trying DNS
Name: D-T11673A.vxindia.veritas.com
Address: 10.216.59.252
This is from linux machine
D-T11673A:~ # nslookup 10.216.170.115
Server: 10.216.16.101
Address: 10.216.16.101#53
115.170.216.10.in-addr.arpa name = slpam15.vxindia.veritas.com.
D-T11673A:~ # nslookup slpam15
Server: 10.216.16.101
Address: 10.216.16.101#53
Name: slpam15.vxindia.veritas.com
Address: 10.216.170.115