<?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: ping problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766449#M583700</link>
    <description>The /etc/nsswitch.files (nad several others similarly named) are just examples and have no effect. You need to adopt a policy, ideally with host resolution using files first, then DNS and/or NIS. Then edit the /etc/nsswitch.conf file to define those rules. If the file does not exist, you must ctreate it, most commonly by copying on of the examples to /etc/nsswitch.conf and making the needed changes.&lt;BR /&gt;&lt;BR /&gt;The /etc/resolv.conf file will define search paths via the domain statement, and DNS servers, but it cannot do anything about /etc/hosts or NIS usage--that is the job for nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;See man switch</description>
    <pubDate>Wed, 17 Jul 2002 22:19:14 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2002-07-17T22:19:14Z</dc:date>
    <item>
      <title>ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766443#M583694</link>
      <description>smc_nh is the NIS domain name.&lt;BR /&gt;&lt;BR /&gt;[wally:/] # domainname smc_nh&lt;BR /&gt;[wally:/] # domainname&lt;BR /&gt;smc_nh&lt;BR /&gt;[wally:/] # ping wally&lt;BR /&gt;&lt;BR /&gt;nothing returns.  But when I changed the domain name to anything at all, let say anything, I was able to ping.&lt;BR /&gt;&lt;BR /&gt;[wally:/] # domainname anything&lt;BR /&gt;[wally:/] # domainname&lt;BR /&gt;anything&lt;BR /&gt;[wally:/] # ping wally&lt;BR /&gt;PING wally.xxxxxxxx.com: 64 byte packets&lt;BR /&gt;64 bytes from 172.xx.xx.xx: icmp_seq=0. time=1. ms&lt;BR /&gt;64 bytes from 172.xx.xx.xx: icmp_seq=1. time=0. ms&lt;BR /&gt;&lt;BR /&gt;What's going on here?&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 17 Jul 2002 17:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766443#M583694</guid>
      <dc:creator>Teck Sim</dc:creator>
      <dc:date>2002-07-17T17:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766444#M583695</link>
      <description>I guess the problem is the hostname lookup.&lt;BR /&gt;&lt;BR /&gt;In the second case, the NIS master is not reachable and probably it is going through either hosts or DNS whatever you specified in your nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;If you are propating hosts database through NIS, then you may want to change the order in /etc/nsswitch.conf to make "files" to appear first for the hosts entry.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Jul 2002 17:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766444#M583695</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-07-17T17:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766445#M583696</link>
      <description>In server A, B, I found /etc/nsswitch.conf, and I did:&lt;BR /&gt;#more /etc/nsswitch.conf&lt;BR /&gt;hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files[NOTFOUND&lt;BR /&gt;=return UNAVAIL=continue TRYAGAIN=return] files&lt;BR /&gt;&lt;BR /&gt;In server C and wally, I don't have /etc/nsswitch.conf, but I have /etc/nsswitch.files&lt;BR /&gt;&lt;BR /&gt;#more nsswitch.files&lt;BR /&gt;more nsswitch.files&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.files:&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# does not use any name services.&lt;BR /&gt;#&lt;BR /&gt;passwd:       files&lt;BR /&gt;group:        files&lt;BR /&gt;hosts:        files&lt;BR /&gt;services:     files&lt;BR /&gt;networks:     files&lt;BR /&gt;protocols:    files&lt;BR /&gt;rpc:          files&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files&lt;BR /&gt;automount:    files&lt;BR /&gt;aliases:      files&lt;BR /&gt;&lt;BR /&gt;How should I go from here?&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 18:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766445#M583696</guid>
      <dc:creator>Teck Sim</dc:creator>
      <dc:date>2002-07-17T18:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766446#M583697</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do a nslookup with and without setting the domain name. &lt;BR /&gt;&lt;BR /&gt;nslookup&lt;BR /&gt;&amp;gt; wally&lt;BR /&gt;&amp;gt; exit&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 19:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766446#M583697</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-07-17T19:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766447#M583698</link>
      <description>Do a nslookup wally and see how it resolves the name , incase you ahe a problem try editing the same in /etc/hosts and rename /etc/resolv.conf if the same is being to addres the server name . Once u can resolve the server name then u can do the ping , it can be possible that the server doesnt have a valid nsswitch.conf or a bad resolv.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 17 Jul 2002 19:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766447#M583698</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-07-17T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766448#M583699</link>
      <description>It's either that or it's in our arp cache the second time.&lt;BR /&gt;&lt;BR /&gt;I'd install arp patches just to be sure to be sure!&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Wed, 17 Jul 2002 19:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766448#M583699</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-07-17T19:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: ping problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766449#M583700</link>
      <description>The /etc/nsswitch.files (nad several others similarly named) are just examples and have no effect. You need to adopt a policy, ideally with host resolution using files first, then DNS and/or NIS. Then edit the /etc/nsswitch.conf file to define those rules. If the file does not exist, you must ctreate it, most commonly by copying on of the examples to /etc/nsswitch.conf and making the needed changes.&lt;BR /&gt;&lt;BR /&gt;The /etc/resolv.conf file will define search paths via the domain statement, and DNS servers, but it cannot do anything about /etc/hosts or NIS usage--that is the job for nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;See man switch</description>
      <pubDate>Wed, 17 Jul 2002 22:19:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-problem/m-p/2766449#M583700</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-07-17T22:19:14Z</dc:date>
    </item>
  </channel>
</rss>

