<?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: ndd command failing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862194#M778282</link>
    <description>is the output of &lt;BR /&gt;&lt;BR /&gt;ll /dev/tcp&lt;BR /&gt;&lt;BR /&gt;still looking something like this ?&lt;BR /&gt;&lt;BR /&gt;# ll /dev/tcp&lt;BR /&gt;crw-rw-rw-   1 root       root        72 0x000072 Aug 30 07:38 /dev/tcp&lt;BR /&gt;</description>
    <pubDate>Wed, 13 Sep 2006 11:26:32 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2006-09-13T11:26:32Z</dc:date>
    <item>
      <title>ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862191#M778279</link>
      <description>Gah!  I'm getting this error when trying to run this routine command.&lt;BR /&gt;&lt;BR /&gt;#ndd -get /dev/tcp tcp_status&lt;BR /&gt;operation failed, Invalid argument&lt;BR /&gt;&lt;BR /&gt;This command works fine on other servers.&lt;BR /&gt;&lt;BR /&gt;Help!</description>
      <pubDate>Wed, 13 Sep 2006 11:19:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862191#M778279</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2006-09-13T11:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862192#M778280</link>
      <description>find whether you are using correct ndd or not.&lt;BR /&gt;&lt;BR /&gt;# ll /usr/bin/ndd&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         114688 May 31  2005 /usr/bin/ndd&lt;BR /&gt;# which ndd&lt;BR /&gt;/usr/bin/ndd&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862192#M778280</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-09-13T11:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862193#M778281</link>
      <description>I just tried this and it worked on an 11.11 and 11.23 box, but NOT on an 11.0 box.&lt;BR /&gt;&lt;BR /&gt;On the 11.0 box, a 'ndd -get /dev/tcp ?' shows that tcp_status is available, but it apparently does not work.</description>
      <pubDate>Wed, 13 Sep 2006 11:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862193#M778281</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-09-13T11:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862194#M778282</link>
      <description>is the output of &lt;BR /&gt;&lt;BR /&gt;ll /dev/tcp&lt;BR /&gt;&lt;BR /&gt;still looking something like this ?&lt;BR /&gt;&lt;BR /&gt;# ll /dev/tcp&lt;BR /&gt;crw-rw-rw-   1 root       root        72 0x000072 Aug 30 07:38 /dev/tcp&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862194#M778282</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-09-13T11:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862195#M778283</link>
      <description>ndd -get /dev/tcp tcp_status works fine on my 11.0 machine. I have the following patch installed, but the patch description doesn't mention tcp_status.&lt;BR /&gt;&lt;BR /&gt;$ swlist -l fileset | grep -i ndd&lt;BR /&gt;# PHNE_20125                            1.0            ndd general patch</description>
      <pubDate>Wed, 13 Sep 2006 11:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862195#M778283</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-09-13T11:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862196#M778284</link>
      <description>If this is 11.0, you may need to try the latest  ARPA transport commands and libnm patch - PHNE_31965.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHNE_31965" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHNE_31965&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862196#M778284</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-09-13T11:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862197#M778285</link>
      <description>also, check this one:&lt;BR /&gt;&lt;BR /&gt;swlist -l product | grep "ARPA transport"&lt;BR /&gt;&lt;BR /&gt;what is your patch level ? PHNE_31965 is the latest and I think you need to have a pretty recent one if not the latest for ndd to function properly.</description>
      <pubDate>Wed, 13 Sep 2006 11:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862197#M778285</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-09-13T11:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862198#M778286</link>
      <description>I would adopt a very radical approach and compare my working boxes to my non-working boxes looking for differences in OS versions and patches (especially PHNE_ patches).&lt;BR /&gt;&lt;BR /&gt;Plan B. Grab the network cable, close your eyes, and use "The Force" to diagnose the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a possible cause:&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000080027900" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000080027900&lt;/A&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862198#M778286</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-13T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862199#M778287</link>
      <description>Looks like the following patch might be relevant: PHNE_31965</description>
      <pubDate>Wed, 13 Sep 2006 11:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862199#M778287</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-09-13T11:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862200#M778288</link>
      <description>Hmmm.....Well, I just check for the PHNE_31965 on the 11.0 machine that is failing for me and the patch exists. &lt;BR /&gt;&lt;BR /&gt;I tried this on 3 other 11.0 machines and it works on them.  It is possible that this is failing due to a large number of network connections on the machine.&lt;BR /&gt;&lt;BR /&gt;The 11.0 machine it fails on for me is an Oracle DB server with almost 500 connections to various DBs.&lt;BR /&gt;&lt;BR /&gt;The 11.0 machines it worked on do not have anywhere close to that number of network conenctions (2 are deve servers and 1 an internal web server).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862200#M778288</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-09-13T11:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862201#M778289</link>
      <description>This is an 11.11 box in a service guard configuration.  The servers are identical.&lt;BR /&gt;&lt;BR /&gt;This command has worked in the past and it works right now on the other node.&lt;BR /&gt;&lt;BR /&gt;The server matches all the examples above.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2006 11:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862201#M778289</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2006-09-13T11:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862202#M778290</link>
      <description>Hi Terrence,&lt;BR /&gt;&lt;BR /&gt;I seem to recall a problem similar to this when the number of TCP connections needing to be displayed is too large to fit in a memory buffer.  &lt;BR /&gt;&lt;BR /&gt;Can you verify the following:&lt;BR /&gt;&lt;BR /&gt;1) How many TCP connections are currently on both servers - the working one and the failing one?  Use the command:&lt;BR /&gt;&lt;BR /&gt;# netstat -an | grep tcp | wc -l&lt;BR /&gt;&lt;BR /&gt;to see how many TCP connections are present on each box.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) Use the following command on both systems to print the current value of the STREAMS buffer size:&lt;BR /&gt;&lt;BR /&gt;# echo 'strmsgsz/D' | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will be curious if the failing system either has a smaller STREAMS buffer size or if there are significantly more TCP connections on the failing system than the working system.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 14 Sep 2006 10:55:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862202#M778290</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2006-09-14T10:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862203#M778291</link>
      <description>Thanks for the follow up.&lt;BR /&gt;&lt;BR /&gt;Here's the results on the server where the command is failing&lt;BR /&gt;&lt;BR /&gt;#netstat -an | grep tcp | wc -l&lt;BR /&gt;440&lt;BR /&gt;impact2:/&lt;BR /&gt;#echo 'strmsgsz/D' | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;strmsgsz:&lt;BR /&gt;strmsgsz:       65535&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's the results on the server where the command works&lt;BR /&gt;&lt;BR /&gt;impact1:/&lt;BR /&gt;#netstat -an | grep tcp | wc -l&lt;BR /&gt;118&lt;BR /&gt;impact1:/&lt;BR /&gt;#echo 'strmsgsz/D' | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;strmsgsz:&lt;BR /&gt;strmsgsz:       65535</description>
      <pubDate>Thu, 14 Sep 2006 11:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862203#M778291</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2006-09-14T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862204#M778292</link>
      <description>Ok, so a significantly higher number of TCP connections on the failing system.  This is what I was expecting.  Let me see if I can find a solution for this.&lt;BR /&gt;&lt;BR /&gt;In the mean time, can you please post what ARPA Transport and STREAMS patches you have on both systems:&lt;BR /&gt;&lt;BR /&gt;# swlist -l product | grep PHNE&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 14 Sep 2006 11:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862204#M778292</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2006-09-14T11:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862205#M778293</link>
      <description>Both have the same patches.&lt;BR /&gt;&lt;BR /&gt;impact2:/&lt;BR /&gt;#swlist -l product | grep PHNE&lt;BR /&gt;  PHNE_23289            1.0            mux4.h header file patch&lt;BR /&gt;  PHNE_24384            1.0            gated (1M) patch.&lt;BR /&gt;  PHNE_24512            1.0            NTP timeservices upgrade plus utilities&lt;BR /&gt;  PHNE_24829            1.0            telnet kernel, telnetd(1M), telnet(1) pa&lt;BR /&gt;  PHNE_25083            1.0            Streams Pty cumulative patch&lt;BR /&gt;  PHNE_27765            1.0            ftpd(1M) patch&lt;BR /&gt;  PHNE_27777            1.0            r-commands cumulative mega-patch&lt;BR /&gt;  PHNE_27796            1.0            libnss_dns DNS backend patch&lt;BR /&gt;  PHNE_28328            1.0            inetd(1M) cumulative patch&lt;BR /&gt;  PHNE_28444            1.0            nettl(1M), netfmt(1M) and nettladm(1M) p&lt;BR /&gt;  PHNE_28476            1.0            Cumulative STREAMS Patch&lt;BR /&gt;  PHNE_28799            1.0            100BT unified driver cumulative patch&lt;BR /&gt;  PHNE_28923            1.0            LAN product cumulative patch&lt;BR /&gt;  PHNE_29577            1.0            Cumulative Mux and Pty Patch&lt;BR /&gt;  PHNE_29774            1.0            sendmail(1m) 8.9.3 patch&lt;BR /&gt;  PHNE_29887            1.0            cumulative ARPA Transport patch&lt;BR /&gt;  PHNE_30068            1.0            Bind 8.1.2 Patch&lt;BR /&gt;  PHNE_30378            1.0            ONC/NFS General Release/Performance Patc</description>
      <pubDate>Thu, 14 Sep 2006 11:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862205#M778293</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2006-09-14T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862206#M778294</link>
      <description>Ok, you have:&lt;BR /&gt;&lt;BR /&gt;PHNE_29887 1.0 cumulative ARPA Transport patch&lt;BR /&gt;&lt;BR /&gt;installed, which means you already have the fix for the known problem of ndd not returning all connections from tcp_status.  My guess is the only thing left to do is to increase the size of STRMSGSZ on the failing system to something larger than 64K.&lt;BR /&gt;&lt;BR /&gt;The STRMSGSZ tunable defines the maximum size of the data portion of a Streams message.  If the number of TCP connections to display is greater than what will fit in a STRMSGSZ buffer then the command will fail.  &lt;BR /&gt;&lt;BR /&gt;Unfortunately this is not a dynamic tunable parameter where you could make the change on the fly.  You will need to modify the STRMSGSZ parameter using whatever method you normally use on 11.11 (SAM, /stand/system, etc.), build a new kernel and reboot the system with the new kernel.  &lt;BR /&gt;&lt;BR /&gt;Rather than make a specific recommendation on the appropriate size of this tunable for your environment (since I don't know your environment and every environment is different), I'd suggest you read about this tunable before selecting a new value.  This parameter is described in detail on page 203 of the "Tunable Kernel Parameters, HP-UX Release 11i" manual found here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/TKP-90202/TKP-90202.pdf" target="_blank"&gt;http://docs.hp.com/en/TKP-90202/TKP-90202.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After reviewing the information on that page, select a higher value for STRMSGSZ to hold the tcp_status information for your connections.&lt;BR /&gt;&lt;BR /&gt;I hope this helps,&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 14 Sep 2006 11:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862206#M778294</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2006-09-14T11:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: ndd command failing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862207#M778295</link>
      <description>Looking at detailed description of STRMSGSZ, it looks like the default is 0 but on your systems it looks like it is being set to 64K.  Can you check the /stand/system file on your servers and see if you see:&lt;BR /&gt;&lt;BR /&gt;STRMSGSZ=65535&lt;BR /&gt;&lt;BR /&gt;If you do, this is the line that's limiting STRMSGSZ to 64K.  You might want to either remove this line or set the value to 0, as that is the recommended value.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2006 11:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ndd-command-failing/m-p/3862207#M778295</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2006-09-14T11:50:28Z</dc:date>
    </item>
  </channel>
</rss>

