<?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 Re: Cannot ping localhost (127.0.0.1) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659280#M554422</link>
    <description>1) /etc/nsswitch.conf contain:&lt;BR /&gt;&lt;BR /&gt;    hosts: files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;2) # nslookup localhost&lt;BR /&gt;    Using /etc/hosts on:&lt;BR /&gt;&lt;BR /&gt;    looking up FILES&lt;BR /&gt;    Name:    localhost&lt;BR /&gt;    Address:  127.0.0.1&lt;BR /&gt;    Aliases:  loopback&lt;BR /&gt;&lt;BR /&gt;3) Need to check on ifconfig lo0 show what next time issue occurs.  I think it will not show the status of up or down</description>
    <pubDate>Fri, 28 Oct 2005 14:28:40 GMT</pubDate>
    <dc:creator>Gan Hong Chong</dc:creator>
    <dc:date>2005-10-28T14:28:40Z</dc:date>
    <item>
      <title>Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659273#M554415</link>
      <description>I encounter this thing in a few of my servers.&lt;BR /&gt;Once a week or once a month, when I login to the server, I cannot ping localhost.  At first I thought it is IP resolution issue.  But when I ping 127.0.0.1, it is not pingable.&lt;BR /&gt;To make it pingable, I have to do ifconfig lo0 down and up.&lt;BR /&gt;The localhost and loopback and its IP is setup in /etc/hosts.  My routing table is ok.&lt;BR /&gt;&lt;BR /&gt;What can cause this thing to happen?&lt;BR /&gt;Anything that I can check?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 27 Oct 2005 10:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659273#M554415</guid>
      <dc:creator>Gan Hong Chong</dc:creator>
      <dc:date>2005-10-27T10:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659274#M554416</link>
      <description>Very common cause:&lt;BR /&gt;&lt;BR /&gt;/etc/hosts has been changed.&lt;BR /&gt;&lt;BR /&gt;The loopback line needs to never be changed.&lt;BR /&gt;&lt;BR /&gt;Also look for conflicts with /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 Oct 2005 10:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659274#M554416</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-27T10:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659275#M554417</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Also make sure that localhost is not being populated in DNS.&lt;BR /&gt;I've seen that happen a few times.&lt;BR /&gt;It should never be in there.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 27 Oct 2005 11:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659275#M554417</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-10-27T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659276#M554418</link>
      <description>Depending on your OS, patch level, and hardware, you may see some error stats on your NIC hardware using the lanadmin or netstat commands. See man pages for more.</description>
      <pubDate>Thu, 27 Oct 2005 14:33:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659276#M554418</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-10-27T14:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659277#M554419</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;1) /etc/hosts' loopback line is ok and look like this:&lt;BR /&gt;    127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;    Also, the /etc/rc.config.d/netconf do have have conflict with the localhost and is look like&lt;BR /&gt;    this:&lt;BR /&gt;    OPERATING_SYSTEM=HP-UX&lt;BR /&gt;    LOOPBACK_ADDRESS=127.0.0.1&lt;BR /&gt;    INTERFACE_NAME[0]="lan10"&lt;BR /&gt;    IP_ADDRESS[0]="155.125.30.92"&lt;BR /&gt;    SUBNET_MASK[0]="0xffffff00"&lt;BR /&gt;    BROADCAST_ADDRESS[0]=""&lt;BR /&gt;    INTERFACE_STATE[0]=""&lt;BR /&gt;    DHCP_ENABLE[0]=0&lt;BR /&gt;    ROUTE_DESTINATION[0]="default"&lt;BR /&gt;    ROUTE_MASK[0]=""&lt;BR /&gt;    ROUTE_GATEWAY[0]="155.125.30.1"&lt;BR /&gt;    ROUTE_COUNT[0]="1"&lt;BR /&gt;    ROUTE_ARGS[0]=""&lt;BR /&gt;    INTERFACE_NAME[1]="lan6"&lt;BR /&gt;    IP_ADDRESS[1]="155.125.119.5"&lt;BR /&gt;    SUBNET_MASK[1]="255.255.255.0"&lt;BR /&gt;    ROUTE_GATEWAY[1]=""&lt;BR /&gt;    ROUTE_DESTINATION[1]=""&lt;BR /&gt;    ROUTE_COUNT[1]="1"&lt;BR /&gt;&lt;BR /&gt;2) localhost is not defined in my DNS environment.&lt;BR /&gt;   Actually, this issue only happen to a few servers.&lt;BR /&gt;   My all other servers are ok&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) What do you mean by using lanadmin/netstat to check for errors?&lt;BR /&gt;   Which option you are talking about, -s, -M?&lt;BR /&gt;   Can you give some example?&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Oct 2005 20:40:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659277#M554419</guid>
      <dc:creator>Gan Hong Chong</dc:creator>
      <dc:date>2005-10-27T20:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659278#M554420</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;what does /etc/nsswitch.conf contain?&lt;BR /&gt;&lt;BR /&gt;also, reply on:&lt;BR /&gt;&lt;BR /&gt;# nslookup localhost&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 27 Oct 2005 21:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659278#M554420</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-10-27T21:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659279#M554421</link>
      <description>Sorry, I should have read more closely. I suggested lanadmin &amp;amp; netstat for error checking, but since this is a problem with loopback there's no actual hardware to check.&lt;BR /&gt;&lt;BR /&gt;The only way I can think of causing this type of loopback interruption is if something suddenly tried to bind 127.0.0.1 and caused the interface to lock up. If you have to do ifconfig lo0 down and up each time, there must be something that's breaking it in the first place. I'd have to be more familiar with your system to try to correlate what's happening to the server at the time the problem pops up, and see if there's a pattern to lock on to. The fact that it happens to several of your servers provides a commonality that may help in troubleshooting.&lt;BR /&gt;&lt;BR /&gt;If you run only ifconfig lo0 before doing anything, is the interface showing up or down before you re-enable it?</description>
      <pubDate>Fri, 28 Oct 2005 07:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659279#M554421</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-10-28T07:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659280#M554422</link>
      <description>1) /etc/nsswitch.conf contain:&lt;BR /&gt;&lt;BR /&gt;    hosts: files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;2) # nslookup localhost&lt;BR /&gt;    Using /etc/hosts on:&lt;BR /&gt;&lt;BR /&gt;    looking up FILES&lt;BR /&gt;    Name:    localhost&lt;BR /&gt;    Address:  127.0.0.1&lt;BR /&gt;    Aliases:  loopback&lt;BR /&gt;&lt;BR /&gt;3) Need to check on ifconfig lo0 show what next time issue occurs.  I think it will not show the status of up or down</description>
      <pubDate>Fri, 28 Oct 2005 14:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659280#M554422</guid>
      <dc:creator>Gan Hong Chong</dc:creator>
      <dc:date>2005-10-28T14:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot ping localhost (127.0.0.1)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659281#M554423</link>
      <description>Hi,&lt;BR /&gt;Did you unknowingly used the same address somewhere else? May be for any secondary interface or so?&lt;BR /&gt;Secondly, you may have any control character or any junk character (which is not visible) present in /etc/hosts file. Recreate the host file again and see if it works.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Oct 2005 14:48:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-ping-localhost-127-0-0-1/m-p/3659281#M554423</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-10-28T14:48:02Z</dc:date>
    </item>
  </channel>
</rss>

