<?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 Ping Error codes. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710375#M587555</link>
    <description>Hi Team:&lt;BR /&gt;&lt;BR /&gt;   I tried to ping a host A which is currently down and IP address of that host can be resolved. Ping returns error code 2.&lt;BR /&gt;&lt;BR /&gt;Then I pinged to a unknown host and IP address of that host cannot be resolved. Ping returns the same error 2 code for this scenario too.&lt;BR /&gt; &lt;BR /&gt;What does this mean? &lt;BR /&gt;&lt;BR /&gt;If anyone could tell the ping error codes and respective definitions that will be very helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Brian.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Apr 2002 17:30:45 GMT</pubDate>
    <dc:creator>brian_31</dc:creator>
    <dc:date>2002-04-24T17:30:45Z</dc:date>
    <item>
      <title>Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710375#M587555</link>
      <description>Hi Team:&lt;BR /&gt;&lt;BR /&gt;   I tried to ping a host A which is currently down and IP address of that host can be resolved. Ping returns error code 2.&lt;BR /&gt;&lt;BR /&gt;Then I pinged to a unknown host and IP address of that host cannot be resolved. Ping returns the same error 2 code for this scenario too.&lt;BR /&gt; &lt;BR /&gt;What does this mean? &lt;BR /&gt;&lt;BR /&gt;If anyone could tell the ping error codes and respective definitions that will be very helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Brian.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2002 17:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710375#M587555</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-04-24T17:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710376#M587556</link>
      <description>Hi Brian:&lt;BR /&gt;&lt;BR /&gt;Directly from the 'ping' man pages:&lt;BR /&gt;&lt;BR /&gt;1 On failure such as unknown host, illegal packet size, etc.&lt;BR /&gt;&lt;BR /&gt;2 On a unreachable host or network.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 24 Apr 2002 17:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710376#M587556</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-24T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710377#M587557</link>
      <description>...and, of course, 0 = success ...&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 24 Apr 2002 17:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710377#M587557</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-24T17:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710378#M587558</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Why am i getting error code 2 when i was able to ping the first time?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 24 Apr 2002 17:39:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710378#M587558</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-04-24T17:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710379#M587559</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;I have not seen ping resulting error code 2. Can you paste your exact error?.&lt;BR /&gt;&lt;BR /&gt;May be your system is running out of some resources like swap space etc., Do a dmesg and look for the errors.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2002 17:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710379#M587559</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-24T17:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710380#M587560</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;    Also Pl. explain why we have /etc/ping and /usr/sbin/ping and i think the /etc/ping has a sticky bit set????&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 24 Apr 2002 17:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710380#M587560</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-04-24T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710381#M587561</link>
      <description>Hi (again) Brian:&lt;BR /&gt;&lt;BR /&gt;'/etc/ping' is a transition link to '/usr/sbin/ping' for backwards compatability.  The 'setuid' bit is set on /usr/sbin/ping.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 24 Apr 2002 17:47:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710381#M587561</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-24T17:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710382#M587562</link>
      <description>Hi Sridhar:&lt;BR /&gt;&lt;BR /&gt;1.I tried to ping a host A which is currently down and IP address of that host can be resolved. Ping returns error code 2. &lt;BR /&gt;&lt;BR /&gt;2.Then I pinged to a unknown host and IP address of that host cannot be resolved. Ping returns the same error 2 code for this scenario too. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2002 17:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710382#M587562</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-04-24T17:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710383#M587563</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;How are you getting the error code?. Are you trying to get it by doing a "echo $?" or it is giving out an error?.&lt;BR /&gt;&lt;BR /&gt;Are you trying as a superuser or a normal user?.&lt;BR /&gt;&lt;BR /&gt;Did you look at your dmesg output? &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Apr 2002 18:08:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710383#M587563</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-24T18:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710384#M587564</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt; Seems to me that if a host is down - that would certainly qualify as unreachable - hence code 2.&lt;BR /&gt;Just because hostname can be resolved has no impact - pings are by IP - specifically by the ICMP protocol.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 24 Apr 2002 18:19:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710384#M587564</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-24T18:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710385#M587565</link>
      <description>Hi Sridhar:&lt;BR /&gt;&lt;BR /&gt;   ping xxx.xyz.abc.com -n1;echo$?&lt;BR /&gt;&lt;BR /&gt; for both the cases.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Brian.</description>
      <pubDate>Wed, 24 Apr 2002 18:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710385#M587565</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2002-04-24T18:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ping Error codes.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710386#M587566</link>
      <description>ping exit codes have been changed on 11.0 from 10.20 and I believe yours is 10.20.&lt;BR /&gt;&lt;BR /&gt;On 10.20, following are the codes as per the man page and I can verify them on my 10.20 system.&lt;BR /&gt;&lt;BR /&gt;0 Success&lt;BR /&gt;1 On failure such as unknown host, illegal packet size, etc.          &lt;BR /&gt;2 On a unreachable host or network.                          &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Apr 2002 19:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping-error-codes/m-p/2710386#M587566</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-24T19:49:22Z</dc:date>
    </item>
  </channel>
</rss>

