HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: name service switch not working with applicati...
Operating System - HP-UX
1835449
Members
2782
Online
110078
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
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
04-04-2001 06:16 AM
04-04-2001 06:16 AM
name service switch not working with applications
Systems are HP-UX 11.00 with December patch set. /etc/nsswitch.conf is set to "files nis dns" for hosts and "files nis" for passwd. nslookups for hosts work great. NIS logins for users also work great. Automounter is great.
I have two applications that aren't properly querying the name service switch. One is Veritas Backup Datacenter, the other is an application that uses flexlm.
In each instance, the application cannot find the host and/or user. Outsid ethe application everything is fine.
The only way either of these applications work is if a user is added to /etc/passwd, or a host to /etc/hosts. The applications cannot see users or hosts via NIS or DNS.
Is this a coincedence that these are two broken applications, or is there something underneath the hood of HP-UX 11.00 that needs to be tweaked/patched/configured? ?etc/netconfig maybe?
Thanks
Chris
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 07:23 AM
04-04-2001 07:23 AM
Re: name service switch not working with applications
Hi,
It doesn't sound like a UX problem. the gethostbyname() and gethostbyaddr() system calls are fairly straight forward, if they work in one scenario, you are almost sure, they are ok.
What it sounds like to me is that your application manually looks up in the files on your system.
If possible, try removing /ets/hosts from your nsswitch.conf - and see if the application still requires an entry here.
Uffe
It doesn't sound like a UX problem. the gethostbyname() and gethostbyaddr() system calls are fairly straight forward, if they work in one scenario, you are almost sure, they are ok.
What it sounds like to me is that your application manually looks up in the files on your system.
If possible, try removing /ets/hosts from your nsswitch.conf - and see if the application still requires an entry here.
Uffe
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