- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- Re: configuring nsswitch.conf - strange system beh...
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
01-23-2009 07:01 AM
01-23-2009 07:01 AM
configuring nsswitch.conf - strange system behaviour
we have rx2660 server, HP-UX 11.23.
This server has no dns server configured. It's dns resolver only.
For some time now the server stopped resolving internet names. The resolv.conf is correct.
Also we observe very slow server response on any activities (users logons,ftp sessions, sam utility and so on). At that(!) all users are in the local network with server.
When we remove dns from hosts record in nsswitch.conf, all begin to work normally.
If we put dns back in this file all activities
become slow.
The problem record in nsswitch.conf is:
hosts: files dns nis #doesn't work
hosts: files nis #it works
We don't understand why this record have so strong influence on server activity. We cannot troubleshoot further the dns problem because the influence.
Please advice how to find out the cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2009 07:12 AM
01-23-2009 07:12 AM
Re: configuring nsswitch.conf - strange system behaviour
just to tell the difference in the two syntaxes as that suggests in /etc/nsswitch.conf is that
hosts: files dns nis #doesn't work
means for resoultion of the names conatct files /etc/hosts on the system, then try any DNS server as u might have put in the /etc/resolv.conf and then Search for anyy NIS server that u might have put in the resolv.conf
the meaning of
hosts: files nis #it works
is that for name resolutions serach the local files /etc/hosts and then serach the NIS servers as u mighthave put in the /etc/resolv.conf.
the first sequence mot working might be due to the fact that this server is trying to see the Servers in the /etc/resolv.conf as DNS Servers or using named daemin and that is not happening or is trying for long and not giving up.
the other NIS works on the basis of ypbind daemon and that might be easily contacting one of the servers as listed in the /etc/resolv.conf as the NIS Servers.
That is the basic idea.
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2009 09:00 AM
01-23-2009 09:00 AM
Re: configuring nsswitch.conf - strange system behaviour
The DNS server should be fast enough to provide the IP address/hostname resolution
Check with the nslookup from Windows/Unix host with dns/without dns in /etc/nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2009 04:31 PM
01-23-2009 04:31 PM
Re: configuring nsswitch.conf - strange system behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2009 06:19 PM
01-24-2009 06:19 PM
Re: configuring nsswitch.conf - strange system behaviour
hosts: files
The "nis" entry is trying to contact a Network Information name Service. If you do not have such a server configured, you should not use nis as an option.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 05:57 AM
01-26-2009 05:57 AM
Re: configuring nsswitch.conf - strange system behaviour
Some of you claim that the record
in nsswwitch.conf:
hosts: files dns nis #does not work
but in /etc directory i can see nsswitch.hp_defaults which contains the record:
hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files
Besides as I understand this file points the search order for resolving of name for the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 09:24 AM
01-26-2009 09:24 AM
Re: configuring nsswitch.conf - strange system behaviour
hosts: files dns nis
## This has to work
## What we are trying to tell is that there is some issue while communicating from HP-UX to the DNS server which you have mentioned in /etc/resolv.conf
Try the following from HP-UX hosts when the DNS entry is there in nsswitch.conf
# ping
# timex nslookup
# timex nslookup
Check how much time is takes
Also check for reverse lookup
# timex nslookup
# timex nslookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 09:26 AM
01-26-2009 09:26 AM
Re: configuring nsswitch.conf - strange system behaviour
http://forums11.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2009 10:07 AM
01-26-2009 10:07 AM
Re: configuring nsswitch.conf - strange system behaviour
Also, any process will read /etc/nswitch.conf _once_ and IIRC only once. So, if you have a process which is started and performs name resolution before you alter /etc/nsswitch.conf it will continue to use the old information for the duration of the process's existence.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2009 05:45 AM
01-29-2009 05:45 AM
Re: configuring nsswitch.conf - strange system behaviour
The first cause was in the connectivity(firewall rules).
The second cause was in in the dns parameteres for this server ond DNS-sever.
Thanks to all.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP