HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gethostbyname fail
Operating System - HP-UX
1830931
Members
2111
Online
110017
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
02-11-2001 06:47 PM
02-11-2001 06:47 PM
gethostbyname fail
Dear all
My HP-UX server was running alrite but gave the 'gethostbyname' error all of a sudden when I start APACHE. I tried restarting the server but still encounter the error.
[Mon Feb 12 10:42:08 2001] [alert] mod_unique_id: unable to gethostbyname("myserver")
Nothing is changed. My /etc/hosts was not touched at all..
Can anyone help?
My HP-UX server was running alrite but gave the 'gethostbyname' error all of a sudden when I start APACHE. I tried restarting the server but still encounter the error.
[Mon Feb 12 10:42:08 2001] [alert] mod_unique_id: unable to gethostbyname("myserver")
Nothing is changed. My /etc/hosts was not touched at all..
Can anyone help?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2001 07:21 PM
02-11-2001 07:21 PM
Re: gethostbyname fail
Hi,
What do you see when you execute a nslookup "myserver"? If your nslookup fails, you may wish to check the following configuration files?
1) /etc/nsswitch.conf:
Can you verify that the name resolution uses the /etc/hosts file before any other mechanisms such as DNS? Check your /etc/nsswitch.conf that files is specified before dns or nis, ie.:
hosts: files [NOTFOUND=continue] dns ...
2) /etc/resolv.conf:
If your name resolution uses the dns before files such as /etc/hosts, can you verify that the DNS servers listed in /etc/resolv.conf are correct, are reachable and these DNS servers resolve "myserver" correctly? What about the "domain" entry in /etc/resolv.conf? Was the domain changed?
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
What do you see when you execute a nslookup "myserver"? If your nslookup fails, you may wish to check the following configuration files?
1) /etc/nsswitch.conf:
Can you verify that the name resolution uses the /etc/hosts file before any other mechanisms such as DNS? Check your /etc/nsswitch.conf that files is specified before dns or nis, ie.:
hosts: files [NOTFOUND=continue] dns ...
2) /etc/resolv.conf:
If your name resolution uses the dns before files such as /etc/hosts, can you verify that the DNS servers listed in /etc/resolv.conf are correct, are reachable and these DNS servers resolve "myserver" correctly? What about the "domain" entry in /etc/resolv.conf? Was the domain changed?
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
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