HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nsswitch file problem
Operating System - HP-UX
1832933
Members
2602
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
06-03-2006 12:31 PM
06-03-2006 12:31 PM
Greetings everyone,
OS HP-UX 11i v1
Hardware j5000
I was trying to install new software using the SAM access software management and realize that I may have a problem with my nsswitch.conf file.
Current configuration - Hosts: dns files
The follow occurs that I know of with the current configuration:
#. CAN bring up my web browser home page (ok)
# CAN FTP and use the Internet with the current configuration (ok)
# CANNOT view installed software.
# CANNOT install software depot to local host with the current configuration. I receive the following message “Could not contact host “jteckux” make sure the hostname is correct and the an absolute pathname is specific (beginning with “/”)
It seems to me that it does not look at my hosts file. Why?
If I change the nsswitch.conf file to: Hosts: files dsn.
I CANNOT bring up my web browser home page or use the Internet
I CAN FTP and PING outside my firewall (ok)
I CAN view installed software. I CAN view installed software(ok)
What changes must I make to keep from editing this file and flipping back and forth to different configurations?
Thanks
Julian
OS HP-UX 11i v1
Hardware j5000
I was trying to install new software using the SAM access software management and realize that I may have a problem with my nsswitch.conf file.
Current configuration - Hosts: dns files
The follow occurs that I know of with the current configuration:
#. CAN bring up my web browser home page (ok)
# CAN FTP and use the Internet with the current configuration (ok)
# CANNOT view installed software.
# CANNOT install software depot to local host with the current configuration. I receive the following message “Could not contact host “jteckux” make sure the hostname is correct and the an absolute pathname is specific (beginning with “/”)
It seems to me that it does not look at my hosts file. Why?
If I change the nsswitch.conf file to: Hosts: files dsn.
I CANNOT bring up my web browser home page or use the Internet
I CAN FTP and PING outside my firewall (ok)
I CAN view installed software. I CAN view installed software(ok)
What changes must I make to keep from editing this file and flipping back and forth to different configurations?
Thanks
Julian
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2006 04:45 PM
06-03-2006 04:45 PM
Solution
Try:
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return]
Or
hosts: dns [NOTFOUND=continue] files [NOTFOUND=return]
Rgds...Geoff
hosts: files [NOTFOUND=continue] dns [NOTFOUND=return]
Or
hosts: dns [NOTFOUND=continue] files [NOTFOUND=return]
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2006 10:28 PM
06-03-2006 10:28 PM
Re: nsswitch file problem
Try copying nsswitch.files to nsswitch.conf as follows:
# cd /etc
# cp nsswitch.files nsswitch.conf
and change the "hosts" line to:
hosts: files [NOTFOUND=continue] dns
# cd /etc
# cp nsswitch.files nsswitch.conf
and change the "hosts" line to:
hosts: files [NOTFOUND=continue] dns
Time has a wonderful way of weeding out the trivial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2006 10:59 AM
06-04-2006 10:59 AM
Re: nsswitch file problem
Solutions were provided that fixed my nsswitch problem. Could not award points to Steven E.Protter, his response was removed from my thread. Thanks anyway.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP