- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: configuring nsswitch.conf - strange system beh...
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
Discussions
Discussions
Forums
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
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
тАО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.