1833788 Members
2513 Online
110063 Solutions
New Discussion

ndd invalid argument

 
Marc Bohnert
Advisor

ndd invalid argument


HPUX 11.0

ndd -get /dev/tcp tcp_status
returns: operation failed, Invalid argument

I checked this forum for ideas and have the latest patches.

Any ideas?

3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: ndd invalid argument

I just tried it on a couple of my 11.0 systems and it worked like a charm.

I did just find this doc. in the TKB.

Doc ID KBRC00012155: http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067423594
Uday_S_Ankolekar
Honored Contributor

Re: ndd invalid argument

If you are having very high esatablished network connection you may get this error. Check with netstat -a .
It looks like you need change this kernel paramater STRMSGSZ ( reauired a reboot)

Have a look at this doc
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067423594

Good luck,
-USA..
Good Luck..
Todd Whitcher
Esteemed Contributor

Re: ndd invalid argument

Hi Marc,

Check the ndd patch level also:

ndd Patch Name: PHNE_26125

Patch Description: s700_800 11.00 ndd(1M) cumulative patch:
symptoms:

"ndd -get /dev/tcp tcp_status" still reports the error:
"operation failed, Invalid argument"


The STRMSGSZ should also be 0 as mentioned above.

The default may have been changed, details in that itrc doc mentioned above.

From /usr/conf/master.d/streams:
* Default streams configurable parameter values
*
NSTREVENT NSTREVENT 50
STRMSGSZ STRMSGSZ 0
STRCTLSZ STRCTLSZ 1024
NSTRPUSH NSTRPUSH 16
NSTRSCHED NSTRSCHED 0
NSTRBLKSCHED NSTRBLKSCHED 2
$$$

Hope that Helps

Todd