1833851 Members
2472 Online
110063 Solutions
New Discussion

Re: "rlogin" problem.

 
Ramesh.K.R.
Regular Advisor

"rlogin" problem.

Hi Experts,

When i try to "rlogin" into another system, i get the following error:
Name does not resolve to supplied parameters; neither nodename nor servname were passed

Can anyone through some light on this ?

NOTE: I have already put the entry of the server in the .rhosts file

Thanks & Regards,
Ramesh.K.R.
hai
5 REPLIES 5
Victor Fridyev
Honored Contributor

Re: "rlogin" problem.

Hi,

In order tgo get normal name resolution, the target host's hostname and IP-address must be in /etc/hosts file and not in .rhosts.

Firstly check
#>rlogin ip-address
and if it works, put the data into /etc/hosts.

HTH
Entities are not to be multiplied beyond necessity - RTFM
Chan 007
Honored Contributor

Re: "rlogin" problem.

Hi Ramesh,

Check the /etc/nsswitch.conf file.

Check the following line

hosts: files --> if you are using /etc/hosts for resolving hostnames

or

hosts: dns files --> for using DNS & hosts file.

Chan


IT_2007
Honored Contributor

Re: "rlogin" problem.

Ramesh,

Check nslookup with hostname and IP address whether it is resolving correctly or not.

Check /etc/hosts file for any discripencies.

Thanks,
Srini
Khashru
Valued Contributor

Re: "rlogin" problem.

use nslookup target_servername. If you donot get reply add the name in the DNS. If you donot have access to DNS server then add the enty in /etc/hosts file.
Ramesh.K.R.
Regular Advisor

Re: "rlogin" problem.

OK, let me check. Will get back to you in case i require any furthur help.

Regards,
Ramesh
hai