Almost all whom replied to me pointed out that there might be a problem in resolv.conf or nsswitch.conf.
I ran the commands of 'nslookup' and 'getent' to check them. The outputs looked ok.
The real problem is that there was a colon missing in hosts line in /etc/nsswitch.conf. This was checked out by Mr. Gary Mills working on computer services on UM campus.
The previous hosts line in /etc/nsswitch.conf looked like this,
hosts dns [NOTFOUND=return] files
Now it looks like
hosts: dns [NOTFOUND=return] files
Mr. Gary Mills
"Aly Dharshi" <firstname.lastname@example.org>
"Erin Jones" <email@example.com>
Nickolai Zeldovich <firstname.lastname@example.org>
Randy Nelson <Randy.Nelson@wcom.com>
U. of Manitoba
----------------------- Including the posted problem
>From email@example.com Wed Feb 16 11:16 CST 2000
From: Jiao Lingxiu <lingxiu@cc.UManitoba.CA>
Date: Wed, 16 Feb 2000 11:15:44 -0600 (CST)
Subject: rlogin problem
I have a machine running solaris 2.6 with nis setting. The nis sever is running solaris 2.4. I can do rlogin to any machines within local-domian by using IP addresses or nicknames.
The problem I have is that I couldn't do rlogin to machines outside local-domain with nicknames given in the file of /etc/hosts (I can do rlogin to machines outsides local-domain by using IP address.).
Any suggestions? Thanks in advance!
Univeristy of Manitoba
---------------------------------- End of lincluding
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:03 CDT