- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nsswitch.conf file
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
11-13-2003 04:28 AM
11-13-2003 04:28 AM
Do the other items in this file need to have any with it other then files?
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:33 AM
11-13-2003 04:33 AM
Re: nsswitch.conf file
given the nsswitch.conf file provided, the name resolution is first accomplished usign the file /etc/hosts. If the hosts to solve is not found then the request is resolved dynamically using DNS. The DNS client configuration resides in /etc/resolv.conf
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:37 AM
11-13-2003 04:37 AM
SolutionNo. They should work just fine off of files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:39 AM
11-13-2003 04:39 AM
Re: nsswitch.conf file
Start Software Distributor agent daemon
Output from "/sbin/rc2.d/S100swagentd start":
----------------------------
ERROR: The 'swagentd' daemon started but the local hostname 'mhzfast1' cannot be resolved, therefore no SD commands will be able to contact it. The most likely solution is to define 'mhzfast1' in '/etc/hosts'.
"/sbin/rc2.d/S100swagentd start" FAILED
Configuring all unconfigured software filesets
Output from "/sbin/rc2.d/S120swconfig start":
----------------------------
ERROR: Cannot contact the 'swagentd' daemon because the local hostname 'mhzfast1' cannot be resolved, therefore no 'swconfig' or 'swremove' will be executed at this time'
The most likely solution is to define 'mhzfast1'in '/etc/hosts'.
"/sbin/rc2.d/S120swconfig start" FAILED
All is correct in my resolv.conf and my /etc/hosts file and I am able to to an nslookup with the correct respones back. Also my host name has not changed at all.
I was advised to create a nsswitch.conf file and have it look at that to ignore all the other stuff and just look locally. no my question is, is this all that is needed for this file or do I need to fill out the other parmenters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:41 AM
11-13-2003 04:41 AM
Re: nsswitch.conf file
ensure the ip/hostname pair is included in the /etc/hosts file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:47 AM
11-13-2003 04:47 AM
Re: nsswitch.conf file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 04:49 AM
11-13-2003 04:49 AM
Re: nsswitch.conf file
What does nslookup say for both ip and hostname.
nslookup ip
nslookup hostname
Is the FQDN for the host in /etc/hosts and DNS? I.e., host@domain.com?
Also within /etc/hosts, what is loopback?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 05:26 AM
11-13-2003 05:26 AM
Re: nsswitch.conf file
if your swagent file is S100swagentd then make sure your S???net file is a lower number. On my 11.x systems it is S3409 and the swagent file is S870swagentd which gives the network plenty of time to start before the swagentd daemon is started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 02:56 PM
11-13-2003 02:56 PM
Re: nsswitch.conf file
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:17 AM
11-14-2003 02:17 AM
Re: nsswitch.conf file
Ex:
xxx.xxx.xxx.xxx hostname
xxx.xxx.xxx.xxx hostname.domain.com