- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rlogin doesn't work
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
08-08-2002 10:27 PM
08-08-2002 10:27 PM
I cannot use rlogin on the NIS server. On the others machines it works fine, but on the server I receive an error from rlogind:
Host address mismatch, see the attachment with the print-out of /etc/hosts and ypcat hosts command.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 10:59 PM
08-08-2002 10:59 PM
Re: rlogin doesn't work
On the NIS server and the machine where you wish to rlogin from do you get the same result for.
nslookup hostname(server)
nslookup ip(server)
nslookup hostname(sourcemachine)
nslookup ip(sourcemachine)
This is a name resolution problem and this should show it
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 11:46 PM
08-08-2002 11:46 PM
Re: rlogin doesn't work
# nslookup nmsgprs1
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
# nslookup 10.1.32.12
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
# nslookup 10.1.33.12
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsgprs1
Address: 10.1.33.12
Aliases: nmsgprs1_of_lan1
# nslookup nmsmd
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsmd
Address: 10.1.33.17
Aliases: nmsmd.comlan.viag-interkom.de, nmsmd
# nslookup 10.1.33.17
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsmd
Address: 10.1.33.17
Aliases: nmsmd.comlan.viag-interkom.de, nmsmd
On the remote machine:
nmsmd:/# nslookup nmsgprs1
Default NIS Server: nmscom.comlan.viag-interkom.de
Address: 10.1.33.14
Aliases: nmscom
Trying NIS
Name: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
nmsmd:/# nslookup 10.1.32.12
Default NIS Server: nmscom.comlan.viag-interkom.de
Address: 10.1.33.14
Aliases: nmscom
Trying NIS
Name: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
nmsmd:/# nslookup nmsmd
Default NIS Server: nmscom.comlan.viag-interkom.de
Address: 10.1.33.14
Aliases: nmscom
Trying NIS
Name: nmsmd
Address: 10.1.33.17
Aliases: nmsmd.comlan.viag-interkom.de, nmsmd
I cannot see the problem (maybe because I'm a beginner...:-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2002 11:53 PM
08-08-2002 11:53 PM
Re: rlogin doesn't work
If /etc/nsswitch.conf exists,please modify it directly:
...
hosts: nis files dns
...
-----------------------
If /etc/nsswitch.conf doesn't exist, please do:
#cp -p /usr/newconfig/etc/nsswitch.conf /etc/
and modify it as above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 12:15 AM
08-09-2002 12:15 AM
SolutionFor me it gets confused here
# nslookup 10.1.32.12
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
# nslookup 10.1.33.12
Default NIS Server: nmsgprs1.comlan.viag-interkom.de
Address: 10.1.32.12
Aliases: nms1, nmsgprs1
Trying NIS
Name: nmsgprs1
Address: 10.1.33.12
Aliases: nmsgprs1_of_lan1
33.12 has as name an alias of 32.12 and taht is against the logic of this
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 12:31 AM
08-09-2002 12:31 AM
Re: rlogin doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2003 08:54 AM
07-03-2003 08:54 AM
Re: rlogin doesn't work
A common issue with `rlogin` is ESCAPE characters in the ~/.rhosts (or hosts.equiv) file(s). Even when you can reduce your issue to reviewing the simple case of only /etc/hosts and ~/.rhosts, with no resolv.conf (or nsswitch.conf) files and you still have rlogin issues---->
(a) mv ~/.rhosts ~/.rhosts.orig
(b) vi ~/.rhosts {be careful with typos and escape sequences)
Cheers,
Bryan