1828977 Members
2010 Online
109986 Solutions
New Discussion

RLOGIN : ERROR

 
Flaimisson
Occasional Contributor

RLOGIN : ERROR

i have two servers. the firts server is a superdome with hp-ux 11.11 . The second server is N-4000 with hp-ux 11.23.

When i try to execute , superdome to N-4000, i receive the error :
# rlogin n4000
rlogind: Host address mismatch
10 REPLIES 10
Luk Vandenbussche
Honored Contributor

Re: RLOGIN : ERROR

Can you try with the IP adres

rlogin ip

Can you show uses the files
/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf
Steve Steel
Honored Contributor

Re: RLOGIN : ERROR

Hi


You have name resolution problems

The server checks the client's source address and requests the cor-
responding host name (see getnameinfo(3), hosts(5), and named(8)).
If the hostname cannot be determined, the dot-notation representa-
tion of the host address is used. If the hostname is in the same
domain as the server (according to the last two components of the
domain name), or if the -a option is given, the addresses for the
hostname are requested, verifying that the name and address corre-
spond. If address verification fails, the connection is aborted
with the message ``Host address mismatch.''



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Pat Lieberg
Valued Contributor

Re: RLOGIN : ERROR

Make sure you don't have multiple entries for the host in your hosts file or on your DNS server.
Alessandro Pilati
Esteemed Contributor

Re: RLOGIN : ERROR

Hi Flaimisson,
Is your n4000 hostname registered in superdome's /etc/hosts and you superdome's hostname registered in your n-4000's /etc/hosts?

if you don't try, you'll never know if you are able to
Arunvijai_4
Honored Contributor

Re: RLOGIN : ERROR

What is the O/P of #ping n4000 ? It seems like host name is not resolved.

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Morcos
Super Advisor

Re: RLOGIN : ERROR

Hi,
what s the result of : rlogin ip_address?

Ziad
VEL_1
Valued Contributor

Re: RLOGIN : ERROR

Hi,

See the following link. The same problem solved .

http://www.darklab.net/resources/hpux-mailinglist/0137.html

Mugilvannan
Valued Contributor

Re: RLOGIN : ERROR

This may be problem with rlogind

Actually ruserok() calls gethostbyname(host) with "host" passed from rlogind
This "host" can be the result of a hp = gethostbyaddr() call and it is really
host == hp->h_name!

When that happens, and we have a /etc/hosts lookup the same local buffer
(hostbuf) from gethostnameaddr is used to place the result, and hp->h_name
is now trashed!
If U need a helping hand, U will find one at the end of your arm
Flaimisson
Occasional Contributor

Re: RLOGIN : ERROR

Hi guys.

1-) In both servers, I fixed ./rhosts , /etc/hosts and /etc/hosts.equiv.
2-) When I execute
# rlogin n4000 or ip_address_n4000 return the error the same error.
# ping n4000
PING n4000: 64 byte packets
64 bytes from 10.170.10.36: icmp_seq=0. time=0. ms

----n4000 PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
# rlogin 10.170.10.36
rlogind: Host address mismatch..
#
3- I donâ t use the file etc/nsswitch.conf
4- I am not using DNS .

I Think that this problem is missing the patch really .

Thank for all .

Best regards
Stephen Keane
Honored Contributor

Re: RLOGIN : ERROR

Don't forget to assign points to those that tried to help you (not me). This encourages people to help you in the future.

I have assigned points to 0 of 15 responses