- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nsswitch.conf ipnodes problem
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
02-24-2009 01:57 AM
02-24-2009 01:57 AM
nsswitch.conf ipnodes problem
In the HP-UX11.11, if the nsswitch.conf config the ipnodes like this:
ipnodes: files dns ldap
and in the /etc/hosts there is a line with IPv6
address.
16.157.129.222 sshpa3.chn.hp.com sshpa3
fe80::216:35ff:fe73:6122 sshpa3.chn.hp.com sshpa3
In this situation, when I use the telnet to login to the localhost:
root@sshpa3# telnet sshpa3
or telnet sshpa3.chn.hp.com
then can not login to the system.
But I use the "telnet localhost or 127.0.0.1 or telnet 16.157.129.222(ip address of sshpa3)"
they can login to the system.
So I think there is some with the ipnodes option in the nsswitch.conf file.
But I don't know the exact reason of it.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 02:15 AM
02-24-2009 02:15 AM
Re: nsswitch.conf ipnodes problem
For your confirmation and checking, you can always comment out the line or rename the nsswitch.conf file and try..
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 02:18 AM
02-24-2009 02:18 AM
Re: nsswitch.conf ipnodes problem
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1184504
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 02:26 AM
02-24-2009 02:26 AM
Re: nsswitch.conf ipnodes problem
Problem is with the /etc/hosts file. Make sure there is no typo error in /etc/hosts.
You can resolve the issue by editing the /etc/nsswitch file also. change the sequence by ipnodes: dns files ldap
Try to connect to sshpa3.chn.hp.com from any other Server in the n/w.
Rgds
sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2009 02:51 AM
02-24-2009 02:51 AM
Re: nsswitch.conf ipnodes problem
it can work.
or I comment out the IPv6 address in /etc/hosts file. It alse work well.