<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic gethostbyname fail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-fail/m-p/2492347#M803640</link>
    <description>Dear all&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;[Mon Feb 12 10:42:08 2001] [alert] mod_unique_id: unable to gethostbyname("myserver")&lt;BR /&gt;&lt;BR /&gt;Nothing is changed. My /etc/hosts was not touched at all..&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 12 Feb 2001 02:47:24 GMT</pubDate>
    <dc:creator>Marko_3</dc:creator>
    <dc:date>2001-02-12T02:47:24Z</dc:date>
    <item>
      <title>gethostbyname fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-fail/m-p/2492347#M803640</link>
      <description>Dear all&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;[Mon Feb 12 10:42:08 2001] [alert] mod_unique_id: unable to gethostbyname("myserver")&lt;BR /&gt;&lt;BR /&gt;Nothing is changed. My /etc/hosts was not touched at all..&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Feb 2001 02:47:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-fail/m-p/2492347#M803640</guid>
      <dc:creator>Marko_3</dc:creator>
      <dc:date>2001-02-12T02:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: gethostbyname fail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-fail/m-p/2492348#M803641</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What do you see when you execute a nslookup "myserver"? If your nslookup fails, you may wish to check the following configuration files?&lt;BR /&gt;&lt;BR /&gt;1) /etc/nsswitch.conf:&lt;BR /&gt;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.:&lt;BR /&gt;hosts: files [NOTFOUND=continue] dns ...&lt;BR /&gt;&lt;BR /&gt;2) /etc/resolv.conf: &lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Mon, 12 Feb 2001 03:21:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gethostbyname-fail/m-p/2492348#M803641</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-02-12T03:21:16Z</dc:date>
    </item>
  </channel>
</rss>

