cancel
Showing results for 
Search instead for 
Did you mean: 

rlogin

benaicha
Occasional Contributor

rlogin

hello,
i had this message error when executing rlogin ip:
n.rlogin: network .c: 130: find_hostname: assertion 'error== 0' failed
i tried ping ip and it was ok
help please
8 REPLIES
Steven E. Protter
Exalted Contributor

Re: rlogin

Shalom,

Check nslookup results.

See if /etc/nsswitch.conf makes sense.

What does .rhosts look like?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sunny123_1
Esteemed Contributor

Re: rlogin

Hi

check your .rhost and /etc/host file ther must be an entry of server in host file which you are accessing.

Regards
Sunny
benaicha
Occasional Contributor

Re: rlogin

hi,
.rhosts look ok
i didn't find nsswitch.conf file
nslookup ok
Steven Schweda
Honored Contributor

Re: rlogin

What are these systems?

uname -a

> i had this message error [..]

Where did this message appear?

> .rhosts look ok

I'm glad that you think so. Why should I
trust your opinion?

> i didn't find nsswitch.conf file

Where did you look?

> nslookup ok

I'm glad you think so. Why should I trust
your opinion? What did you look up?

> [...] find_hostname: assertion 'error== 0' failed

Can the rlogin server look up the client's
IP address to get its name?

As usual, showing actual commands with their
actual output might be more helpful than
vague descriptions and interpretations.
benaicha
Occasional Contributor

Re: rlogin

goodmorning
ok uname -a : hpux b11-23 u ia64
nslookup 192.168.1.2 of client pc (fedora redhat)gives the name and his ip adress correctly.
for nsswitch.conf file i look in /etc. i found others nsswitch.* files but not .conf.
.rhosts of the client pc is declared the server ip and name.
regards
Sunny123_1
Esteemed Contributor

Re: rlogin

Hi

Again you are doing the same thing

Give the output here of nslookup of your client


Regards
Sunny
Hakki Aydin Ucar
Honored Contributor

Re: rlogin

Hi,

it is probably missing in your environment:

To modify switch order,you need to copy in a fresh /etc/nsswitch.conf file from /usr/newconfig/etc .

But , by the way I do not think so it is mandatory ; I use rlogin between my customers server and have no problem.

Did you check this :

ps -ef | grep -i rpc
benaicha
Occasional Contributor

Re: rlogin

goodmorning all,
the problem was resolved by declaring the host ip and name and client ip and name in the hosts tab of network configuration in the client pc
thanks